summaryrefslogtreecommitdiff
path: root/source4/kdc/kpasswdd.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/kdc/kpasswdd.c')
-rw-r--r--source4/kdc/kpasswdd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/kdc/kpasswdd.c b/source4/kdc/kpasswdd.c
index 586dd1304b..9b3336a7a1 100644
--- a/source4/kdc/kpasswdd.c
+++ b/source4/kdc/kpasswdd.c
@@ -524,7 +524,7 @@ bool kpasswdd_process(struct kdc_server *kdc,
* older MIT clients need this, we might have to insert more
* complex code */
- nt_status = gensec_set_peer_addr(gensec_security, peer_addr);
+ nt_status = gensec_set_local_address(gensec_security, peer_addr);
if (!NT_STATUS_IS_OK(nt_status)) {
talloc_free(tmp_ctx);
return false;