From: Kurt Zeilenga Date: Wed, 17 Nov 1999 01:47:49 +0000 (+0000) Subject: Use objectclass LDAProotDSE for root DSE instead of LDAPsubentry. X-Git-Tag: UCDATA_2_4~215 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0de4adaf09d56378eaaee63291dd78c67935e2c3;p=openldap Use objectclass LDAProotDSE for root DSE instead of LDAPsubentry. Still need object classes for both of these. Suspect we'll need to assign "experimental" ones from our arc. --- diff --git a/servers/slapd/root_dse.c b/servers/slapd/root_dse.c index fc5b1d432f..c45a35481e 100644 --- a/servers/slapd/root_dse.c +++ b/servers/slapd/root_dse.c @@ -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"; diff --git a/servers/slapd/schema/core.schema b/servers/slapd/schema/core.schema index adc963bef7..e779f5a9c9 100644 --- a/servers/slapd/schema/core.schema +++ b/servers/slapd/schema/core.schema @@ -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 )