]> git.sur5r.net Git - openldap/commitdiff
Add LDAP/X.500 subentry schema (draft-zeilenga-ldap-subentry-xx.txt)
authorKurt Zeilenga <kurt@openldap.org>
Sun, 6 Jan 2002 04:59:26 +0000 (04:59 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 6 Jan 2002 04:59:26 +0000 (04:59 +0000)
servers/slapd/schema/core.schema
servers/slapd/schema_init.c

index 3801c48b6a32b08016778e48455a5734c3c7953d..3d3d3696743caea97b64bb2726b9a78494af295f 100644 (file)
@@ -706,9 +706,28 @@ 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
-#      likely to change!
+#      deprecated!
 objectclass ( 2.16.840.1.113719.2.142.6.1.1
        NAME 'LDAPsubEntry'
        DESC 'LDAP Subentry'
index 4b49e541a532fee7f9ed51d620c612d35e1a7130..ed6015a74bcba1e50ab55f7cd095a28ffcfe9bd9 100644 (file)
@@ -4113,15 +4113,18 @@ static struct syntax_defs_rec {
        slap_syntax_transform_func *sd_str2ber;
 #endif
 } syntax_defs[] = {
-       {"( 1.3.6.1.4.1.1466.115.121.1.1 DESC 'ACI Item' " X_BINARY X_NOT_H_R ")",
+       {"( 1.3.6.1.4.1.1466.115.121.1.1 DESC 'ACI Item' "
+               X_BINARY X_NOT_H_R ")",
                SLAP_SYNTAX_BINARY|SLAP_SYNTAX_BER, NULL, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.2 DESC 'Access Point' " X_NOT_H_R ")",
                0, NULL, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.3 DESC 'Attribute Type Description' )",
                0, NULL, NULL, NULL},
-       {"( 1.3.6.1.4.1.1466.115.121.1.4 DESC 'Audio' " X_NOT_H_R ")",
+       {"( 1.3.6.1.4.1.1466.115.121.1.4 DESC 'Audio' "
+               X_NOT_H_R ")",
                SLAP_SYNTAX_BLOB, blobValidate, NULL, NULL},
-       {"( 1.3.6.1.4.1.1466.115.121.1.5 DESC 'Binary' " X_NOT_H_R ")",
+       {"( 1.3.6.1.4.1.1466.115.121.1.5 DESC 'Binary' "
+               X_NOT_H_R ")",
                SLAP_SYNTAX_BER, berValidate, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.6 DESC 'Bit String' )",
                0, bitStringValidate, bitStringNormalize, NULL },
@@ -4202,6 +4205,9 @@ static struct syntax_defs_rec {
                0, NULL, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.44 DESC 'Printable String' )",
                0, printableStringValidate, IA5StringNormalize, NULL},
+       {"( 1.3.6.1.4.1.1466.115.121.1.45 DESC 'SubtreeSpecification' "
+               X_BINARY X_NOT_H_R ")",
+               SLAP_SYNTAX_BINARY|SLAP_SYNTAX_BER, NULL, NULL, NULL},
        {"( 1.3.6.1.4.1.1466.115.121.1.49 DESC 'Supported Algorithm' "
                X_BINARY X_NOT_H_R ")",
                SLAP_SYNTAX_BINARY|SLAP_SYNTAX_BER, berValidate, NULL, NULL},