summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-06-13 15:28:23 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-06-14 13:39:08 +0200
commit22a21e910fd216ec1468fe769dcc29f1621a52a4 (patch)
tree5b0603cdbb3870eea6c74e4b548e0879fbf331d2 /src/util
parentd3b39cf07164b23d47bbce3d6e6541b13fc895f5 (diff)
downloadsssd-22a21e910fd216ec1468fe769dcc29f1621a52a4.tar.gz
sssd-22a21e910fd216ec1468fe769dcc29f1621a52a4.tar.bz2
sssd-22a21e910fd216ec1468fe769dcc29f1621a52a4.zip
KRB: Handle preauthentication error correctly
https://fedorahosted.org/sssd/ticket/1873 KRB preauthentication error was later mishandled like authentication error.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util_errors.c1
-rw-r--r--src/util/util_errors.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/util/util_errors.c b/src/util/util_errors.c
index b617f540..22a3045a 100644
--- a/src/util/util_errors.c
+++ b/src/util/util_errors.c
@@ -31,6 +31,7 @@ struct err_string error_to_str[] = {
{ "Invalid credential type" }, /* ERR_INVALID_CRED_TYPE */
{ "No credentials available" }, /* ERR_NO_CREDS */
{ "Credentials are expired" }, /* ERR_CREDS_EXPIRED */
+ { "Failure setting user credentials"}, /* ERR_CREDS_INVALID */
{ "No cached credentials available" }, /* ERR_NO_CACHED_CREDS */
{ "Cached credentials are expired" }, /* ERR_CACHED_CREDS_EXPIRED */
{ "Authentication Denied" }, /* ERR_AUTH_DENIED */
diff --git a/src/util/util_errors.h b/src/util/util_errors.h
index a602a6ea..65d37aed 100644
--- a/src/util/util_errors.h
+++ b/src/util/util_errors.h
@@ -53,6 +53,7 @@ enum sssd_errors {
ERR_INVALID_CRED_TYPE,
ERR_NO_CREDS,
ERR_CREDS_EXPIRED,
+ ERR_CREDS_INVALID,
ERR_NO_CACHED_CREDS,
ERR_CACHED_CREDS_EXPIRED,
ERR_AUTH_DENIED,