summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/krb5/krb5_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index d3e11a2d..a9b75768 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -860,7 +860,7 @@ static void krb5_auth_done(struct tevent_req *subreq)
be_fo_set_port_status(state->be_ctx, state->krb5_ctx->service->name,
search_srv, PORT_NOT_WORKING);
subreq = be_resolve_server_send(state, state->ev, state->be_ctx,
- state->krb5_ctx->kpasswd_service->name,
+ state->krb5_ctx->service->name,
search_srv == NULL ? true : false);
if (subreq == NULL) {
DEBUG(1, ("Failed resolved request.\n"));