diff options
Diffstat (limited to 'server/providers/krb5')
-rw-r--r-- | server/providers/krb5/krb5_auth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/server/providers/krb5/krb5_auth.c b/server/providers/krb5/krb5_auth.c index 0321ce82..4581278d 100644 --- a/server/providers/krb5/krb5_auth.c +++ b/server/providers/krb5/krb5_auth.c @@ -975,10 +975,12 @@ static void krb5_child_done(struct tevent_req *req) if (*msg_status == PAM_AUTHINFO_UNAVAIL) { if (kr->srv != NULL) { - fo_set_server_status(kr->srv, SERVER_NOT_WORKING); + fo_set_port_status(kr->srv, PORT_NOT_WORKING); } be_mark_offline(be_req->be_ctx); kr->is_offline = true; + } else if (kr->srv != NULL) { + fo_set_port_status(kr->srv, PORT_WORKING); } struct sysdb_attrs *attrs; |