summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2013-05-23 08:10:25 -0400
committerJakub Hrozek <jhrozek@redhat.com>2013-05-23 17:06:23 +0200
commit7c100872c56b3bc0bd820e600fefbcfedf179283 (patch)
treef2cbe5f43c03ae4dc91d7c49ae851627eeab3f97
parent6263578b03a52b3ec3a2e33e097554241780fc20 (diff)
downloadsssd-7c100872c56b3bc0bd820e600fefbcfedf179283.tar.gz
sssd-7c100872c56b3bc0bd820e600fefbcfedf179283.tar.bz2
sssd-7c100872c56b3bc0bd820e600fefbcfedf179283.zip
Add 'description' attribute to SSSDConfig API
It was mentioned in the manpages, but not accepted by the API
-rwxr-xr-xsrc/config/SSSDConfigTest.py3
-rw-r--r--src/config/etc/sssd.api.conf2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index 9de4b2b4..d0365c96 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 54cd703e..580aeaaa 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