]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#8912 omit hidden DBs from rootDse
authorHoward Chu <hyc@openldap.org>
Wed, 5 Sep 2018 10:42:05 +0000 (11:42 +0100)
committerQuanah Gibson-Mount <quanah@openldap.org>
Fri, 7 Sep 2018 17:02:58 +0000 (17:02 +0000)
servers/slapd/root_dse.c

index 240ecd9e62eff98531092ebc7f575b0fc279bb08..13117bd6a41ee04fc05befc556768c3476aa63c5 100644 (file)
@@ -254,6 +254,9 @@ fail:
                        /* no suffix! */
                        continue;
                }
+               if ( SLAP_DBHIDDEN( be )) {
+                       continue;
+               }
                if ( SLAP_MONITOR( be )) {
                        if( attr_merge_one( e, ad_monitorContext,
                                        &be->be_suffix[0],