Active Directory (AD), LDAP Authentication & Invalid username or password!
-
Hello everyone - I've been trying to figure this out for over a week and I'm at a loss, here is what I have so far.
i-doit v 0.9.9.8-pro on CentOS 5.8 Final, w/Apache 2.2.3, PHP 5.3.13I've configured LDAP to connect to our AD environment, I have attached the screen shots to our configs for ldap.
I've also attached our Active Directory Mappings,The user has been created, along with the login information, BUT no login password was entered. and NO group membership added.
In the config.inc.php file I have defined the default group membership for users:
define("C__LDAP__GROUP_IDS", "15")so I want users to get assigned ADMIN rights if they have no other groups defined (at least initially for testing purposes)
SO, I try to login this user, rigarcia, and I can see in the log (ldap_debug.txt) that it does indeed try to authenticate:
2012-06-04 18:26:22 ldap: 1: ad-dc4.coh.org (OU=COH,DC=coh,DC=org)
2012-06-04 18:26:22 ldap: –--------------------------------------------------------------------------------------------
2012-06-04 18:26:22 ldap: Creating new ldap-library connection to: ad-dc4.coh.org:389, user: cn=tctl,ou=service accounts,dc=coh,dc=org
2012-06-04 18:26:22 ldap: Connected to ad-dc4.coh.org
2012-06-04 18:26:22 ldap: Searching for username: rigarcia
2012-06-04 18:26:22 ldap: Getting user(s) using filter: (sAMAccountName=rigarcia) in search-path: OU=COH,DC=coh,DC=org
2012-06-04 18:26:22 ldap: Found DN: CN=Garcia, Rick,OU=Users,OU=COH,DC=coh,DC=org. Trying to login with it.
2012-06-04 18:26:22 ldap: Auth successfull (CN=Garcia, Rick,OU=Users,OU=COH,DC=coh,DC=org).If I try to use the wrong password, I do get an authentication failure:
2012-06-04 17:37:01 ldap: Found DN: CN=Garcia, Rick,OU=Users,OU=COH,DC=coh,DC=org. Trying to login with it.
2012-06-04 17:37:01 ldap: ** Auth failed. LDAP-Result: Invalid credentials
2012-06-04 17:37:01 ldap: ----------------------------------------------------------------------------------------------
2012-06-04 17:37:01 ldap: *** LDAP Auth failed. (false)So I KNOW the authentication is working.
Why is it I can not login still then with the RIGHT password? I keep getting thrown BACK to the Invalid Username or password prompt when I use the right password?
It never proceeds to ask me for the language or allows me to login? what am I missing now?
Help!
-
Almost 3 months, no one else has experienced this or has any other recommendations?
-
Hi,
Seems to be an unknown behavior. Did you try to update your version to our newest version?
Regards,
Christian