Loading users from LDAP active directory

rajiv.r.in - May 27, 2009 - 20:30

I've recently installed the LDAP Integration module so that people in my company can log on to the drupal site using their current user names and passwords. After a lot of trial and error, I have that working pretty well.

Now I need to create directory listing of everyone in our company. I tried doing this via Views but can't seem to figure out if this is possible, since views will only look at users in the drupal database, and not on our LDAP system. Has anyone been able to do this, or can point me in the right direction? Thanks!

Maybe this will help?

mrosprey - June 7, 2009 - 17:24

This might be the easiest route => http://drupal.org/project/ldapdirectory

If that doesn't work for you, contact me for a test script I used to do something similar.

I can't get the LDAP Authentication working to AD

tschulte - July 29, 2009 - 20:25

I can't get the LDAP Authentication working to AD

Drupal 6.13 Apache, PHP on Windows Server WAMP bundle. Drupal/Apache server is member of Windows AD Domain.

I use Active Directory, domain = acld.lib.fl.us, OU = SystemsStaff, user profile = acldldap. See my setting below. What am I Doing wrong?

LDAP port 636 (tried 389)
Start-TLS is unchecked (tried all port and checkbox combos)
stroe Passwords in encrypt is uncheched

Base DNs:
ou=SystemsStaff, dn=acld, dn=lib, dn=fl, dn=us

UserName attribute:
sAMAccountName

DN for non-anonymous search:
cn=acldldap, ou=SystemsStaff, dn=acld, dn=lib, dn=fl, dn=us

Did you get it working

CheezItMan - August 5, 2009 - 07:01

I'm also trying to get it working:

Server
dc1.organization.org

Port:
389

Use Start-TLS - unchecked
Store passwords in encrypted form - unchecked

Base DNs
OU=Organization Users,OU=org,DC=organization,DC=org

User name
sAMAccountName

Mail attribute
mail

DN for non-anonymous search:
drupal@organization.org

What's going wrong? I can login as my drupal user on AD, but no other account. If I'm wrong, where do I look in AD to find the right values for the DNs?

---
Chris McAnally
SCIS Technology Director

Also having troubles

CheezItMan - August 5, 2009 - 07:04

I'm also trying to get it working.

I'm running Drupal on a Mac.

Server
dc1.organization.org

Port:
389

Use Start-TLS - unchecked
Store passwords in encrypted form - unchecked

Base DNs
OU=Organization Users,OU=org,DC=organization,DC=org

User name
sAMAccountName

Mail attribute
mail

DN for non-anonymous search:
drupal@organization.org

What's going wrong? I can login as my drupal user on AD, but no other account. If I'm wrong, where do I look in AD to find the right values for the DNs?

---
Chris McAnally
SCIS Technology Director

 
 

Drupal is a registered trademark of Dries Buytaert.