ok. i find the correct parameters
A couple of cafes have facilitated the process
wordpress miniOrange LDAP/Active Directory Login for Intranet Sites
LDAP SERVER: ldap://192.168.1.2:389
Service Account DN: CN=admin,CN=Users,DC=xxxxx,DC=it
Search base: CN=Users,DC=xxxxx,DC=it
erpnext
LDAP Server Url: ldap://192.168.1.2:389
Organizational Unit: CN=Users,DC=xxxxx,DC=it
Base Distinguished Name (DN): CN=admin,CN=Users,DC=xxxxx,DC=it
Password for Base DN: •••••••••
LDAP Search String: cn=*{0}
LDAP First Name Field: displayName
LDAP Email Field: userPrincipalName
LDAP Username Field: name