summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2017-02-21 21:05:25 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2017-02-27 19:15:09 +0100
commit76b6d7fb9f31f7836158d248161aec3558098659 (patch)
tree76602afc849677024423ffbb708d76f06c678b28 /src/tests
parent78bb3676fe8326e0fe2b60daad8bf524e4625d4e (diff)
downloadsssd-76b6d7fb9f31f7836158d248161aec3558098659.tar.gz
sssd-76b6d7fb9f31f7836158d248161aec3558098659.tar.xz
sssd-76b6d7fb9f31f7836158d248161aec3558098659.zip
TESTS: Enable the files domain for all integration tests
This is done to make sure that enabling the files domain doesn't break existing functionality as well as making it possible to even that the implicit domain, since all integration tests use the same configuration. Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/intg/test_enumeration.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/tests/intg/test_enumeration.py b/src/tests/intg/test_enumeration.py
index 5cb6c3e07..47772dea2 100644
--- a/src/tests/intg/test_enumeration.py
+++ b/src/tests/intg/test_enumeration.py
@@ -98,7 +98,12 @@ SCHEMA_RFC2307_BIS = "rfc2307bis"
def format_basic_conf(ldap_conn, schema):
- """Format a basic SSSD configuration"""
+ """
+ Format a basic SSSD configuration
+
+ The files domain is defined but not enabled in order to avoid enumerating
+ users from the files domain that would otherwise by implicitly enabled
+ """
schema_conf = "ldap_schema = " + schema + "\n"
if schema == SCHEMA_RFC2307_BIS:
schema_conf += "ldap_group_object_class = groupOfNames\n"
@@ -115,6 +120,9 @@ def format_basic_conf(ldap_conn, schema):
[pam]
debug_level = 0xffff
+ [domain/files]
+ id_provider = files
+
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
debug_level = 0xffff