The fix in
ac2d31e24cfa24f6674b645b3661a1a2ce9ab060 picked the wrong function name. This is meant
to be the remote address, not the local one, if we ever have to re-instate this code.
Andrew Bartlett
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
* older MIT clients need this, we might have to insert more
* complex code */
- nt_status = gensec_set_local_address(gensec_security, peer_addr);
+ nt_status = gensec_set_remote_address(gensec_security, peer_addr);
if (!NT_STATUS_IS_OK(nt_status)) {
talloc_free(tmp_ctx);
return KDC_PROCESS_FAILED;