summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/providers/krb5/krb5_auth.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/providers/krb5/krb5_auth.c b/server/providers/krb5/krb5_auth.c
index 3a5b27a7..73cd2137 100644
--- a/server/providers/krb5/krb5_auth.c
+++ b/server/providers/krb5/krb5_auth.c
@@ -1122,7 +1122,7 @@ static void krb5_save_ccname_done(struct tevent_req *req)
struct pam_data *pd = kr->pd;
struct be_req *be_req = kr->req;
struct krb5_ctx *krb5_ctx = kr->krb5_ctx;
- int pam_status=PAM_SYSTEM_ERR;
+ int pam_status = PAM_SYSTEM_ERR;
int dp_err = DP_ERR_FATAL;
int ret;
char *password = NULL;
@@ -1192,6 +1192,9 @@ static void krb5_save_ccname_done(struct tevent_req *req)
return;
}
+ pam_status = PAM_SUCCESS;
+ dp_err = DP_ERR_OK;
+
failed:
talloc_free(kr);