ITS#6822 fix back-config's default ACL when overlays are in place

This commit is contained in:
Ralf Haferkamp 2011-02-02 19:56:08 +00:00
parent e4fcc294fa
commit c9e49778f4

View 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();