[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: All entries belong to the top object class?
Am Sun, 26 Apr 2015 21:05:44 +0530
schrieb dE <de.techno@gmail.com>:
> On 04/26/15 17:13, Michael Ströder wrote:
> > dE wrote:
> >> Super this is the superclass chain --
> >>
> >> A->B
> >>
> >> A is defined by MUST ObjectClass MAY ( cn abc xyz cxy )
> >> B is defined by MUST ObjectClass MAY ( cn cxy )
> >>
> >> Then an entry belonging to B (explicit) and A (implicit,
> >> automatically added)
> >> cannot have attributes abc and xyz.
> >
> > No!
> >
> > B would have MAY ( cn abc xyz cxy ).
> >
> > Example for A:
> >
> > objectclass ( <some-oid-for-A>
> > NAME 'A'
> > MAY ( cn $ abc $ xyz $ cxy ) )
> >
> > These three variants have the same MAY attribute set ( cn $ abc $
> > xyz $ cxy ):
> >
> > objectclass ( <some-oid-for-B>
> > NAME 'B'
> > SUP A
> > MAY ( cn $ cxy ) )
> >
> > objectclass ( <some-oid-for-B>
> > NAME 'B'
> > SUP A
> > MAY ( cn $ abc $ xyz $ cxy ) )
> >
> > objectclass ( <some-oid-for-B>
> > NAME 'B'
> > SUP A )
> >
> > Ciao, Michael.
> >
> >
>
> Ok.
>
> So the significance of subordinate classes is to add a MUST
> attributes only. The possible attributes that any object can have is
> defined in the TOP object class; regardless of what object class the
> entry belongs to, any attribute listed in the TOP object class can be
> added to it.
NO! The abstract objectClass 'top' only provides the attribute
'objectClass'. From schema_prep.c
( 2.5.6.0 NAME 'top' "
"DESC 'top of the superclass chain' "
"ABSTRACT MUST objectClass )",
-Dieter
--
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"Ea