diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-09-21 23:38:10 -0700 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-09-27 01:35:36 +0200 |
commit | 3fc5b2269ba8d1d24052c3d4a9794af1b1dbfce4 (patch) | |
tree | 10cb9b4a43e5d143412222ccae9cb1cad21510e7 | |
parent | f80780925fa1dfd15dc18b5b307d7ff4bd72a795 (diff) | |
download | samba-3fc5b2269ba8d1d24052c3d4a9794af1b1dbfce4.tar.gz samba-3fc5b2269ba8d1d24052c3d4a9794af1b1dbfce4.tar.xz samba-3fc5b2269ba8d1d24052c3d4a9794af1b1dbfce4.zip |
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 <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source4/kdc/kpasswdd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |