mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
use fist backend only if there is no global ACL (ITS#3100)
This commit is contained in:
parent
dd0e285b12
commit
b69a2acdf5
@ -219,7 +219,15 @@ access_allowed_mask(
|
||||
if ( be == NULL ) {
|
||||
be = &backends[0];
|
||||
be_null = 1;
|
||||
op->o_bd = be;
|
||||
#ifdef LDAP_DEVEL
|
||||
/*
|
||||
* FIXME: experimental; use first backend rules
|
||||
* iff there is no global_acl (ITS#3100) */
|
||||
if ( global_acl == NULL )
|
||||
#endif
|
||||
{
|
||||
op->o_bd = be;
|
||||
}
|
||||
}
|
||||
assert( be != NULL );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user