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: [EMAIL PROTECTED],o=ex
  objectClass: exMailAddress
  mailAddress: [EMAIL PROTECTED]
  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: [EMAIL PROTECTED]
  employer: foo
  
And produces output like this:
  dn: [EMAIL PROTECTED],o=ex 
  objectClass: exMailAddress          
  mailAddress: [EMAIL PROTECTED]
  mailbox: [EMAIL PROTECTED]
  mailbox: [EMAIL PROTECTED]
  mailbox: [EMAIL PROTECTED]
  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 [EMAIL PROTECTED] mailbox revalias
<expantion works>
$ ldapsearch [EMAIL PROTECTED] mailbox
<expantion does not work>





-- 
Emmanuel Dreyfus
[EMAIL PROTECTED]

Reply via email to