[SSSD] [PATCH] Add a missing return value
Sumit Bose
sbose at redhat.com
Wed Jun 9 10:52:19 UTC 2010
Hi,
this patch should fix #521 by setting the unitialized return code to
EPERM.
bye.
Sumit
-------------- next part --------------
From acefb8cc713d1cc3e56f2815e2cdb1fc292a8ccc Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Wed, 9 Jun 2010 12:42:10 +0200
Subject: [PATCH] Add a missing return value
---
src/providers/krb5/krb5_auth.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/providers/krb5/krb5_auth.c b/src/providers/krb5/krb5_auth.c
index e3aaa18..182d330 100644
--- a/src/providers/krb5/krb5_auth.c
+++ b/src/providers/krb5/krb5_auth.c
@@ -710,6 +710,7 @@ struct tevent_req *krb5_auth_send(TALLOC_CTX *mem_ctx,
DEBUG(4, ("Password reset by root is not supported.\n"));
state->pam_status = PAM_PERM_DENIED;
state->dp_err = DP_ERR_OK;
+ ret = EPERM;
goto done;
}
break;
--
1.7.0.1
More information about the sssd-devel
mailing list