Hi all,

To be really honest I don't have any XP in configging an LDAP connection whatsoever.
I have made an intranet for a company and they asked me if it would be possible that the users on their win2k3 server could login with their credentials from the server.

Then i found out about the LDAP functions in drupal.

Now i am struggeling with the config.

These are the modules that i have:

LDAP Authentication
Configure LDAP settings
LDAP Data
Configure LDAP Data
LDAP Groups
Configure LDAP Groups Settings

I have entered the data for the connection to their server but...

no luck so far....

I am hoping for any help :)

THanks in advance

Comments

malbelo’s picture

Here is how I have it working for my company.

Add a LDAP Server

Name: Blah LDAP (Anything you want to call it).
LDAP server: dc.server.com (Usually the Domain Controller)
LDAP port: 389

Base DN: CN=Users,DC=server,DC=com (Users is our main Container for storing User Accounts. If you create user accounts in other containers, then add them as a seperate enty replacing Users with the name of the Conatiner. A great tool to use to test LDAP Settings is LDAP Administrator over at http://www.ldapbrowser.com/)

UserName attribute: sAMAccountName (This is the MSAD Attribute that holds the Username in the AD)

Email attribute: mail (This is the MSAD Attribute that holds the Email Address in the AD)

*IMPORTANT*
DN for non-anonymous search: CN=Admin,CN=Users,DC=server,DC=com (Since MSAD doesn't allow for anonymous searches, you'll need to provide an user account that privlidges to the AD. In this case, we have created an Admin user under the Users container that has Domain Admin Rights. You'll also need to provide the password as well.

I then set the Auth Mode to LDAP directory only. Test with a domain account and it should work.

cgmonroe’s picture

Status: Active » Closed (fixed)