I am having difficulty getting my LDAP configuration working, I have set the authentication type to ldap, and then set the following.

 

#LDAP Config Section.

$config['auth_ldap_version'] = 3; # v2 or v3

$config['auth_ldap_server'] = "dc1.test.com";

$config['auth_ldap_port']   = 389;

$config['auth_ldap_starttls'] = false;

$config['auth_ldap_prefix'] = "uid=";

$config['auth_ldap_suffix'] = ",dc=test,dc=com";

$config['auth_ldap_group']  = "";

$config['auth_ldap_groupbase'] = "cn=users,dc=test,dc=com";

$config['auth_ldap_groups']['domain admins']['level'] = 10;

$config['auth_ldap_groups']['pfy']['level'] = 7;

$config['auth_ldap_groups']['domain users']['level'] = 1;

 

I keep getting a an authentication failed, indicating a user/password mismatch. I am not sure how to make the configuration any more basic than this. The LDAP directory is Active Directory in Windows 2008 R2 Native mode.

 

Thank you,

 

Tim