X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Foperational.c;h=f938076f0c5f3de69abb341473209ade25cc4168;hb=5c3a4e176e9539f58a1ac666ad370b4c204cd44c;hp=4838b11739385dc0567b297e8d02d33b3663745c;hpb=094bc99b83a418e0a686f22d52795f4d020259f9;p=openldap diff --git a/servers/slapd/operational.c b/servers/slapd/operational.c index 4838b11739..f938076f0c 100644 --- a/servers/slapd/operational.c +++ b/servers/slapd/operational.c @@ -1,7 +1,7 @@ /* operational.c - routines to deal with on-the-fly operational attrs */ /* This work is part of OpenLDAP Software . * - * Copyright 2001-2004 The OpenLDAP Foundation. + * Copyright 2001-2005 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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;