mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
ITS#6101, did not always (re)set rs->sr_sasldata before send_ldap_sasl()
This commit is contained in:
parent
72e319bd02
commit
d3e7717473
@ -1540,7 +1540,7 @@ int slap_sasl_bind( Operation *op, SlapReply *rs )
|
||||
}
|
||||
|
||||
/* Must send response using old security layer */
|
||||
if (response.bv_len) rs->sr_sasldata = &response;
|
||||
rs->sr_sasldata = (response.bv_len ? &response : NULL);
|
||||
send_ldap_sasl( op, rs );
|
||||
|
||||
/* Now dispose of the old security layer.
|
||||
|
Loading…
Reference in New Issue
Block a user