don't idassert anon2anon (ITS#4321)

This commit is contained in:
Pierangelo Masarati 2006-01-10 13:17:31 +00:00
parent 63b9183126
commit 7368ffb77a

View file

@ -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 ) ) {