From https://tools.ietf.org/html/rfc4512
it can be said that an object class inherits the sets of *allowed* and required attributes from its superclasses
Therefore the top object class contains all possible attributes? OR
A subclasses cannot contain any attribute which is not included in it's superclass?
I'm running Apache directory studio, and I don't see that happening.
What defines the required and all possibles attributes are the objectclass of the entry, and if the used objectclass is inherited from another one, all the required and possible parent attributes will be presents there too.
On Tue, Apr 28, 2015 at 2:21 AM, dE de.techno@gmail.com wrote:
From https://tools.ietf.org/html/rfc4512
it can be said that an object class inherits the sets of *allowed* and required attributes from its superclasses
Therefore the top object class contains all possible attributes? OR
A subclasses cannot contain any attribute which is not included in it's superclass?
I'm running Apache directory studio, and I don't see that happening.
On Tue, Apr 28, 2015, at 07:21 AM, dE wrote:
From https://tools.ietf.org/html/rfc4512
it can be said that an object class inherits the sets of *allowed* and required attributes from its superclasses
Therefore the top object class contains all possible attributes? OR
no
A subclasses cannot contain any attribute which is not included in it's superclass?
no
A subclass contains definitions for all the MAY attributes that the superclass contains as MAY attributes, and all the MUST attributest that the superclass contains as MUST attributes.
therefore, an entry including our inheriting subclass: MUST contain all the MUST attributes included in the superclass(es) MUST contain all the MUST attributes included in our subclass MAY contain all the MAY attributes included in the superclass(es) MAY contain all the MAY attributes included in our subclass
as an example:
given this objectClasses 'tree': objectClasses: ( 0.0.0.0 NAME 'myparent' MUST cn MAY uid ) objectClasses: ( 0.0.0.1 NAME 'mysub' SUP myparent MUST mail MAY mobile )
an entry containing the sub objectClass mysub MUST contain: cn (inherited from myparent), mail MAY contain: uid (inherited from myparent), mobile
hope this helps
bye, dario
On 04/28/15 11:18, Dario Zanzico wrote:
On Tue, Apr 28, 2015, at 07:21 AM, dE wrote:
From https://tools.ietf.org/html/rfc4512
it can be said that an object class inherits the sets of *allowed* and required attributes from its superclasses
Therefore the top object class contains all possible attributes? OR
no
A subclasses cannot contain any attribute which is not included in it's superclass?
no
A subclass contains definitions for all the MAY attributes that the superclass contains as MAY attributes, and all the MUST attributest that the superclass contains as MUST attributes.
therefore, an entry including our inheriting subclass: MUST contain all the MUST attributes included in the superclass(es) MUST contain all the MUST attributes included in our subclass MAY contain all the MAY attributes included in the superclass(es) MAY contain all the MAY attributes included in our subclass
as an example:
given this objectClasses 'tree': objectClasses: ( 0.0.0.0 NAME 'myparent' MUST cn MAY uid ) objectClasses: ( 0.0.0.1 NAME 'mysub' SUP myparent MUST mail MAY mobile )
an entry containing the sub objectClass mysub MUST contain: cn (inherited from myparent), mail MAY contain: uid (inherited from myparent), mobile
hope this helps
bye, dario
Ok, now I get this.
Thank you! There is no such IETF mailing list to question RFCs, so this appears to be the best place.
This is certainly not the right place. This maling list is for suestion related to OpneLDAP.
Le mardi 28 avril 2015, dE de.techno@gmail.com a écrit :
On 04/28/15 11:18, Dario Zanzico wrote:
On Tue, Apr 28, 2015, at 07:21 AM, dE wrote:
From https://tools.ietf.org/html/rfc4512
it can be said that an object class inherits the sets of *allowed* and required attributes from its superclasses
Therefore the top object class contains all possible attributes? OR
no
A subclasses cannot contain any attribute which is not included in it's
superclass?
no
A subclass contains definitions for all the MAY attributes that the superclass contains as MAY attributes, and all the MUST attributest that the superclass contains as MUST attributes.
therefore, an entry including our inheriting subclass: MUST contain all the MUST attributes included in the superclass(es) MUST contain all the MUST attributes included in our subclass MAY contain all the MAY attributes included in the superclass(es) MAY contain all the MAY attributes included in our subclass
as an example:
given this objectClasses 'tree': objectClasses: ( 0.0.0.0 NAME 'myparent' MUST cn MAY uid ) objectClasses: ( 0.0.0.1 NAME 'mysub' SUP myparent MUST mail MAY mobile )
an entry containing the sub objectClass mysub MUST contain: cn (inherited from myparent), mail MAY contain: uid (inherited from myparent), mobile
hope this helps
bye, dario
Ok, now I get this.
Thank you! There is no such IETF mailing list to question RFCs, so this appears to be the best place.
openldap-technical@openldap.org