0:07 AMDebug Apache mod_ldap Password Mismatch
Encountered user not being able to login on a newly configured system. All attempts to login with seemingly right credentials were failing.
The httpd error_log had records like this:
user user1: authentication failure for "/": Password Mismatch
As it turned out - all users had this problem, and the users' credentials were totally fine in the Active Directory.
Unfortunately my httpd-2.2 does not seem to have debug components for mod_ldap, it had been added in 2.4 (if to trust stackoverflow topic
So, the easiest way was to try the ldapsearch Linux command line tool. The problem popped right up showing the problem was with binding credentials. The command line looked like this:
ldapsearch -H ldap://mydc:3268 -D "CN=ldap_user,OU=LDAP Auth,dc=mydc" -s base "(ojectclass=*)"
The httpd config mapping is quite obvious:
|Total comments: 0|