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

Resolving aliasedobjectname(s)

Faq #1111 states that given ...

dn: uid=alias,ou=People,dc=example,dc=net
 objectclass: alias
 objectclass: extensibleObject
 uid: alias
 aliasedobjectname: uid=target,ou=Retired People,dc=example,dc=com

... then

ldapsearch -x -a always -b uid=alias,ou=People,dc=example,dc=net 'objectclass=*'

will return results from the "target" DN.
   Should the same results be expected from searching with ...

ldapsearch -x -a always -b ou=People,dc=example,dc=net uid=alias

... assuming uid was indexed for equality.

Dave Lewney
IT Services, University of Sussex, Brighton BN1 9QT