[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Referral & alias
I wrote:
>At 10:27 AM 6/24/99 -0700, Kurt D. Zeilenga wrote:
>>Needs to be:
>>
>>dn: ref="ldap://192.168.234.10/o=SUBORG,o=ORG", o=ORG
>>objectclass: referral
>>ref: ldap://192.168.234.10/o=SUBORG,o=ORG
>>
>While this works, it's actually NOT correct.
The above referral IS correct. I got a little ahead of
myself.
>Instead, you should add to the "o=ORG" backend, an entry
Don't do this (yet).
>
> dn: o=SUBORG, o=ORG
> objectclass: referral
> ref: ldap://192.168.234.10/o=SUBORG,o=ORG
>
This happens to work in some cases because of a poor test
for the referral attribute in subtree searches (which is
what fooled me). The first approach is the supported
mechanism.
Named referrals (the second approach) I am now implementing
for OpenLDAP 2.0.
Kurt