]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/config.c
declare oc_bvfind_undef()
[openldap] / servers / slapd / config.c
index 493d4bd2139265b7c266ae6793ae8ca2821a49d5..fff7f5390ccc63bf664c9d94ce9b1b9cda6aebc6 100644 (file)
@@ -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);