[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: a second stupid dynlist question: can LDAP URI be relative?



Zhang Weiwu <zhangweiwu@realss.com> writes:

> Hello.
>
> I wonder is it possible to write dynlist that automatically harvest
> email address from all its sub-entries.
>
> I know this works:
>
> dn: ou=People,dc=example,dc=com
> childrenMail: ldap:///ou=People,dc=example,dc=com?mail?sub?(objectClass=
> person)
>
> But is it possible to write URI in the way that it doesn't explicitly
> refer to the dn of the current entry?
> e.g.:
>
> dn: ou=People,dc=example,dc=com
> childrenMail: ldap:///.?mail?sub?(objectClass=person)

No this can't be done. The URI must to point to an entry, something
like 
dn: ou=people,dc=example,dc=com
childrenMail: ldap:///dc=example,dc=com?mail?sub?(objectclass=person)

-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6