summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfigTest.py
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2017-02-21 16:34:45 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2017-02-27 19:14:15 +0100
commit78bb3676fe8326e0fe2b60daad8bf524e4625d4e (patch)
tree180f873e99228f72b5cfdfbb58cf7b5e1ab240ee /src/config/SSSDConfigTest.py
parenteed5bc53a0c823276523d32e76bc1c264db3837e (diff)
downloadsssd-78bb3676fe8326e0fe2b60daad8bf524e4625d4e.tar.gz
sssd-78bb3676fe8326e0fe2b60daad8bf524e4625d4e.tar.xz
sssd-78bb3676fe8326e0fe2b60daad8bf524e4625d4e.zip
MONITOR: Enable an implicit files domain if one is not configured
If SSSD is compiled with --enable-files-domain, the loading of the domains changes such that: * if no domain with id_provider=files exists in the config file, an implicit SSSD files domain is added * this domain is always first in the list The administrator is free to create a files domain in the config file himself and either place it at the end of the list or not enable it at all. Resolves: https://pagure.io/SSSD/sssd/issue/3112 Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/config/SSSDConfigTest.py')
-rwxr-xr-xsrc/config/SSSDConfigTest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index 0da5d63a1..8cb03adcb 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -312,7 +312,8 @@ class SSSDConfigTestSSSDService(unittest.TestCase):
'description',
'certificate_verification',
'override_space',
- 'disable_netlink']
+ 'disable_netlink',
+ 'enable_files_domain']
self.assertTrue(type(options) == dict,
"Options should be a dictionary")