mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 01:29:59 -05:00
don't idassert anon2anon (ITS#4321)
This commit is contained in:
parent
63b9183126
commit
7368ffb77a
1 changed files with 7 additions and 1 deletions
|
|
@ -1366,8 +1366,14 @@ ldap_back_proxy_authz_ctrl(
|
|||
}
|
||||
|
||||
switch ( mode ) {
|
||||
case LDAP_BACK_IDASSERT_LEGACY:
|
||||
case LDAP_BACK_IDASSERT_SELF:
|
||||
if ( BER_BVISNULL( &ndn ) ) {
|
||||
goto done;
|
||||
}
|
||||
assertedID = ndn;
|
||||
break;
|
||||
|
||||
case LDAP_BACK_IDASSERT_LEGACY:
|
||||
/* original behavior:
|
||||
* assert the client's identity */
|
||||
if ( BER_BVISNULL( &ndn ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue