Hey folks,
I have looked over the documentation for ldap_integration about 30 times, and I can't seem to figure out what I need to set in the ldap_integration module settings and conf.php to get this thing working.
I have a Windows 2003 domain controller / Exchange Server at 192.168.25.8. I've installed Drupal 4.6.3 on another Windows 2003 server running IIS 6, PHP 5.0.4, and MySQL 4.1.14. I'm trying to get the ldap_integration module working so I don't have to retype 163 Windows users into the Drupal user list.
It's unclear what I have to set in the conf.php file - I have the following in the top of that file:
// Edit this constant so that it indicates the LDAP attribute containing the login password
define(LDAP_PASSWORD_ATTRIBUTE, 'userpassword');
// Edit this constant so that it indicates the LDAP attribute containing the user's mail address
define(LDAP_EMAIL_ATTRIBUTE, 'mail');
// Admin must define a user able to write users' attributes (to generate new passwords when they are lost)
define(LDAP_WRITER_USER_DN, 'cn=admin,dc=mydomain,dc=com');
define(LDAP_WRITER_USER_PASS, 'admin_password');
// Admin must define a user able to read users' attributes (to read e-mail addresses when passwords are lost)
define(LDAP_READER_USER_DN, 'cn=admin,dc=mydomain,dc=com');
define(LDAP_READER_USER_PASS, 'admin_password');
What am I supposed to customize in this file? I'm also getting errors in the LDAPInterface.php file when I try to login as a user: