diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-12-04 14:25:59 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-06 00:05:37 +0100 |
commit | d5c167e5120e58828fc3a696c8a3d1d4a48c6b9b (patch) | |
tree | e46aa0b0ebd0323c678be82568c368b757be5c6a /src/responder/sudo | |
parent | 90f4d0cec9245d8f6838044408a38d6d31101777 (diff) | |
download | sssd-d5c167e5120e58828fc3a696c8a3d1d4a48c6b9b.tar.gz sssd-d5c167e5120e58828fc3a696c8a3d1d4a48c6b9b.tar.bz2 sssd-d5c167e5120e58828fc3a696c8a3d1d4a48c6b9b.zip |
sudo: print rule name if notBefore or notAfter attribute is missing
...and if sudo_timed = true.
https://fedorahosted.org/sssd/ticket/1688
A comma was missing in attribute list. This caused concatenation
of the two attributes so we requested one attribute called
"objectClasscn". This doesn't affect functionality, only debug
messages.
Diffstat (limited to 'src/responder/sudo')
-rw-r--r-- | src/responder/sudo/sudosrv_get_sudorules.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c index f79d47dc..5a78000c 100644 --- a/src/responder/sudo/sudosrv_get_sudorules.c +++ b/src/responder/sudo/sudosrv_get_sudorules.c @@ -574,7 +574,7 @@ static errno_t sudosrv_get_sudorules_from_cache(TALLOC_CTX *mem_ctx, unsigned int flags = SYSDB_SUDO_FILTER_NONE; struct sysdb_attrs **rules = NULL; size_t num_rules = 0; - const char *attrs[] = { SYSDB_OBJECTCLASS + const char *attrs[] = { SYSDB_OBJECTCLASS, SYSDB_SUDO_CACHE_AT_CN, SYSDB_SUDO_CACHE_AT_USER, SYSDB_SUDO_CACHE_AT_HOST, |