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ázev | OID | popis |
|---|---|---|
| binary | 1.3.6.1.4.1.1466.115.121.1.5 | BER/DER data |
| boolean | 1.3.6.1.4.1.1466.115.121.1.7 | boolean value |
| distinguishedName | 1.3.6.1.4.1.1466.115.121.1.12 | DN |
| directoryString | 1.3.6.1.4.1.1466.115.121.1.15 | UTF-8 string |
| IA5String | 1.3.6.1.4.1.1466.115.121.1.26 | ASCII string |
| Integer | 1.3.6.1.4.1.1466.115.121.1.27 | integer |
| Name and Optional UID | 1.3.6.1.4.1.1466.115.121.1.34 | DN plus UID |
| Numeric String | 1.3.6.1.4.1.1466.115.121.1.36 | numeric string |
| OID | 1.3.6.1.4.1.1466.115.121.1.38 | object identifier |
| Octet String | 1.3.6.1.4.1.1466.115.121.1.40 | arbitrary octets |
| Printable String | 1.3.6.1.4.1.1466.115.121.1.44 | printable string |
Tabulka 39.5. Podporovaná srovnávací pravidla
| název | typ | popis |
|---|---|---|
| booleanMatch | equality | boolean |
| objectIdentifierMatch | equality | OID |
| distinguishedNameMatch | equality | DN |
| uniqueMemberMatch | equality | DN with optional UID |
| numericStringMatch | equality | numerical |
| numericStringOrderingMatch | ordering | numerical |
| numericStringSubstringsMatch | substrings | numerical |
| caseIgnoreMatch | equality | case insensitive, space insensitive |
| caseIgnoreOrderingMatch | ordering | case insensitive, space insensitive |
| caseIgnoreSubstringsMatch | substrings | case insensitive, space insensitive |
| caseExactMatch | equality | case sensitive, space insensitive |
| caseExactOrderingMatch | ordering | case sensitive, space insensitive |
| caseExactSubstringsMatch | substrings | case sensitive, space insensitive |
| caseIgnoreIA5Match | equality | case insensitive, space insensitive |
| caseIgnoreIA5OrderingMatch | ordering | case insensitive, space insensitive |
| caseIgnoreIA5SubstringsMatch | substrings | case insensitive, space insensitive |
| caseExactIA5Match | equality | case sensitive, space insensitive |
| caseExactIA5OrderingMatch | ordering | case sensitive, space insensitive |
| caseExactIA5SubstringsMatch | substrings | case 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 )