mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-15 19:34:10 -05:00
empty ID should be fine according to draft-weltman-ldapv3-proxy
This commit is contained in:
parent
c0075d57b4
commit
08a8e7b8c3
1 changed files with 2 additions and 1 deletions
|
|
@ -765,7 +765,8 @@ static int parseProxyAuthz (
|
|||
rc = slap_sasl_getdn( op->o_conn, op, &ctrl->ldctl_value,
|
||||
NULL, &dn, SLAP_GETDN_AUTHZID );
|
||||
|
||||
if( rc != LDAP_SUCCESS || !dn.bv_len ) {
|
||||
/* FIXME: empty DN in proxyAuthz control should be legal... */
|
||||
if( rc != LDAP_SUCCESS /* || !dn.bv_len */ ) {
|
||||
if ( dn.bv_val ) {
|
||||
ch_free( dn.bv_val );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue