mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
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:
parent
c6744aea36
commit
0de4adaf09
@ -105,8 +105,8 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly )
|
|||||||
val.bv_len = sizeof("top")-1;
|
val.bv_len = sizeof("top")-1;
|
||||||
attr_merge( e, "objectClass", vals );
|
attr_merge( e, "objectClass", vals );
|
||||||
|
|
||||||
val.bv_val = "LDAPsubentry";
|
val.bv_val = "LDAProotDSE";
|
||||||
val.bv_len = sizeof("LDAPsubentry")-1;
|
val.bv_len = sizeof("LDAProotDSE")-1;
|
||||||
attr_merge( e, "objectClass", vals );
|
attr_merge( e, "objectClass", vals );
|
||||||
|
|
||||||
val.bv_val = "extensibleObject";
|
val.bv_val = "extensibleObject";
|
||||||
|
@ -480,3 +480,10 @@ objectclass ( 2.16.840.1.113730.3.2.6 NAME 'referral'
|
|||||||
objectclass ( LDAPsubEntryOID NAME 'LDAPsubEntry'
|
objectclass ( LDAPsubEntryOID NAME 'LDAPsubEntry'
|
||||||
DESC 'Limited X.501 Subentry class, named by cn'
|
DESC 'Limited X.501 Subentry class, named by cn'
|
||||||
SUP top STRUCTURAL MUST ( cn ) )
|
SUP top STRUCTURAL MUST ( cn ) )
|
||||||
|
|
||||||
|
#
|
||||||
|
# LDAProotDSE
|
||||||
|
#
|
||||||
|
objectclass ( LDAProotDSEOID NAME 'LDAProotDSE'
|
||||||
|
DESC 'Root DSE object class'
|
||||||
|
SUP top STRUCTURAL )
|
||||||
|
Loading…
Reference in New Issue
Block a user