summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-04-26 11:35:43 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-04-27 11:47:24 -0400
commitf373ef3a3901d30d8460a178714b700afb687d2c (patch)
tree38dc710f0be698a17a8f2cbe4ba2d4337927ef89
parentb35da26911249aa48052655eef02f16e12930cf9 (diff)
downloadsssd-f373ef3a3901d30d8460a178714b700afb687d2c.tar.gz
sssd-f373ef3a3901d30d8460a178714b700afb687d2c.tar.xz
sssd-f373ef3a3901d30d8460a178714b700afb687d2c.zip
Add "description" option to SSSDConfig API
https://fedorahosted.org/sssd/ticket/850
-rwxr-xr-xsrc/config/SSSDConfigTest.py2
-rw-r--r--src/config/etc/sssd.api.conf1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index af32acc67..8931cdf37 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -462,6 +462,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
# First test default options
options = domain.list_options()
control_list = [
+ 'description',
'debug_level',
'debug_timestamps',
'min_id',
@@ -765,6 +766,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
# First test default options
options = domain.list_options()
control_list = [
+ 'description',
'debug_level',
'debug_timestamps',
'min_id',
diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf
index 975cd2d1f..8885a85fe 100644
--- a/src/config/etc/sssd.api.conf
+++ b/src/config/etc/sssd.api.conf
@@ -46,6 +46,7 @@ chpass_provider = str, None, false
[domain]
# Options available to all domains
+description = str, None, false
debug_level = int, None, false
debug_timestamps = bool, None, false
command = str, None, false