From ab967283b710dfa05d11ee5b30c7ac916486ceec Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 21 Nov 2012 16:52:33 -0500 Subject: Use SSSD specific errors for offline auth This prevents reportin false errors when internal functions return a generic EINVAL or EACCES that should just be treated as internal errors. --- src/util/util_errors.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/util/util_errors.h') diff --git a/src/util/util_errors.h b/src/util/util_errors.h index eb0df77e6..870d9d44b 100644 --- a/src/util/util_errors.h +++ b/src/util/util_errors.h @@ -49,6 +49,11 @@ typedef int errno_t; enum sssd_errors { ERR_INVALID = ERR_BASE + 0, ERR_INTERNAL, + ERR_ACCOUNT_UNKNOWN, + ERR_NO_CACHED_CREDS, + ERR_CACHED_CREDS_EXPIRED, + ERR_AUTH_DENIED, + ERR_AUTH_FAILED, ERR_LAST /* ALWAYS LAST */ }; -- cgit