diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2017-09-12 10:45:16 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2017-09-13 10:15:14 +0200 |
commit | c51334a1147ee657d49a05351eec9c41349a92fb (patch) | |
tree | 042a55eba1d06e4ea6eef2203f59021bca91f93f | |
parent | 0e3091daa2864e9217e9f3925a36255e66a198b5 (diff) | |
download | sssd-c51334a1147ee657d49a05351eec9c41349a92fb.tar.gz sssd-c51334a1147ee657d49a05351eec9c41349a92fb.tar.xz sssd-c51334a1147ee657d49a05351eec9c41349a92fb.zip |
CONFIG: Fix schema for try_inotify
It is read only from "[sssd]" section.
Resolves:
https://pagure.io/SSSD/sssd/issue/3511
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
(cherry picked from commit 895584001760e8188db486bc39f9938624822d35)
(cherry picked from commit 69e61a52493a8c143f83763c2dd783cabea5c9f4)
-rwxr-xr-x | src/config/SSSDConfigTest.py | 6 | ||||
-rw-r--r-- | src/config/etc/sssd.api.conf | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py index 16057ea22..90ac7f2c0 100755 --- a/src/config/SSSDConfigTest.py +++ b/src/config/SSSDConfigTest.py @@ -362,7 +362,9 @@ class SSSDConfigTestSSSDService(unittest.TestCase): 'client_idle_timeout', 'description', 'certificate_verification', - 'override_space'] + 'override_space', + 'try_inotify', + ] self.assertTrue(type(options) == dict, "Options should be a dictionary") @@ -557,7 +559,6 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): 'timeout', 'force_timeout', 'offline_timeout', - 'try_inotify', 'command', 'enumerate', 'cache_credentials', @@ -926,7 +927,6 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase): 'timeout', 'force_timeout', 'offline_timeout', - 'try_inotify', 'command', 'enumerate', 'cache_credentials', diff --git a/src/config/etc/sssd.api.conf b/src/config/etc/sssd.api.conf index ccbee87d5..609889287 100644 --- a/src/config/etc/sssd.api.conf +++ b/src/config/etc/sssd.api.conf @@ -28,6 +28,7 @@ user = str, None, false default_domain_suffix = str, None, false certificate_verification = str, None, false override_space = str, None, false +try_inotify = bool, None, false [nss] # Name service @@ -113,7 +114,6 @@ command = str, None, false min_id = int, None, false max_id = int, None, false timeout = int, None, false -try_inotify = bool, None, false enumerate = bool, None, false subdomain_enumerate = str, None, false force_timeout = int, None, false |