Hello everyone
I have a problem with using LDAP to make user authentification. The LDAP task on a domino server (english version on Windows XP with german country settings) is queried by aan apache web server (2.2, run on gentoo linux). Because authentification doesn’t work (no matter if I use da.nsf or only names.nsf), I used ldapsearch to do some tests and saw a different value for “userpassword” (HTTPpassword).
The ldapsearch call is the same on both systems (except -h vs. -H):
ldapsearch -h ldap://server:389 -D “username” -w “mypassword” “(&(objectclass=dominoPerson)(cn=Firstname Lastname))” userpassword uid
The query finds the person and returns the same value for uid, but differs in the return for userpassword:
XP: (Gt+mTPHg2BLYdnpFDq/A)
linux: KEd0K21UUEhnMkJMWWRucEZEcS9BKQ==
The value find on XP matches the password hash stored in the HTTPPassword field. What is the problem on linux (no matter if on console or xterm)?
I have set LDAPDEBUG=1 and could see that the username and password I use in .htaccess for AUTHLDAPBindDN and AUTHLDAPBindPassword will be accepted by the ldap. The entry for the user will be found, but “LDAP Compare” afterwards returns false.
*** LocateEntry returned 1 matches
Comparing entry in database …\names.nsf
LDAP Compare return result: Compare false
I think that could be caused by the same problem (different representation of userpassword). Does anybody know what to do?
Thanks
Johannes