From dfd71fc92db940b2892cc996911cec03d7b6c52b Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 3 Mar 2013 18:06:13 -0500 Subject: Convert sdap_access to new error codes Also simplify sdap_access_send to avoid completely fake _send() routines. --- src/util/util_errors.c | 1 + src/util/util_errors.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/util') diff --git a/src/util/util_errors.c b/src/util/util_errors.c index 88806f53..a292fa6b 100644 --- a/src/util/util_errors.c +++ b/src/util/util_errors.c @@ -39,6 +39,7 @@ struct err_string error_to_str[] = { { "Password Change Failed" }, /* ERR_CHPASS_FAILED */ { "Network I/O Error" }, /* ERR_NETWORK_IO */ { "Account Expired" }, /* ERR_ACCOUNT_EXPIRED */ + { "Host Access Denied" }, /* ERR_ACEESS_DENIED */ { "Password Expired" }, /* ERR_PASSWORD_EXPIRED */ }; diff --git a/src/util/util_errors.h b/src/util/util_errors.h index 3e74de64..b4dfaf85 100644 --- a/src/util/util_errors.h +++ b/src/util/util_errors.h @@ -62,6 +62,7 @@ enum sssd_errors { ERR_NETWORK_IO, ERR_ACCOUNT_EXPIRED, ERR_PASSWORD_EXPIRED, + ERR_ACCESS_DENIED, ERR_LAST /* ALWAYS LAST */ }; -- cgit