[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://,o=ORG";, o=ORG
>>objectclass: referral
>>ref: ldap://,o=ORG
>While this works, it's actually NOT correct.

The above referral IS correct.  I got a little ahead of

>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://,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

Named referrals (the second approach) I am now implementing
for OpenLDAP 2.0.