From: Howard Chu Date: Sun, 25 Jan 2009 04:07:58 +0000 (+0000) Subject: Dynamically added databases did not have controls init'd X-Git-Tag: ACLCHECK_0~961 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c34d6c8c7fd5e677fe8b772831a6ca8ab07d8f9;p=openldap Dynamically added databases did not have controls init'd --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 2698c295ef..fd11c69c23 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -612,6 +612,9 @@ backend_db_init( nbackends--; } } else { + if ( !bi->bi_nDB ) { + backend_init_controls( bi ); + } bi->bi_nDB++; } return( be );