]> git.sur5r.net Git - openldap/commitdiff
Use objectclass LDAProotDSE for root DSE instead of LDAPsubentry.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 17 Nov 1999 01:47:49 +0000 (01:47 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 17 Nov 1999 01:47:49 +0000 (01:47 +0000)
Still need object classes for both of these.  Suspect we'll need
to assign "experimental" ones from our arc.

servers/slapd/root_dse.c
servers/slapd/schema/core.schema

index fc5b1d432f7c61ca6ad70177cba5a9cd5b1f1437..c45a35481ecb2fff977f9ca2f917e473b89e8af7 100644 (file)
@@ -105,8 +105,8 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
        val.bv_len = sizeof("top")-1;
        attr_merge( e, "objectClass", vals );
 
-       val.bv_val = "LDAPsubentry";
-       val.bv_len = sizeof("LDAPsubentry")-1;
+       val.bv_val = "LDAProotDSE";
+       val.bv_len = sizeof("LDAProotDSE")-1;
        attr_merge( e, "objectClass", vals );
 
        val.bv_val = "extensibleObject";
index adc963bef74d35cd2f145265be55f75459b24b26..e779f5a9c983dd1f6741e641e61e4a7be0a1933d 100644 (file)
@@ -480,3 +480,10 @@ objectclass ( 2.16.840.1.113730.3.2.6 NAME 'referral'
 objectclass ( LDAPsubEntryOID NAME 'LDAPsubEntry'
        DESC 'Limited X.501 Subentry class, named by cn'
        SUP top STRUCTURAL MUST ( cn ) )
+
+#
+# LDAProotDSE
+#
+objectclass ( LDAProotDSEOID NAME 'LDAProotDSE'
+       DESC 'Root DSE object class'
+       SUP top STRUCTURAL )