]> git.sur5r.net Git - openldap/commitdiff
Hide cn=Monitor from namingContexts
authorKurt Zeilenga <kurt@openldap.org>
Wed, 19 Jun 2002 06:06:21 +0000 (06:06 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 19 Jun 2002 06:06:21 +0000 (06:06 +0000)
Should add a special DN pointer

servers/slapd/root_dse.c

index 5db42c0f70c67647bb06734250e21c0709fa8e30..e4b0b0159b50225fd103235c17f053a4529cec3f 100644 (file)
@@ -90,6 +90,9 @@ root_dse_info(
        attr_merge( e, ad_objectClass, vals );
 
        for ( i = 0; i < nbackends; i++ ) {
+               if ( backends[i].be_flags & SLAP_BFLAG_MONITOR ) {
+                       continue;
+               }
                if ( backends[i].be_flags & SLAP_BFLAG_GLUE_SUBORDINATE ) {
                        continue;
                }