From d5c167e5120e58828fc3a696c8a3d1d4a48c6b9b Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Tue, 4 Dec 2012 14:25:59 +0100 Subject: 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. --- src/responder/sudo/sudosrv_get_sudorules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/responder/sudo/sudosrv_get_sudorules.c') diff --git a/src/responder/sudo/sudosrv_get_sudorules.c b/src/responder/sudo/sudosrv_get_sudorules.c index f79d47dcb..5a78000c8 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, -- cgit