# OpenLDAP Core schema
#
# Includes LDAPv3 schema items from:
-# RFC 2251-RFC2256 (LDAPv3)
+# RFC 2252/2256 (LDAPv3)
#
-# select standard track schema items:
-# RFC 2587 (PKI)
-# RFC 2079 (URI)
+# Select standard track schema items:
# RFC 1274 (uid/dc)
+# RFC 2079 (URI)
# RFC 2247 (dc/dcObject)
-# RFC 2289 (Dynamic Directory Services)
+# RFC 2587 (PKI)
+# RFC 2589 (Dynamic Directory Services)
#
-# select informational schema items:
+# Select informational schema items:
# RFC 2377 (uidObject)
-#
-# select IETF ''work in progress'' LDAPext/LDUP items
-# ldapSubentry
-# ldapRootDSE
-# named referrals
-# alias draft
-
-#
-# Standard X.501(93) Operational Attribute Types from RFC 2252
-#
-
-attributetype ( 2.5.21.1 NAME 'dITStructureRules'
- DESC 'RFC2252: DIT structure rules'
- EQUALITY integerFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.17 USAGE directoryOperation )
-
-attributetype ( 2.5.21.2 NAME 'dITContentRules'
- DESC 'RFC2252: DIT content rules'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.16 USAGE directoryOperation )
-
-attributetype ( 2.5.21.7 NAME 'nameForms'
- DESC 'RFC2252: name forms '
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.35 USAGE directoryOperation )
-
-attributetype ( 2.5.21.8 NAME 'matchingRuleUse'
- DESC 'RFC2252: matching rule uses'
- EQUALITY objectIdentifierFirstComponentMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.31 USAGE directoryOperation )
-
-#
-# LDAP Operational Attributes from RFC 2252
-#
-
-attributetype ( 1.3.6.1.4.1.1466.101.120.6 NAME 'altServer'
- DESC 'RFC2252: alternative servers'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 USAGE dSAOperation )
-
-#
-# Standard attribute types used for subtyping from RFC 2256
-#
-
-attributetype ( 2.5.4.49 NAME 'distinguishedName'
- DESC 'RFC2256: common supertype of distingushed name attributes'
- EQUALITY distinguishedNameMatch
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
#
# Standard attribute types from RFC 2256
# Standard object classes from RFC2256
-objectclass ( 2.5.6.0 NAME 'top'
- DESC 'RFC2256: most superior class in superclass chain of all objects'
- ABSTRACT MUST objectClass )
-
-objectclass ( 2.5.6.1 NAME 'alias'
- DESC 'RFC2256: an alias'
- SUP top STRUCTURAL
- MUST aliasedObjectName )
+# system schema
+#objectclass ( 2.5.6.1 NAME 'alias'
+# DESC 'RFC2256: an alias'
+# SUP top STRUCTURAL
+# MUST aliasedObjectName )
objectclass ( 2.5.6.2 NAME 'country'
DESC 'RFC2256: a country'
street $ postOfficeBox $ postalCode $ postalAddress $
physicalDeliveryOfficeName $ st $ l $ description ) )
-#
-# Object Classes from RFC 2252
-#
-
-objectclass ( 1.3.6.1.4.1.1466.101.120.111 NAME 'extensibleObject'
- DESC 'RFC2252: extensible object'
- SUP top AUXILIARY )
-
-objectclass ( 2.5.20.1 NAME 'subschema'
- DESC 'RFC2252: controlling subschema (sub)entry'
- AUXILIARY
- MAY ( dITStructureRules $ nameForms $ ditContentRules $
- objectClasses $ attributeTypes $ matchingRules $
- matchingRuleUse ) )
-
#
# Object Classes from RFC 2587
#
-
objectclass ( 2.5.6.21 NAME 'pkiUser'
DESC 'RFC2587: a PKI user'
SUP top AUXILIARY
- MUST userCertificate )
+ MAY userCertificate )
objectclass ( 2.5.6.22 NAME 'pkiCA'
DESC 'RFC2587: PKI certificate authority'
SUP top AUXILIARY
MAY deltaRevocationList )
-
#
# Standard Track URI label schema from RFC 2079
#
-
attributetype ( 1.3.6.1.4.1.250.1.57 NAME 'labeledURI'
DESC 'RFC2079: Uniform Resource Identifier with optional label'
EQUALITY caseExactMatch
MAY ( labeledURI )
SUP top AUXILIARY )
-#
-# Standard Track Dynamic Directory Services from RFC 2589
-#
-
-objectclass ( 1.3.6.1.4.1.1466.101.119.2 NAME 'dynamicObject'
- DESC 'RFC2589: Dynamic Object'
- SUP top AUXILIARY )
-
-attributetype ( 1.3.6.1.4.1.1466.101.119.3 NAME 'entryTtl'
- DESC 'RFC2589: entry time-to-live'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE
- NO-USER-MODIFICATION USAGE dSAOperation )
-
-attributetype ( 1.3.6.1.4.1.1466.101.119.4 NAME 'dynamicSubtrees'
- DESC 'RFC2589: dynamic subtrees'
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 NO-USER-MODIFICATION
- USAGE dSAOperation )
-
#
# Derived from RFC 1274, but with new "short names"
#
DESC 'RFC2247: domain component object'
SUP top AUXILIARY MUST dc )
-
# RFC 2377
objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject'
DESC 'RFC2377: uid object'
SUP top AUXILIARY MUST uid )
-#
-# From draft-zeilenga-ldap-namedref-00.txt
-# used to represent referrals in the directory
-#
-#attributetype ( 2.16.840.1.113730.3.1.34 NAME 'ref'
-# DESC 'namedref: subordinate referral URL'
-# EQUALITY caseExactMatch
-# SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
-# USAGE distributedOperation )
-
-objectclass ( 2.16.840.1.113730.3.2.6 NAME 'referral'
- DESC 'namedref: named subordinate referral'
- SUP top STRUCTURAL MUST ref )
-
-#
-# LDAP/X.500 subentry schema
-# draft-zeilenga-ldap-subentry-xx.txt
-#
-attributetype ( 2.5.18.5 NAME 'administrativeRole'
- EQUALITY objectIdentifierMatch
- USAGE directoryOperation
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.38 )
-
-attributetype ( 2.5.18.6 NAME 'subtreeSpecification'
- SINGLE-VALUE
- USAGE directoryOperation
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.45 )
-
-objectclass ( 2.5.20.0 NAME 'subentry'
- SUP top STRUCTURAL
- MUST ( cn $ subtreeSpecification ) )
-
-
-#
-# LDAPsubEntry
-# deprecated!
-objectclass ( 2.16.840.1.113719.2.142.6.1.1
- NAME 'LDAPsubEntry'
- DESC 'LDAP Subentry'
- SUP top STRUCTURAL MAY cn )
-
-#
-# OpenLDAProotDSE
-# likely to change!
-objectclass ( 1.3.6.1.4.1.4203.1.4.1
- NAME ( 'OpenLDAProotDSE' 'LDAProotDSE' )
- DESC 'OpenLDAP Root DSE object'
- SUP top STRUCTURAL MAY cn )
-
-#
# From COSINE Pilot
-#
attributetype ( 0.9.2342.19200300.100.1.37
NAME 'associatedDomain'
DESC 'RFC1274: domain associated with object'
SUBSTR caseIgnoreIA5SubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
-#
-# From U-Mich
-#
-attributetype ( 1.3.6.1.4.1.250.1.32
- NAME ( 'krbName' 'kerberosName' )
- DESC 'Kerberos principal associated with object'
+# RFC 2459
+attributetype ( 1.2.840.113549.1.9.1
+ NAME ( 'email' 'emailAddress' 'pkcs9email' )
+ DESC 'RFC2459: legacy attribute for email addresses in DNs'
EQUALITY caseIgnoreIA5Match
- SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
- SINGLE-VALUE )
+ SUBSTR caseIgnoreIA5SubstringsMatch
+ SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )
-#
-# OpenLDAP specific schema items
-# Access Control Information
-#
-#attributetype ( 1.3.6.1.4.1.4203.666.1.5
-# NAME 'OpenLDAPaci'
-# DESC 'OpenLDAP access control information (experimental)'
-# EQUALITY OpenLDAPaciMatch
-# SYNTAX 1.3.6.1.4.1.4203.666.2.1
-# USAGE directoryOperation )