I have Drupal successfully using our Open Directory LDAP on Mac OS X Server for authentication. My next goal is to be able to use groups created on the server to limit user's ability to log in to a particular site.

The scenario is this:

Single Drupal installation with multiple sites. Single LDAP server with all of our users (we're a K-8 school district, so the users include students). I'd like to be able to restrict access to each school site based on membership in a group defined in the LDAP database.

I have played around with the LDAP login pattern/replacement and the search DN and filter settings on the ldap_integration settings page, but my basic knowledge of LDAP has meant that I haven't hit on anything that works.

Any suggestions?

Thanks for any light you can shed.

----------------------------------------------------------------------------
Tom Donovan Hawthorn School District 73
Mgr. of Tech. Systems, Webmaster Vernon Hills, IL
----------------------------------------------------------------------------

Comments

mkg’s picture

Hi,

I was wondering if you had any luck with the ldap groups in mac os x and drupal.

I am also trying to setup this scenario, I am having trouble getting it to authenticate but.

any tips ? I am using a fairly standard install of mac os x server and using open directory logins on the mac network, so ldap is working, but am a bit lost on the particular strings to enter in the ldap_authentication module in drupal to get it to talk.

like what "LDAP login pattern" , "LDAP login replacement" strings do you use ?

any help would be most appreciated.

thanks

Michael