diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 3014e13c2d..0fe2f2b08e 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3277,8 +3277,10 @@ config_add_internal( CfBackInfo *cfb, Entry *e, SlapReply *rs, int *renum ) break; case Cft_Include: - if ( !rs ) /* ignored */ + if ( !rs ) { + nocs = 0; /* ignored */ break; + } type_ad = cfAd_include; break; #ifdef SLAPD_MODULES