summaryrefslogtreecommitdiff
path: root/server/providers
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-11-24 17:27:00 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-11-25 15:26:48 -0500
commit12e02082e0659ec11e8f50911fa0e46c733ae3a2 (patch)
tree7386bfe47d34adf99aa49f8b2a9d1a2dd16ae3a0 /server/providers
parent80dc0c16b95c4ea4fe758a92fd4f7ee72aec89dc (diff)
downloadsssd-12e02082e0659ec11e8f50911fa0e46c733ae3a2.tar.gz
sssd-12e02082e0659ec11e8f50911fa0e46c733ae3a2.tar.bz2
sssd-12e02082e0659ec11e8f50911fa0e46c733ae3a2.zip
Fix an internal error when cache_credentials=FALSE
Diffstat (limited to 'server/providers')
-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);