mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
idassert also in case of SASL mechs that do not set authcId
This commit is contained in:
parent
f834cdb2f7
commit
331fef5e78
@ -2249,7 +2249,8 @@ ldap_back_proxy_authz_ctrl(
|
||||
* but if it is not set this test fails. We need a different
|
||||
* means to detect if idassert is enabled */
|
||||
if ( ( BER_BVISNULL( &si->si_bc.sb_authcId ) || BER_BVISEMPTY( &si->si_bc.sb_authcId ) )
|
||||
&& ( BER_BVISNULL( &si->si_bc.sb_binddn ) || BER_BVISEMPTY( &si->si_bc.sb_binddn ) ) )
|
||||
&& ( BER_BVISNULL( &si->si_bc.sb_binddn ) || BER_BVISEMPTY( &si->si_bc.sb_binddn ) )
|
||||
&& BER_BVISNULL( &si->si_bc.sb_saslmech ) )
|
||||
{
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user