From 943109edd1f6545f7d45d619f631b5d03c5c859b Mon Sep 17 00:00:00 2001 From: Ondrej Kos Date: Fri, 19 Jul 2013 15:37:03 +0200 Subject: TOOLS: Update all services with sss_debuglevel https://fedorahosted.org/sssd/ticket/2007 PAC, SSH, SUDO and AUTOFS services' debug levels weren't modified when sss_debuglevel tool was used. --- src/tools/sss_debuglevel.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/tools') diff --git a/src/tools/sss_debuglevel.c b/src/tools/sss_debuglevel.c index ce428bd9..3fe634e8 100644 --- a/src/tools/sss_debuglevel.c +++ b/src/tools/sss_debuglevel.c @@ -238,9 +238,14 @@ errno_t get_confdb_sections(TALLOC_CTX *ctx, struct confdb_ctx *confdb, const char *known_services[] = { CONFDB_MONITOR_CONF_ENTRY, CONFDB_NSS_CONF_ENTRY, - CONFDB_PAM_CONF_ENTRY + CONFDB_PAM_CONF_ENTRY, + CONFDB_PAC_CONF_ENTRY, + CONFDB_SSH_CONF_ENTRY, + CONFDB_SUDO_CONF_ENTRY, + CONFDB_AUTOFS_CONF_ENTRY }; - static const int known_services_count = 3; + static const int known_services_count = sizeof(known_services) + / sizeof(*known_services); TALLOC_CTX *tmp_ctx = talloc_new(NULL); if (tmp_ctx == NULL) { -- cgit