[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: dynlist expantion on search with an attribute set
On Mon, Sep 29, 2008 at 01:59:18PM +0200, Pierangelo Masarati wrote:
> Seems to work here. What version are you using? Can you post
> configuration and related entries?
I have the problem with OpenLDAP-2.4.11
Config:
overlay dynlist
dynlist-attrset ExMailAddress memberURL mailbox:revalias
Searched entry:
dn: mailAddress=foo-employee@example.net,o=ex
objectClass: exMailAddress
mailAddress: foo-employee@example.net
memberURL: ldap:///o=ex,revalias?sub?(&(objectClass=exPerson)(employer=foo))
Expantion looks up objects like this:
dn: uid=jdoe,o=ex
objectClass: exPerson
uid: jdoe
revalias: john.doe@example.net
employer: foo
And produces output like this:
dn: mailAddress=foo-employee@example.net,o=ex
objectClass: exMailAddress
mailAddress: foo-employee@example.net
mailbox: john.doe@example.net
mailbox: joe.luser@example.net
mailbox: emmanuel.dreyfus@example.net
memberURL: ldap:///o=ex,revalias?sub?(&(objectClass=exPerson)(employer=foo))
It is intersting to note that if I include revalias in the querried
attribute set, I get dynlist expantion:
$ ldapsearch mailAddress=foo-employee@example mailbox revalias
<expantion works>
$ ldapsearch mailAddress=foo-employee@example mailbox
<expantion does not work>
--
Emmanuel Dreyfus
manu@netbsd.org