From: Howard Chu Date: Sun, 5 Dec 2004 02:10:50 +0000 (+0000) Subject: Fix defaultSearchBase X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~131 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8dd2d202e51b685afc611edf2b8d0b8d1d2a79dd;p=openldap Fix defaultSearchBase --- diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 493d4bd213..fff7f5390c 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -700,7 +700,7 @@ int config_search_base(ConfigArgs *c) { struct berval dn; int rc; - if(c->bi || c->be) { + if(c->bi || c->be != frontendDB) { Debug(LDAP_DEBUG_ANY, "%s: line %lu: defaultSearchBase line must appear " "prior to any backend or database definition\n", c->fname, c->lineno, 0);