ok i just set parameters in “Search” tab as follow:
The rest tabs are the same as the last config.
Also i tried using ldapsearch in ubuntu and the only way to make it working was this (i’m trying to authenticate aganist a Samba4 AD):
root@datagerry:~# ldapsearch -LLL -p389 -h 10.20.100.9 cn=administrator -D cn=Administrator,cn=users,DC=selikab,DC=lan -w *********
dn: CN=Administrator,CN=Users,DC=selikab,DC=lan
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: Administrator
description: Built-in account for administering the computer/domain
instanceType: 4
whenCreated: 20180914100034.0Z
uSNCreated: 3545
name: Administrator
objectGUID:: XVJTj28mPkCeKv0uNAP71g==
badPwdCount: 0
codePage: 0
countryCode: 0
badPasswordTime: 0
lastLogoff: 0
pwdLastSet: 131813928340000000
primaryGroupID: 513
objectSid:: AQUAAAAAAAUVAAAAcxI0TvvGHGPv6+aL9AEAAA==
adminCount: 1
logonCount: 0
sAMAccountName: Administrator
sAMAccountType: 805306368
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=selikab,DC=lan
isCriticalSystemObject: TRUE
memberOf: CN=Administrators,CN=Builtin,DC=selikab,DC=lan
memberOf: CN=Group Policy Creator Owners,CN=Users,DC=selikab,DC=lan
memberOf: CN=Enterprise Admins,CN=Users,DC=selikab,DC=lan
memberOf: CN=Schema Admins,CN=Users,DC=selikab,DC=lan
memberOf: CN=Domain Admins,CN=Users,DC=selikab,DC=lan
mail: it.*******************
postalCode: ******
streetAddress: *******************
o: ***********
l: ******
st: ********
co: *********
userAccountControl: 66048
accountExpires: 0
lastLogonTimestamp: 132583485112661150
whenChanged: 20210221023511.0Z
uSNChanged: 258560
lastLogon: 132584772145780750
distinguishedName: CN=Administrator,CN=Users,DC=selikab,DC=lan
# refldap://selikab.lan/CN=Configuration,DC=selikab,DC=lan
# refldap://selikab.lan/DC=DomainDnsZones,DC=selikab,DC=lan
# refldap://selikab.lan/DC=ForestDnsZones,DC=selikab,DC=lan
But still no luck with Datagerry login…
Thanks again for your fast support!
EDIT:
the connection string to log in as administrator and query the whole ldap is the following:
root@datagerry:~# ldapsearch -p389 -h 10.20.100.9 -D cn=Administrator,cn=users,DC=selikab,DC=lan -w *********
it works and as result it prints every object in the LDAP.