Subject: The mailing list for listmasters using Sympa
List archive
- From: Nigel Kersten <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] LDAP problems...
- Date: Wed, 2 Nov 2005 13:37:15 +1100
On 01/11/2005, at 6:42 AM, Nigel Kersten wrote:
For the list archives, this configuration is working on Mac OS X Server Open Directory 10.3.9,
Actually, I realised the previous configuration only gets users who have the relevant group set as a secondary group, and not if it is their primary gid.
This config (for the record) does both:
user_data_source include2
include_ldap_2level_query
select2 first
timeout1 90
scope2 base
name get-group-members
attrs2 mail
scope1 sub
suffix2 uid=[attrs1],cn=users,dc=my,dc=search,dc=base
suffix1 cn=groups,dc=my,dc=search,dc=base
host my.ldap.server:389
attrs1 memberUid
filter1 (&(objectClass=posixGroup)(cn=mygroupname))
timeout2 90
select1 all
filter2 (objectClass=inetOrgPerson)
include_ldap_2level_query
select2 all
scope2 sub
name get-primary-gid
attrs2 mail
scope1 sub
suffix2 cn=users,dc=my,dc=search,dc=base
suffix1 cn=groups,dc=my,dc=search,dc=base
host my.ldap.server:389
attrs1 gidNumber
filter1 (&(objectClass=posixGroup)(cn=mygroupname))
select1 first
filter2 (gidNumber=[attrs1])
I have to say, Sympa simply rocks in this regard.
I thought this was going to be a pain to work around, and it was so wonderful to realise that I could define multiple ldap_2level_query sources for the one list...
--
Nigel Kersten [Senior Technical Officer]
College of Fine Arts, University of NSW, Australia.
CRICOS Provider Code: 00098G
-
Re: [sympa-users] LDAP problems...,
Nigel Kersten, 11/02/2005
- <Possible follow-up(s)>
- Re: [sympa-users] LDAP problems..., Olivier Salaün - CRU, 11/03/2005
Archive powered by MHonArc 2.6.19+.