Skip to content
Snippets Groups Projects
Commit 08a8e7b8 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

empty ID should be fine according to draft-weltman-ldapv3-proxy

parent c0075d57
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment