From 1b9b5477027d86a2afb2e72981253d108c5398da Mon Sep 17 00:00:00 2001 From: Michal Židek Date: Mon, 11 Jul 2016 13:03:28 +0200 Subject: config: Allow timeout for all sevices MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Allow option "timeout" for all sevices. Also remove unused macro CONFDB_SERVICE_TIMEOUT. Resolves: https://fedorahosted.org/sssd/ticket/3068 Reviewed-by: Lukáš Slebodník --- src/config/cfg_rules.ini | 7 +++++++ src/config/etc/sssd.api.conf | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'src/config') diff --git a/src/config/cfg_rules.ini b/src/config/cfg_rules.ini index 85a15be34..5c8d05a81 100644 --- a/src/config/cfg_rules.ini +++ b/src/config/cfg_rules.ini @@ -44,6 +44,7 @@ option = override_space validator = ini_allowed_options section_re = ^nss$ +option = timeout option = debug option = debug_level option = debug_timestamps @@ -82,6 +83,7 @@ option = memcache_timeout validator = ini_allowed_options section_re = ^pam$ +option = timeout option = debug option = debug_level option = debug_timestamps @@ -115,6 +117,7 @@ option = p11_child_timeout validator = ini_allowed_options section_re = ^sudo$ +option = timeout option = debug option = debug_level option = debug_timestamps @@ -136,6 +139,7 @@ option = sudo_inverse_order validator = ini_allowed_options section_re = ^autofs$ +option = timeout option = debug option = debug_level option = debug_timestamps @@ -156,6 +160,7 @@ option = autofs_negative_timeout validator = ini_allowed_options section_re = ^ssh$ +option = timeout option = debug option = debug_level option = debug_timestamps @@ -178,6 +183,7 @@ option = ca_db validator = ini_allowed_options section_re = ^pac$ +option = timeout option = debug option = debug_level option = debug_timestamps @@ -199,6 +205,7 @@ option = pac_lifetime validator = ini_allowed_options section_re = ^ifp$ +option = timeout option = debug option = debug_level option = debug_timestamps diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index 2d7c5049f..e4011a384 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -3,6 +3,7 @@ [service] # Options available to all services +timeout = int, None, false debug = int, None, false debug_level = int, None, false debug_timestamps = bool, None, false @@ -20,7 +21,6 @@ diag_cmd = str, None, false # Monitor service services = list, str, true, nss, pam domains = list, str, true -timeout = int, None, false sbus_timeout = int, None, false re_expression = str, None, false full_name_format = str, None, false -- cgit