summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfigTest.py
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-12-02 14:19:09 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-06-02 19:07:57 +0200
commitae0a5011e2644eaa482ea1b9e1451eff05c676b9 (patch)
tree5bd7d3a18835317192c9a05eeae6b3234104a489 /src/config/SSSDConfigTest.py
parent5cd660aaa885bca95ac3dca660bb77e5786d5f8e (diff)
downloadsssd-ae0a5011e2644eaa482ea1b9e1451eff05c676b9.tar.gz
sssd-ae0a5011e2644eaa482ea1b9e1451eff05c676b9.tar.xz
sssd-ae0a5011e2644eaa482ea1b9e1451eff05c676b9.zip
NSS: Add option to expand homedir template format
LDAP server can contain template for home directory instead of plain string. This patch adds new expand option "%H", which will be replaced with value from configuration option homedir_substring (from sssd.conf) Resolves: https://fedorahosted.org/sssd/ticket/1853
Diffstat (limited to 'src/config/SSSDConfigTest.py')
-rwxr-xr-xsrc/config/SSSDConfigTest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/SSSDConfigTest.py b/src/config/SSSDConfigTest.py
index a3c25540d..d4ed06ae8 100755
--- a/src/config/SSSDConfigTest.py
+++ b/src/config/SSSDConfigTest.py
@@ -522,6 +522,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'case_sensitive',
'override_homedir',
'fallback_homedir',
+ 'homedir_substring',
'override_shell',
'default_shell',
'pwd_expiration_warning',
@@ -879,6 +880,7 @@ class SSSDConfigTestSSSDDomain(unittest.TestCase):
'case_sensitive',
'override_homedir',
'fallback_homedir',
+ 'homedir_substring',
'override_shell',
'default_shell',
'pwd_expiration_warning',