diff options
author | Simo Sorce <simo@redhat.com> | 2013-03-03 18:06:13 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-03-19 22:49:51 +0100 |
commit | dfd71fc92db940b2892cc996911cec03d7b6c52b (patch) | |
tree | 069370fe1a4a61d899f0bc2cb8825bdef9c659d3 /src/util | |
parent | c0bca1722d6f9dfb654ad78397be70f79ff39af1 (diff) | |
download | sssd-dfd71fc92db940b2892cc996911cec03d7b6c52b.tar.gz sssd-dfd71fc92db940b2892cc996911cec03d7b6c52b.tar.bz2 sssd-dfd71fc92db940b2892cc996911cec03d7b6c52b.zip |
Convert sdap_access to new error codes
Also simplify sdap_access_send to avoid completely fake _send() routines.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/util_errors.c | 1 | ||||
-rw-r--r-- | src/util/util_errors.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 */ }; |