From 3fc5b2269ba8d1d24052c3d4a9794af1b1dbfce4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 21 Sep 2014 23:38:10 -0700 Subject: Fix commented out code in kpasswd server to use correct function 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 Reviewed-by: Stefan Metzmacher --- source4/kdc/kpasswdd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c index e8d46ad963..7b32229632 100644 --- a/source4/kdc/kpasswdd.c +++ b/source4/kdc/kpasswdd.c @@ -553,7 +553,7 @@ enum kdc_process_ret kpasswdd_process(struct kdc_server *kdc, * 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; -- cgit