mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
idassert also in case of SASL mechs that do not set authcId
This commit is contained in:
parent
f834cdb2f7
commit
331fef5e78
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue