mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 17:19:43 -05:00
ITS#8909 fix "authz-policy all" condition
Broken since original commit 113727ba
This commit is contained in:
parent
0f320b3442
commit
36e4dd2828
1 changed files with 1 additions and 1 deletions
|
|
@ -2074,7 +2074,7 @@ int slap_sasl_authorized( Operation *op,
|
|||
if( authz_policy & SASL_AUTHZ_TO ) {
|
||||
rc = slap_sasl_check_authz( op, authcDN, authzDN,
|
||||
slap_schema.si_ad_saslAuthzTo, authcDN );
|
||||
if( rc == LDAP_SUCCESS && !(authz_policy & SASL_AUTHZ_AND) ) {
|
||||
if(( rc == LDAP_SUCCESS ) ^ (( authz_policy & SASL_AUTHZ_AND) != 0)) {
|
||||
goto DONE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue