From: Ralf Haferkamp Date: Wed, 2 Feb 2011 19:56:08 +0000 (+0000) Subject: ITS#6822 fix back-config's default ACL when overlays are in place X-Git-Tag: MIGRATION_CVS2GIT~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9e49778f4b983479fa1f6f1d4ad101a0fcf2e6a;p=openldap ITS#6822 fix back-config's default ACL when overlays are in place --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 932e67cd55..60aed4c511 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -6725,8 +6725,8 @@ config_back_db_open( BackendDB *be, ConfigReply *cr ) /* If we have no explicitly configured ACLs, don't just use * the global ACLs. Explicitly deny access to everything. */ - if ( !be->be_acl ) { - parse_acl(be, "config_back_db_open", 0, 6, (char **)defacl, 0 ); + if ( !be->bd_self->be_acl ) { + parse_acl(be->bd_self, "config_back_db_open", 0, 6, (char **)defacl, 0 ); } thrctx = ldap_pvt_thread_pool_context();