Skip to Content.
Sympa Menu

en - groups of subscribers in ldap

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Barbara Schelkle <address@concealed>
  • To: address@concealed
  • Subject: groups of subscribers in ldap
  • Date: Sat, 11 Dec 1999 20:55:12 +0100

dear list,

i'm testing the ldap features of sympa. things work well if i have
a config file like this:
--------------------------------
user_data_source include

include_ldap_query
host bla.bla.de
port 389
suffix ou=People,o=bla.de
filter (sn=S*)
--------------------------------
this creates a list of all persons whose surname starts with "S"
(not a very sophisticated criteria, i know, this is just an example..)
no problem with this.

but i want something different:
i'm using the netscape directory server and have defined a group
like this (ldif format):
--------------------------------
dn: cn=team,ou=Groups, o=bla.de
objectclass: top
objectclass: groupOfUniqueNames
cn: team
description: team of some people...
uniquemember: uid=Schelkle,ou=People, o=bla.de
uniquemember: uid=Meier,ou=People, o=bla.de
uniquemember: uid=Schmidt, ou=People,o=bla.de
uniquemember: uid=Albrecht, ou=People,o=bla.de
--------------------------------
and of course for each of these "uniquemembers" exists an entry like this:
--------------------------------
dn: uid=Schelkle,ou=People, o=bla.de
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
givenname: Barbara
cn: Barbara Schelkle
sn: Schelkle
telephonenumber: +49-30-2093-3184
mail: address@concealed
facsimiletelephonenumber: +49-30-2093-3168
uid: Schelkle
...
--------------------------------

but when i config sympa like this:
--------------------------------
user_data_source include

include_ldap_query
host bla.bla.de
port 389
suffix ou=Groups,o=bla.de
filter (cn=team)
--------------------------------

then i don't have any subscribers on the list.

how can i use ldap and sympa to create flexible lists of subscribers ?
(that means, it should be possible for a user to be in several different
groups aka mailinglists)

as you may have noticed, i'm not an expert in LDAP yet. maybe it's more
a ldap than a sympa problem...

any help is appreciated !

thanks in advance, Barbara

--
------------------------------------------------------------------
Barbara Schelkle address@concealed
Department of Computer Science Humboldt University of Berlin
mail: Unter den Linden 6, D-10099 Berlin, Germany
office: Rudower Chaussee 25, D-12489 Berlin, building 3, room 405
phone: +49-30-2093-3184 fax: +49-30-2093-3168



Archive powered by MHonArc 2.6.19+.

Top of Page