From: Kurt Zeilenga Date: Thu, 12 Aug 1999 18:58:51 +0000 (+0000) Subject: Add "objectclass: LDAPsubentry" to provide structure to subentries X-Git-Tag: TWEB_OL_BASE~230 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=693229dfdd9c2593475719a77f2409453cbeae31;p=openldap Add "objectclass: LDAPsubentry" to provide structure to subentries --- diff --git a/servers/slapd/configinfo.c b/servers/slapd/configinfo.c index 68854d4f36..b387fe6a3d 100644 --- a/servers/slapd/configinfo.c +++ b/servers/slapd/configinfo.c @@ -83,6 +83,10 @@ config_info( val.bv_len = sizeof("top")-1; attr_merge( e, "objectClass", vals ); + val.bv_val = "LDAPsubentry"; + val.bv_len = sizeof("LDAPsubentry")-1; + attr_merge( e, "objectClass", vals ); + val.bv_val = "extenisbleObject"; val.bv_len = sizeof("extenisbleObject")-1; attr_merge( e, "objectClass", vals ); diff --git a/servers/slapd/monitor.c b/servers/slapd/monitor.c index 0c6e4d6863..9cc63754ef 100644 --- a/servers/slapd/monitor.c +++ b/servers/slapd/monitor.c @@ -272,6 +272,10 @@ monitor_info( val.bv_len = sizeof("top")-1; attr_merge( e, "objectClass", vals ); + val.bv_val = "LDAPsubentry"; + val.bv_len = sizeof("LDAPsubentry")-1; + attr_merge( e, "objectClass", vals ); + val.bv_val = "extensibleObject"; val.bv_len = sizeof("extensibleObject")-1; attr_merge( e, "objectClass", vals ); diff --git a/servers/slapd/root_dse.c b/servers/slapd/root_dse.c index 13e7a9258a..7e8727f3d3 100644 --- a/servers/slapd/root_dse.c +++ b/servers/slapd/root_dse.c @@ -104,6 +104,10 @@ 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; + attr_merge( e, "objectClass", vals ); + val.bv_val = "extenisbleObject"; val.bv_len = sizeof("extenisbleObject")-1; attr_merge( e, "objectClass", vals ); diff --git a/servers/slapd/schema.c b/servers/slapd/schema.c index 44c86656d8..6abcacac99 100644 --- a/servers/slapd/schema.c +++ b/servers/slapd/schema.c @@ -1163,6 +1163,10 @@ schema_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; + attr_merge( e, "objectClass", vals ); + val.bv_val = "subschema"; val.bv_len = sizeof("subschema")-1; attr_merge( e, "objectClass", vals );