]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema/core.schema
ITS#2607: improve socket() error logging with AF info
[openldap] / servers / slapd / schema / core.schema
index 2f60574889f3185121bfba6772681bd52679808f..09df2d29d2862dcb2b48d2300b3c2c019cebcbea 100644 (file)
@@ -3,23 +3,17 @@
 # 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 attribute types from RFC 2256
@@ -304,14 +298,11 @@ attributetype ( 2.5.4.54 NAME 'dmdName'
 
 # 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'
@@ -455,29 +446,13 @@ objectclass ( 2.5.6.20 NAME 'dmd'
                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'
@@ -490,11 +465,9 @@ objectclass ( 2.5.6.23 NAME 'deltaCRL'
        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
@@ -505,14 +478,6 @@ objectclass ( 1.3.6.1.4.1.250.3.15 NAME 'labeledURIObject'
        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 )
-
 #
 # Derived from RFC 1274, but with new "short names"
 #
@@ -548,49 +513,12 @@ objectclass ( 1.3.6.1.4.1.1466.344 NAME 'dcObject'
        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
-
-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
-
-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'
-       OBSOLETE
-       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'
@@ -598,12 +526,11 @@ attributetype ( 0.9.2342.19200300.100.1.37
        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} )
+