39.7.4. Specifikace Typu Atributů

Například typy atributů name a cn jsou v souboru core.schema definovány takto:

attributeType (2.5.4.41 NAME 'name'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{332768} )
attributeType ( 2.5.4.3 NAME
        ( 'cn' $ 'commonName' ) SUP name )

Tabulka 39.4. Podporované syntaxe

názevOIDpopis
binary1.3.6.1.4.1.1466.115.121.1.5BER/DER data
boolean1.3.6.1.4.1.1466.115.121.1.7boolean value
distinguishedName1.3.6.1.4.1.1466.115.121.1.12DN
directoryString1.3.6.1.4.1.1466.115.121.1.15UTF-8 string
IA5String1.3.6.1.4.1.1466.115.121.1.26ASCII string
Integer1.3.6.1.4.1.1466.115.121.1.27integer
Name and Optional UID1.3.6.1.4.1.1466.115.121.1.34DN plus UID
Numeric String1.3.6.1.4.1.1466.115.121.1.36numeric string
OID1.3.6.1.4.1.1466.115.121.1.38object identifier
Octet String1.3.6.1.4.1.1466.115.121.1.40arbitrary octets
Printable String1.3.6.1.4.1.1466.115.121.1.44printable string

Tabulka 39.5. Podporovaná srovnávací pravidla

názevtyppopis
booleanMatchequalityboolean
objectIdentifierMatchequalityOID
distinguishedNameMatchequalityDN
uniqueMemberMatchequalityDN with optional UID
numericStringMatchequalitynumerical
numericStringOrderingMatchorderingnumerical
numericStringSubstringsMatchsubstringsnumerical
caseIgnoreMatchequalitycase insensitive, space insensitive
caseIgnoreOrderingMatchorderingcase insensitive, space insensitive
caseIgnoreSubstringsMatchsubstringscase insensitive, space insensitive
caseExactMatchequalitycase sensitive, space insensitive
caseExactOrderingMatchorderingcase sensitive, space insensitive
caseExactSubstringsMatchsubstringscase sensitive, space insensitive
caseIgnoreIA5Matchequalitycase insensitive, space insensitive
caseIgnoreIA5OrderingMatchorderingcase insensitive, space insensitive
caseIgnoreIA5SubstringsMatchsubstringscase insensitive, space insensitive
caseExactIA5Matchequalitycase sensitive, space insensitive
caseExactIA5OrderingMatchorderingcase sensitive, space insensitive
caseExactIA5SubstringsMatchsubstringscase sensitive, space insensitive

Řada příkladů

attributeType ( 1.3.6.1.4.1.4203.666.1.5
        NAME 'OpenLDAPaci'
        EQUALITY OpenLDAPaciMatch
        SYNTAX 1.3.6.1.4.1.4203.666.2.1
        USAGE directoryOperation
# Pseudo-attribute type used internally by OpenLDAP 2.0
attributeType ( 1.3.6.1.4.1.4203.1.3.1
        NAME 'entry'
        DESC 'OpenLDAP ACL entry pseudo-attribute'
        SYNTAX 1.3.6.1.4.1.4203.1.1.1
        SINGLE-VALUE NO-USER-MODIFICATION USAGE dSAOperation )
# Pseudo-attribute type used internally by OpenLDAP 2.0
attributeType ( 1.3.6.1.4.1.4203.1.3.2
        NAME 'children'
        DESC 'OpenLDAP ACL children pseudo-attribute'
        SYNTAX 1.3.6.1.4.1.4203.1.1.1
        SINGLE-VALUE NO-USER-MODIFICATION USAGE dSAOperation )
# Delegated for use in RFC3112
attributeType ( 1.3.6.1.4.1.4203.1.3.3
        NAME 'supportedAuthPasswordSchemes'
        DESC 'supported password storage schemes'
        EQUALITY caseExactIA5Match
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{32}
        USAGE dSAOperation )
# Delegated for use in RFC3112
attributeType ( 1.3.6.1.4.1.4203.1.3.4
        NAME 'authPassword'
        DESC 'password authentication iformation'
        EQUALITY 1.3.6.1.4.1.4203.1.2.2
        SYNTAX 1.3.6.1.4.1.4203.1.1.2 )
attributeType ( 1.1.2.1.1
        NAME 'myUniqueName'
        DESC 'unique name with my organization'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
        SINGLE-VALUE )
attributeType ( 1.1.2.1.1
        NAME 'myUniqueName'
        DESC 'unique name with my organization'
        SUP name )