From: Howard Chu Date: Wed, 27 Oct 2004 16:28:12 +0000 (+0000) Subject: ITS#3369 - be is seldom NULL, now test for be == frontendDB X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~398 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=02cf37560325cb43ec26ffdb6c79abe3a49e1d3e;p=openldap ITS#3369 - be is seldom NULL, now test for be == frontendDB --- diff --git a/servers/slapd/operational.c b/servers/slapd/operational.c index 4838b11739..b64bc22cd2 100644 --- a/servers/slapd/operational.c +++ b/servers/slapd/operational.c @@ -27,7 +27,7 @@ slap_operational_subschemaSubentry( Backend *be ) Attribute *a; /* The backend wants to take care of it */ - if ( be && be->be_schemadn.bv_val ) return NULL; + if ( be && be!= frontendDB && be->be_schemadn.bv_val ) return NULL; a = ch_malloc( sizeof( Attribute ) ); a->a_desc = slap_schema.si_ad_subschemaSubentry;