]> git.sur5r.net Git - openldap/commitdiff
ITS#6822 fix back-config's default ACL when overlays are in place
authorRalf Haferkamp <ralf@openldap.org>
Wed, 2 Feb 2011 19:56:08 +0000 (19:56 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Wed, 2 Feb 2011 19:56:08 +0000 (19:56 +0000)
servers/slapd/bconfig.c

index 932e67cd55381971cd21da6fe3facc1b180eb9b4..60aed4c511c4699eb9d880ed02313e56c354c384 100644 (file)
@@ -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();