diff options
author | Pavel Reichl <preichl@redhat.com> | 2015-04-20 11:33:29 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-04-28 11:58:53 +0200 |
commit | 82a958e6592c4a4078e45b7197bbe4751b70f511 (patch) | |
tree | 544bc2dbd7da242f2d663b508f17bf9f13103cf5 /src/util | |
parent | 605dc7fcc848dffb7c9d270c864c70e6dff1242e (diff) | |
download | sssd-82a958e6592c4a4078e45b7197bbe4751b70f511.tar.gz sssd-82a958e6592c4a4078e45b7197bbe4751b70f511.tar.xz sssd-82a958e6592c4a4078e45b7197bbe4751b70f511.zip |
simple-access-provider: make user grp res more robust
Not all user groups need to be resolved if group deny list is empty.
Resolves:
https://fedorahosted.org/sssd/ticket/2519
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 ac08f6277..62d580fe8 100644 --- a/src/util/util_errors.c +++ b/src/util/util_errors.c @@ -72,6 +72,7 @@ struct err_string error_to_str[] = { { "Invalid SSSD configuration detected." }, /* ERR_INVALID_CONFIG */ { "Malformed cache entry" }, /* ERR_MALFORMED_ENTRY */ { "Unexpected cache entry type" }, /* ERR_UNEXPECTED_ENTRY_TYPE */ + { "Failed to resolve one of user groups." }, /* ERR_SIMPLE_GROUPS_MISSING */ { "ERR_LAST" } /* ERR_LAST */ }; diff --git a/src/util/util_errors.h b/src/util/util_errors.h index c03274ce2..c8293a4c6 100644 --- a/src/util/util_errors.h +++ b/src/util/util_errors.h @@ -94,6 +94,7 @@ enum sssd_errors { ERR_INVALID_CONFIG, ERR_MALFORMED_ENTRY, ERR_UNEXPECTED_ENTRY_TYPE, + ERR_SIMPLE_GROUPS_MISSING, ERR_LAST /* ALWAYS LAST */ }; |