From c9e49778f4b983479fa1f6f1d4ad101a0fcf2e6a Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Wed, 2 Feb 2011 19:56:08 +0000 Subject: [PATCH] ITS#6822 fix back-config's default ACL when overlays are in place --- servers/slapd/bconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.5