summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-07-19 15:37:03 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-07-19 17:36:48 +0200
commit943109edd1f6545f7d45d619f631b5d03c5c859b (patch)
tree01440c2b48f8b610fa67c3b2d74a4427a31b87fb /src
parent35872dc24058c5e8028cb4082fd405a27835dcd1 (diff)
downloadsssd-943109edd1f6545f7d45d619f631b5d03c5c859b.tar.gz
sssd-943109edd1f6545f7d45d619f631b5d03c5c859b.tar.bz2
sssd-943109edd1f6545f7d45d619f631b5d03c5c859b.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/tools/sss_debuglevel.c9
1 files changed, 7 insertions, 2 deletions
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) {