diff options
author | Fabiano FidĂȘncio <fidencio@redhat.com> | 2016-09-30 16:48:47 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2016-10-05 11:57:20 +0200 |
commit | 65a38b8c9cabde6c46cc0e9868f54cb9bb10afbf (patch) | |
tree | 0fcef97122075f6511e11f89fe2867eb831bce8f /src/util | |
parent | 7b07f50dfdfa1e94c82d86a957ee7c9852d7a322 (diff) | |
download | sssd-65a38b8c9cabde6c46cc0e9868f54cb9bb10afbf.tar.gz sssd-65a38b8c9cabde6c46cc0e9868f54cb9bb10afbf.tar.xz sssd-65a38b8c9cabde6c46cc0e9868f54cb9bb10afbf.zip |
SECRETS: Add a configurable limit of secrets that can be stored
Related:
https://fedorahosted.org/sssd/ticket/3169
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
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 9cd562cd8..db5130ca4 100644 --- a/src/util/util_errors.c +++ b/src/util/util_errors.c @@ -100,6 +100,7 @@ struct err_string error_to_str[] = { { "The internal name format cannot be parsed" }, /* ERR_WRONG_NAME_FORMAT */ { "The maximum level of nested containers has been reached" }, /* ERR_SEC_INVALID_CONTAINERS_NEST_LEVEL */ { "No proxy server for secrets available"}, /* ERR_SEC_NO_PROXY */ + { "The maximum number of stored secrets has been reached" }, /* ERR_SEC_INVALID_TOO_MANY_SECRETS */ { "ERR_LAST" } /* ERR_LAST */ }; diff --git a/src/util/util_errors.h b/src/util/util_errors.h index ebb9920c8..3690b7e72 100644 --- a/src/util/util_errors.h +++ b/src/util/util_errors.h @@ -122,6 +122,7 @@ enum sssd_errors { ERR_WRONG_NAME_FORMAT, ERR_SEC_INVALID_CONTAINERS_NEST_LEVEL, ERR_SEC_NO_PROXY, + ERR_SEC_INVALID_TOO_MANY_SECRETS, ERR_LAST /* ALWAYS LAST */ }; |