Skip to content

Commit

Permalink
Fix an internal error when cache_credentials=FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
sumit-bose authored and sgallagher committed Nov 25, 2009
1 parent 80dc0c1 commit 12e0208
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/providers/krb5/krb5_auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 12e0208

Please sign in to comment.