]> git.sur5r.net Git - openldap/commitdiff
ITS#3369 - be is seldom NULL, now test for be == frontendDB
authorHoward Chu <hyc@openldap.org>
Wed, 27 Oct 2004 16:28:12 +0000 (16:28 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 27 Oct 2004 16:28:12 +0000 (16:28 +0000)
servers/slapd/operational.c

index 4838b11739385dc0567b297e8d02d33b3663745c..b64bc22cd2d72f48b9b9292514f6949bb2fabf54 100644 (file)
@@ -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;