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