Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<SyntaxDescription> ::= 
    <LPAREN> <WSP>
         <numericoid>
         ( <SP> "DESC" <SP> <qdstring> )?
         <extensions> <WSP> 
    <RPAREN>

Only one is already defined: in http://www.rfc-archive.org/getrfc.php?rfc=4517

Code Block
3.3.3.  Boolean

   A value of the Boolean syntax is one of the Boolean values, true or
   false.  The LDAP-specific encoding of a value of this syntax is
   defined by the following ABNF:

      Boolean = "TRUE" / "FALSE"

   The LDAP definition for the Boolean syntax is:

      ( 1.3.6.1.4.1.1466.115.121.1.7 DESC 'Boolean' )

   This syntax corresponds to the BOOLEAN ASN.1 type from [ASN.1].

They are the new one described in the following table :

...

Code Block
<MatchingRuleDescription> ::= <LPAREN> <WSP>
         <numericoid> <MRParameters>
         <SP> "SYNTAX" <SP> <numericoid>
         <extensions> <WSP> <RPAREN>

<MRParameters> ::= 
    ( <SP> "NAME" <SP> <qdstrings> |
    <SP> "DESC" <SP> <qdstring> |
    <SP> "OBSOLETE" )+

Here are the new MatchingRules :

...

Section
Column
width50%

RFC 4512

Code Block
objectclass ( 2.5.6.0 
    NAME 'top' 
    DESC 'top of the superclass chain' 
    ABSTRACT 
    MUST objectClass 
)
Column
width50%

Using MetaSchema

top is a very special ObjectClass, as it is the only one which can't be described with the MetaSchema, because top can't depend on itself because it can't exist before being created ! top will be hard wired in the server. Here is the LDIF file which could be used if we were to include it into the server :

Code Block
dn: name=top,cn=metaSchema
objectclass: metaObjectClass
name: top
desc: top of the superclass chain
type: ABSTRACT
must: objectClass

...

Section
Column
width50%

RFC 4512

Code Block
objectclass ( 2.5.6.1 
    NAME 'alias' 
    DESC 'RFC2256: an alias' 
    SUP top 
    STRUCTURAL 
    MUST aliasedObjectName 
)
Column
width50%

Using MetaSchema

Code Block
dn: name=alias,cn=schema
objectclass: top
name: alias
desc: RFC2256: an alias
sup: top
type: STRUCTURAL
must: aliasedObjectName

...

Section
Column
width50%

RFC 4512

Code Block
objectclass ( 2.5.6.2 
    NAME 'country' 
    DESC 'RFC2256: a country' 
    SUP top 
    STRUCTURAL 
    MUST c 
    MAY ( searchGuide $ description ) 
 )
Column
width50%

Using MetaSchema

Code Block
dn: name=country,dc=core,cn=schema
objectclass: top
name: country
desc: RFC2256: a country
sup: top
type: STRUCTURAL
must: c
may: searchGuide
may: description

...

Section
Column
width50%

RFC 4512

Code Block
objectclass ( 2.5.6.3 
    NAME 'locality' 
    DESC 'RFC2256: a locality' 
    SUP top 
    STRUCTURAL 
    MAY ( street $ seeAlso $ searchGuide $ st $ l $ description ) 
)
Column
width50%

Using MetaSchema

Code Block
dn: name=locality,dc=core,cn=schema
objectclass: top
name: locality
desc: RFC2256: a locality
sup: top
type: STRUCTURAL
may: street
may: seeAlso
may: searchGuide
may: st
may: l
may: description

...

ObjectClass organization

Section
Column
width50%

RFC 4512

Code Block

objectclass ( 2.5.6.4
    NAME 'organization'
    DESC 'RFC2256: an organization'
    SUP top
    STRUCTURAL
    MUST o
    MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $ x121Address $ registeredAddress $ destinationIndicator $ preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $ postalAddress $ physicalDeliveryOfficeName $ st $ l $ description )
)
Column
width50%

Using MetaSchema

Code Block

dn: name=organization,dc=core,cn=schema
objectclass: top
name: organization
desc: RFC2256: an organization
sup: top
type: STRUCTURAL
must: o
may: userPassword
may: searchGuide
may: seeAlso
may: businessCategory
may: x121Address
may: registeredAddress
may: destinationIndicator
may: preferredDeliveryMethod
may: telexNumber
may: teletexTerminalIdentifier
may: telephoneNumber
may: internationaliSDNNumber
may: facsimileTelephoneNumber
may: street
may: postOfficeBox
may: postalCode
may: postalAddress
may: physicalDeliveryOfficeName
may: st
may: l
may: description

...

ObjectClass

Section
Column
width50%

RFC 4512

Code Block

objectclass ( 2.5.6.5
    NAME 'organizationalUnit'
    DESC 'RFC2256: an organizational unit'
    SUP top
    STRUCTURAL
    MUST ou
    MAY ( userPassword $ searchGuide $ seeAlso $ businessCategory $ x121Address $ registeredAddress $ destinationIndicator $ preferredDeliveryMethod $ telexNumber $ teletexTerminalIdentifier $ telephoneNumber $ internationaliSDNNumber $ facsimileTelephoneNumber $ street $ postOfficeBox $ postalCode $ postalAddress $ physicalDeliveryOfficeName $ st $ l $ description )
)
Column
width50%

Using MetaSchema

Code Block

dn: name=organizationalUnit,dc=core,cn=schema
objectclass: top
name: organizationalUnit
desc: RFC2256: an organizational unit
sup: top
type: STRUCTURAL
must: ou
may: userPassword 
may: searchGuide 
may: seeAlso 
may: businessCategory
may: x121Address
may: registeredAddress 
may: destinationIndicator
may: preferredDeliveryMethod
may: telexNumber
may: teletexTerminalIdentifier
may: telephoneNumber
may: internationaliSDNNumber
may: facsimileTelephoneNumber
may: street
may: postOfficeBox
may: postalCode
may: postalAddress
may: physicalDeliveryOfficeName
may: st
may: l
may: description

...

ObjectClass

Section
Column
width50%

RFC 4512

Code Block
Column
width50%

Using MetaSchema

Code Block

dn: name=,dc=core,cn=schema
objectclass: top
name:
desc:
sup: top
type:
may:

...

ObjectClass

Section
Column
width50%

RFC 4512

Code Block
Column
width50%

Using MetaSchema

Code Block

dn: name=,dc=core,cn=schema
objectclass: top
name:
desc:
sup: top
type:
may:

...

ObjectClass

Section
Column
width50%

RFC 4512

Code Block
Column
width50%

Using MetaSchema

Code Block

dn: name=,dc=core,cn=schema
objectclass: top
name:
desc:
sup: top
type:
may:

...

ObjectClass

Section
Column
width50%

RFC 4512

Code Block
Column
width50%

Using MetaSchema

Code Block

dn: name=,dc=core,cn=schema
objectclass: top
name:
desc:
sup: top
type:
may:

...

ObjectClass

Section
Column
width50%

RFC 4512

Code Block
Column
width50%

Using MetaSchema

Code Block

dn: name=,dc=core,cn=schema
objectclass: top
name:
desc:
sup: top
type:
may:

...

ObjectClass

Section
Column
width50%

RFC 4512

Code Block
Column
width50%

Using MetaSchema

Code Block

dn: name=,dc=core,cn=schema
objectclass: top
name:
desc:
sup: top
type:
may:

...

ObjectClass

Section
Column
width50%

RFC 4512

Code Block
Column
width50%

Using MetaSchema

Code Block

dn: name=,dc=core,cn=schema
objectclass: top
name:
desc:
sup: top
type:
may:

...