summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-01-17 10:56:06 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-01-17 12:19:00 -0500
commit2be33d8ea8ec8128d52359ed01f52c9df252a70c (patch)
treeb9ef81786edd80b7a7c98fce87a999ce495075ca /src
parent8d00718b943ab8b326320feb50820f0663031817 (diff)
downloadsssd-2be33d8ea8ec8128d52359ed01f52c9df252a70c.tar.gz
sssd-2be33d8ea8ec8128d52359ed01f52c9df252a70c.tar.bz2
sssd-2be33d8ea8ec8128d52359ed01f52c9df252a70c.zip
Do not force a default for debug_level
Diffstat (limited to 'src')
-rwxr-xr-xsrc/config/SSSDConfigTest.py3
-rw-r--r--src/config/etc/sssd.api.conf2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index 8991f365..60fb0a24 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -963,9 +963,6 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
def testGetOption(self):
domain = SSSDConfig.SSSDDomain('sssd', self.schema)
- # Positive Test - Ensure that we can get a valid option
- self.assertEqual(domain.get_option('debug_level'), 0)
-
# Negative Test - Try to get valid option that is not set
self.assertRaises(SSSDConfig.NoOptionError, domain.get_option, 'max_id')
diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf
index 5127b852..426c5142 100644
--- a/src/config/etc/sssd.api.conf
+++ b/src/config/etc/sssd.api.conf
@@ -45,7 +45,7 @@ chpass_provider = str, None, false
[domain]
# Options available to all domains
-debug_level = int, None, false, 0
+debug_level = int, None, false
debug_timestamps = bool, None, false
command = str, None, false
min_id = int, None, false