]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema/core.schema
Partially revert prev commit, leave rs->sr_err == SLAPD_ABANDON
[openldap] / servers / slapd / schema / core.schema
index 4551f7a095e618a88ee259936340be921c39af34..4acf6593b11aa9fd3f86edfdb73541f7b9b13f87 100644 (file)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2006 The OpenLDAP Foundation.
+## Copyright 1998-2009 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -13,7 +13,7 @@
 ## top-level directory of the distribution or, alternatively, at
 ## <http://www.OpenLDAP.org/license.html>.
 #
-## Portions Copyright (C) The Internet Society (1997-2003).
+## Portions Copyright (C) The Internet Society (1997-2006).
 ## All Rights Reserved.
 ##
 ## This document and translations of it may be copied and furnished to
@@ -51,6 +51,7 @@
 #      RFC 2247 (dc/dcObject)
 #      RFC 2587 (PKI)
 #      RFC 2589 (Dynamic Directory Services)
+#      RFC 4524 (associatedDomain)
 #
 # Select informational schema items:
 #      RFC 2377 (uidObject)
@@ -91,9 +92,16 @@ attributetype ( 2.5.4.5 NAME 'serialNumber'
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.44{64} )
 
+# RFC 4519 definition ('countryName' in X.500 and RFC2256)
 attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
-       DESC 'RFC2256: ISO-3166 country 2-letter code'
-       SUP name SINGLE-VALUE )
+       DESC 'RFC4519: two-letter ISO-3166 country code'
+       SUP name
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.11
+       SINGLE-VALUE )
+
+#attributetype ( 2.5.4.6 NAME ( 'c' 'countryName' )
+#      DESC 'RFC2256: ISO-3166 country 2-letter code'
+#      SUP name SINGLE-VALUE )
 
 attributetype ( 2.5.4.7 NAME ( 'l' 'localityName' )
        DESC 'RFC2256: locality which this object resides in'
@@ -573,7 +581,18 @@ objectclass ( 1.3.6.1.1.3.1 NAME 'uidObject'
        DESC 'RFC2377: uid object'
        SUP top AUXILIARY MUST uid )
 
-# From COSINE Pilot
+# RFC 4524
+#   The 'associatedDomain' attribute specifies DNS [RFC1034][RFC2181]
+#   host names [RFC1123] that are associated with an object.   That is,
+#   values of this attribute should conform to the following ABNF:
+#
+#    domain = root / label *( DOT label )
+#    root   = SPACE
+#    label  = LETDIG [ *61( LETDIG / HYPHEN ) LETDIG ]
+#    LETDIG = %x30-39 / %x41-5A / %x61-7A ; "0" - "9" / "A"-"Z" / "a"-"z"
+#    SPACE  = %x20                        ; space (" ")
+#    HYPHEN = %x2D                        ; hyphen ("-")
+#    DOT    = %x2E                        ; period (".")
 attributetype ( 0.9.2342.19200300.100.1.37
        NAME 'associatedDomain'
        DESC 'RFC1274: domain associated with object'