I am trying to setup the LDAP Authentication Module on Drupal 4.6. Drupal continues to look at that user table not LDAP to authenticate users - even when I tell it not to. When I login as someone that is only in LDAP, I get an error:
LDAP Bind failure for user uid=ldaponly,ou=SiteUsers,dc=mydomain
(One thing I note is that the dn for the user is actually uid=ldaponly,ou=SiteUsers,dc=mydomain,dc=com
Thanks in advance for your help.
Here are my settings.
LDAP Server Settings:
Organization name: CompanyName
LDAP server: localhost
LDAP port: 389
Store passwords in encrypted from: yes
(I am using OpenLDAP and I know that it is running on this port)
Login Procedure:
LDAP directory only: checked
Standard LDAP system
LDAP login pattern: /(\S+)/i
LDAP login replacement: uid=$1,ou=SiteUsers,dc=mydomain,dc=com
(There is a user with a dn: uid=ldaponly,ou=SiteUsers,dc=mydomain,dc=com)
Groups and roles:
Groups exist as LDAP entries
cn=admin,ou=Roles,dc=mydomain,dc=com
cn=contributor,ou=Roles,dc=mydomain,dc=com
cn=staff,ou=Roles,dc=mydomain,dc=com
cn=clients,ou=Roles,dc=mydomain,dc=com
cn=prospects,ou=Roles,dc=mydomain,dc=com
(I am using groupOfUniqueNames objects for my roles)
Attribute holding group members:
uniqueMember
Group members are stored as full DNs: checked
LDAP Attributes:
Changes in account fields will be mapped to LDAP attributes and back: checked