silence warning for global scoped global ACLs

This commit is contained in:
Pierangelo Masarati 2005-01-12 00:53:50 +00:00
parent 056c5ba7c1
commit b46518ff77

View file

@ -177,6 +177,10 @@ check_scope( BackendDB *be, AccessControl *a )
dn = be->be_nsuffix[0];
if ( BER_BVISEMPTY( &dn ) ) {
return ACL_SCOPE_OK;
}
if ( !BER_BVISEMPTY( &a->acl_dn_pat ) ||
a->acl_dn_style != ACL_STYLE_REGEX )
{