From 7c100872c56b3bc0bd820e600fefbcfedf179283 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 23 May 2013 08:10:25 -0400 Subject: Add 'description' attribute to SSSDConfig API It was mentioned in the manpages, but not accepted by the API --- src/config/SSSDConfigTest.py | 3 ++- src/config/etc/sssd.api.conf | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py index 9de4b2b45..d0365c966 100755 --- a/src/config/SSSDConfigTest.py +++ b/src/config/SSSDConfigTest.py @@ -288,7 +288,8 @@ class SSSDConfigTestSSSDService(unittest.TestCase): 'command', 'reconnection_retries', 'fd_limit', - 'client_idle_timeout'] + 'client_idle_timeout', + 'description'] self.assertTrue(type(options) == dict, "Options should be a dictionary") diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index 54cd703e3..580aeaaaf 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -12,6 +12,7 @@ reconnection_retries = int, None, false fd_limit = int, None, false client_idle_timeout = int, None, false force_timeout = int, None, false +description = str, None, false [sssd] # Monitor service @@ -112,6 +113,7 @@ override_homedir = str, None, false fallback_homedir = str, None, false override_shell = str, None, false default_shell = str, None, false +description = str, None, false #Entry cache timeouts entry_cache_user_timeout = int, None, false -- cgit