Well I thought I had it all working fine until I realized that all new users were getting populated in the Drupal DB but then subsequently treated as Drupal users (no LDAP authentication, LDAP User DN was empty and unchecked).

Authentication is set to LDAP only... whats going wrong?

Comments

kitt’s picture

Another detail: this happens when users initially login via the reset link, their LDAP User DN will be empty. Subsequent logins won't modify the user, because the authentication uses the (now empty) LDAP User DN (or fails if your authentication is LDAP only). The reset link works differently than the normal login process, which is causing the problem.

utna’s picture

Version: 5.x-1.3 » 6.x-1.0-alpha2
Component: Code » User interface

I am having a similar issue. When checking my login info in the ldif information, there is information missing in the Base DN. However, it looks as though the "Base DNs" box under login procedure is not retaining any information. Every time I change it, the box remains empty. That page is found in my installation at: http://hostname/?q=admin/settings/ldapauth/edit/2

Any ideas? I'll probably jump into phpmyadmin and see if I can populate that from the database side and see if that fixes the issue.

Edit:
After I added the "Base DN" detail through phpmyadmin into the ldapauth table I was able to properly authenticate & provision. I have the FCKEditor installed, and noticed that previously I had inputted a different LDAP test host (which had the base DN fine) and the second LDAP test Host was made after I had installed FCKEditor plugin module. So perhaps the issue lies with it being a second entry, or more likely in my opinion that FCKeditor is conflicting with the LDAP auth plugin "Base DN" box somehow.

miglius’s picture

Status: Active » Postponed (maintainer needs more info)

Please don't use nor FCKEditor, nor tinyMCE for the Base DN textarea. Those rich editors tend to put some marking trash around configuration settings and brake it.

johnbarclay’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)