LDAP integration only works for one user against active directory
| Project: | LDAP integration |
| Version: | 4.6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I've gotten Drupal to login and authenticate against my active directory, but it will only do so for one user, specifically my domain admin user. My LDAP login replacement looks like this: cn=$1,ou=Users - Roaming Documents and Desktop,ou=Users - Office,dc=mydomain,dc=com. My login pattern looks like: /(\S+)/i. I know there are other users in this OU and I'm sure I have the right passwords for them. My logins are just the username, not username@whatever.com since I specified the domain in the login replacement, but the issue was the same before I changed the login pattern.
Whenever I try to logon with anyone besides the domain admin account I get this error in the drupal logs: "Zero user found with sAMAccountName=mattr" or whatever user I try.
Drupal is running on the latest version of apache on a windows XP machine and is authenticating to our domain controller which is Windows 2000, and I have the latest version of the ldap_integration module. I've made sure that visitors can create accounts and no administrator approval is required. I'm just stumped as to why nobody besides my domain admin can authenticate to drupal. Thanks for any help.

#1
If you specify a pattern/replacement pair, you must select the "Standard LDAP system" option.
The AD option goes with the "Base DNs" textarea.
#2
Mmmm... no feedback. Should I close this bug then?
#3
I'd close it. I use this module against AD for our intranet and it works fine if you use the AD/eDir setting.
Nice module, BTW. Thanks for making it. I wasn't looking forward to writing my own, especially as I've already spent a lot of time putting LDAP and Kerberos hooks in other applications.
#4
Closed then. Thanks.