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.
This commit is contained in:
Kurt Zeilenga 1999-11-17 01:47:49 +00:00
parent c6744aea36
commit 0de4adaf09
2 changed files with 9 additions and 2 deletions

View 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";

View 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 )