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 )