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

Re: referrals to foreign directory tree?



"Kurt D. Zeilenga" wrote:

> At 02:22 PM 3/7/01 +0000, Konstantin Chuguev wrote:
> >1) Add new naming contexts (suffixes) to each of your servers: suffix
> >"c=US" to the first one, suffix "c=JP" to the second one;
> >2) Create new entries of the referral objectClass in each server: again,
> >in the first:
> >dn: c=US
> >objectclass: top
> >objectclass: country
> >objectclass: referral
> >c: US
> >ref: ldap://<server_for_US:port>/c=US
>
> This is an invalid entry.  An entry cannot be both a country
> and a referral.  s/country/extensibleObject/
>
> (a later version of OpenLDAP will catch these object class
> violations)

Is it really a violation? RFC2252 (4.4. Object Classes) says:
In general every entry will contain an abstract class ("top" or "alias"), at
least one structural object class, and zero or more auxiliary object
classes.

In contrary, I couldn't find anywhere why the entry can't contain more than
1 structural class.

Regards,
    Konstantin.

--
          * *        Konstantin Chuguev - Application Engineer
       *      *              Francis House, 112 Hills Road
     *                       Cambridge CB2 1PQ, United Kingdom
 D  A  N  T  E       WWW:    http://www.dante.net