mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-15 03:14:24 -05:00
silence warning for global scoped global ACLs
This commit is contained in:
parent
056c5ba7c1
commit
b46518ff77
1 changed files with 4 additions and 0 deletions
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue