From: Howard Chu Date: Wed, 5 Sep 2018 10:42:05 +0000 (+0100) Subject: ITS#8912 omit hidden DBs from rootDse X-Git-Tag: OPENLDAP_REL_ENG_2_4_47~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f235b1e5a1c698519ca3ee9e7724744442958f7;p=thirdparty%2Fopenldap.git ITS#8912 omit hidden DBs from rootDse --- diff --git a/servers/slapd/root_dse.c b/servers/slapd/root_dse.c index 240ecd9e62..13117bd6a4 100644 --- a/servers/slapd/root_dse.c +++ b/servers/slapd/root_dse.c @@ -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],