Hi all.
I have 2 days searching for how to configure my htaccess to log in with a active directory server...
I have centos, I have tried many ways but always get the error:
Code:
[client A.A.A.A] [28503] auth_ldap authenticate: user XXXX authentication failed; URI / [LDAP: ldap_simple_bind_s() failed][Invalid credentials]
[Thu Dec 03 15:47:58 2009] [error] [client A.A.A.A] user XXXX: authentication failure for "/": Password Mismatch
My htaccess is:
Code:
AuthName "NAME"
AuthType Basic
AuthBasicProvider ldap
AuthLDAPBindDN "cn=my user name or name,cn=Users, dc=dominio,dc=com"
AuthLDAPBindPassword a123456
AuthLDAPURL "ldap://A.B.C.D:389/ou= Name, ou=Users, dc=dominio,dc=com"
require valid-user
I installed mod_auth_ldap for apache, but I dont know what is wrong with my configuration, I have tried other optiones but it is the same error.
How can I test with ldapsearch? , I think i dont need openladp server, need I?
I want authenticate the users by login name,, username, what should I to put? :s
thanks