Populating OA Group from Active Directory

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Anonymous's picture

I'm trying to populate an OA Group from Active Directory, but haven't been able get it to work yet - I'd like the members of the OA group to feed through directly from a group in AD. I can create a new group in OA, but no matter what I put in the LDAP members field (e.g. the name of one of our AD groups, an individual AD username or full LDAP paths) I get a message saying 'LDAP entry does not exist'.

The site is successfully authenticating against AD and we have installed and enabled the Open Atrium LDAP module.

Any thoughts on what I'm doing wrong?

Comments

Edit Content Type Fields

crm20071770's picture

You have to add configuration information so the module knows what entries to pull. Go to Structure -> Content Types -> Space/Group/Team/whatever you want to add LDAP users to -> Manage Fields and edit the LDAP Admins field. Select the module that handles LDAP lookups, then fill in the Base DN. You have to take out the extra search filter for it to work with AD. Fill out everything else to fit your AD setup. If you want to add more than one LDAP entry, make sure you change the number of allowed values at the bottom. I put unlimited so I could click the add button as I need to add users. Rinse and repeat for the LDAP Members field.

Also, if you manage to get it to work, let me know. I'm having an issue where I add my ldap users/groups but they still don't get access to the space. The other issue I'm having (which may or may not relate to yours) is when an LDAP user logs in to my site, they get removed from any groups or spaces that I added their Drupal mapping to.

Sorry about the delay...

Anonymous's picture

Thanks for this - I finally had a chance to look at this the other day and managed to get it working following your instructions and then following the instructions at:
https://www.codeenigma.com/community/blog/connecting-your-drupal-site-mi...

See the section on 'LDAP to OG group Configuration'

Hope that helps