From 02cf37560325cb43ec26ffdb6c79abe3a49e1d3e Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 27 Oct 2004 16:28:12 +0000 Subject: [PATCH] ITS#3369 - be is seldom NULL, now test for be == frontendDB --- servers/slapd/operational.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5