From: Kurt Zeilenga Date: Fri, 17 Mar 2000 02:06:10 +0000 (+0000) Subject: Don't add subentries of the RootDSE to namingContexts X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~3134 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d2893546cd99c13cb5827e2ad1a1bb4e8032b82c;p=openldap Don't add subentries of the RootDSE to namingContexts --- diff --git a/servers/slapd/root_dse.c b/servers/slapd/root_dse.c index 6896cb9377..6fc5d3f478 100644 --- a/servers/slapd/root_dse.c +++ b/servers/slapd/root_dse.c @@ -45,29 +45,6 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly ) } } -#ifdef SLAPD_SCHEMA_NOT_COMPAT - /* we shouldn't publish subentries as naming contexts */ -#else -#if defined( SLAPD_MONITOR_DN ) - val.bv_val = SLAPD_MONITOR_DN; - val.bv_len = strlen( val.bv_val ); - attr_merge( e, "namingContexts", vals ); - /* subschemasubentry is added by send_search_entry() */ -#endif - -#if defined( SLAPD_CONFIG_DN ) - val.bv_val = SLAPD_CONFIG_DN; - val.bv_len = strlen( val.bv_val ); - attr_merge( e, "namingContexts", vals ); -#endif - -#if defined( SLAPD_SCHEMA_DN ) - val.bv_val = SLAPD_SCHEMA_DN; - val.bv_len = strlen( val.bv_val ); - attr_merge( e, "namingContexts", vals ); -#endif -#endif - /* altServer unsupported */ /* supportedControl */ @@ -120,10 +97,6 @@ root_dse_info( Connection *conn, Operation *op, char **attrs, int attrsonly ) val.bv_len = sizeof("LDAProotDSE")-1; attr_merge( e, "objectClass", vals ); - val.bv_val = "extensibleObject"; - val.bv_len = sizeof("extensibleObject")-1; - attr_merge( e, "objectClass", vals ); - send_search_entry( &backends[0], conn, op, e, attrs, attrsonly, NULL ); send_search_result( conn, op, LDAP_SUCCESS,