Jump to content

Topic on Talk:LDAP hub

193.158.60.202 (talkcontribs)

I´m implementing an connect to a German windows ad. ShowUserInfo and ShowUserGroups are working. When I try CheckLogin, it is asking for the password. After typing in the correct user-password (shown on terminal) the check is FAILED. It should just check if the user is member of domain-users and of course if password OK?

LDAP.log

2019-10-21 14:52:17 wikisrv.company.local naviwiki: ldap_connect( $hostname = 'ldap://dc1.company.local:389', $port = 389 );
2019-10-21 14:52:17 wikisrv.company.local naviwiki: # __METHOD__ returns Resource id #192
2019-10-21 14:52:17 wikisrv.company.local naviwiki: ldap_set_option( $linkID, $option = 17, $newval = 3 );
2019-10-21 14:52:17 wikisrv.company.local naviwiki: # returns 1
2019-10-21 14:52:17 wikisrv.company.local naviwiki: ldap_set_option( $linkID, $option = 8, $newval = 0 );
2019-10-21 14:52:17 wikisrv.company.local naviwiki: # returns 1
2019-10-21 14:52:17 wikisrv.company.local naviwiki: ldap_set_option( $linkID, $option = 2, $newval = 1 );
2019-10-21 14:52:17 wikisrv.company.local naviwiki: # returns 1
2019-10-21 14:52:17 wikisrv.company.local naviwiki: ldap_bind( $linkID, $bindRDN = 'cn=Administrator,cn=Users,dc=company,dc=local', $bindPassword = 'XXXX' );
2019-10-21 14:52:17 wikisrv.company.local naviwiki: # returns 1
2019-10-21 14:52:17 wikisrv.company.local naviwiki: ldap_bind( $linkID, $bindRDN = 'uid=Mueller,cn=Domänen-Benutzer,cn=Users,dc=company,dc=local', $bindPassword = 'XXXX' );
2019-10-21 14:52:17 wikisrv.company.local naviwiki: # returns

Thanks for helping

Osnard (talkcontribs)

So this just says that the server could not bind with the user 'uid=Mueller,cn=Domänen-Benutzer,cn=Users,dc=company,dc=local' and the given password. Can you confirm that the User-DN was assembles correctly from the given username? Maybe the UserBaseDN is not set correctly. Is the password definitively correct?

I don't think that the Umlaut in "Domänen-Benutzer" is an issue.

Reply to "Connect to german ad"