mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
don't idassert if proxyAuthz == boundDN (ITS#4497)
This commit is contained in:
parent
c636f654a4
commit
4d894c7d24
@ -1652,6 +1652,11 @@ ldap_back_proxy_authz_ctrl(
|
||||
assertedID = slap_empty_bv;
|
||||
}
|
||||
|
||||
/* don't idassert the bound DN (ITS#4497) */
|
||||
if ( dn_match( &assertedID, &lc->lc_bound_ndn ) ) {
|
||||
goto done;
|
||||
}
|
||||
|
||||
if ( op->o_ctrls ) {
|
||||
for ( i = 0; op->o_ctrls[ i ]; i++ )
|
||||
/* just count ctrls */ ;
|
||||
|
Loading…
Reference in New Issue
Block a user