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

How are aliases supposed to work?


I have tried this setup:

dn: dc=zuto,dc=de

dn: ou=People,dc=zuto,dc=de

dn: ou=subdom,dc=zuto,dc=de

dn: ou=People,ou=subdom,dc=zuto,dc=de
objectClass: top
objectClass: organizationalUnit
objectClass: alias
ou: People
aliasedObjectName: ou=People,dc=zuto,dc=de

This works fine:
 ldapsearch -s sub -a always -x -b "ou=People,ou=subdom,dc=zuto,dc=de" 

But this doesn't:
 ldapsearch -s sub -a always -x -b "ou=subdom,dc=zuto,dc=de" 
The alias is dereferenced but entries below ou=People,dc=zuto,dc=de are
not shown. 

I see the risk of an infinite loop when aliases are set up without care.
Is this the cause the aliases target is not searched? I mean is this
intentional behavior and my directory is misdesigned?


KeyID=759975BD fingerprint=887A 4BE3 6AB7 EE3C 4AE0  B0E1 0556 E25A 7599 75BD