[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
querying attributes filtered on the tree attributes
- To: openldap <openldap-software@OpenLDAP.org>
- Subject: querying attributes filtered on the tree attributes
- From: Prune <prune@lecentre.net>
- Date: Fri, 30 Nov 2001 15:54:26 +0100
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
Hi,
I would like to know how, if possible, get attributs depending on an
attribut in the tree.
let say I have :
dc=foo,dc=bar -> ou=domain1 -> ou=mail -> mail=foo@bar.com
-> mail=another@bar.com
and
dc=foo,dc=bar -> ou=domain2 -> ou=mail -> mail=foo@something.com
under ou=domain1, I add a special a attribut like "ml=mailing1@foo.bar"
I would like to make a query which will retrune the email address of
every entry under "ou=mail, ou=*, dc=foo,dc=bar", where ou=domain1
contains "ML=mailing1"
The purpose is to be able to deal with mailing list build on the tree,
and not the final user:
when I mail to "mailing1@foo.bar", the mail is forwarded to every user
under "ou=domain1, dc=foo, dc=bar"
I hope i'm clear enough .... :)
so how ????
Prune