Skip to content

Commit

Permalink
FIXUP - Updating intg tests
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-stephenson committed Sep 29, 2023
1 parent 733f42d commit dbd9c16
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/tests/intg/ldap_local_override_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def prepare_sssd(request, ldap_conn, use_fully_qualified_names=False,
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_enumeration.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def format_basic_conf(ldap_conn, schema):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
debug_level = 0xffff
enumerate = true
{schema_conf}
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_infopipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def format_basic_conf(ldap_conn, schema, config):
ldap_search_base = {ldap_conn.ds_inst.base_dn}
ldap_user_extra_attrs = extraName:uid
ldap_user_certificate = userCert
ldap_id_use_start_tls = allow
[application/app]
inherit_from = LDAP
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def format_basic_conf(ldap_conn, schema):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
debug_level = 0xffff
{schema_conf}
id_provider = ldap
Expand Down
8 changes: 8 additions & 0 deletions src/tests/intg/test_memory_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def disable_memcache_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand All @@ -190,6 +191,7 @@ def disable_pwd_mc_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand All @@ -216,6 +218,7 @@ def disable_grp_mc_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand All @@ -242,6 +245,7 @@ def disable_initgr_mc_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand All @@ -267,6 +271,7 @@ def sanity_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand All @@ -292,6 +297,7 @@ def fqname_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand All @@ -318,6 +324,7 @@ def fqname_case_insensitive_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand Down Expand Up @@ -346,6 +353,7 @@ def zero_timeout_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_netgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def format_basic_conf(ldap_conn, schema):
auth_provider = ldap
ldap_uri = {ldap_conn.ds_inst.ldap_url}
ldap_search_base = {ldap_conn.ds_inst.base_dn}
ldap_id_use_start_tls = allow
ldap_netgroup_search_base = ou=Netgroups,{ldap_conn.ds_inst.base_dn}
""").format(**locals())

Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_pysss_nss_idmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def format_basic_conf(ldap_conn, ignore_unreadable_refs):
ldap_default_bind_dn = {ldap_conn.ad_inst.admin_dn}
ldap_default_authtok_type = password
ldap_default_authtok = {ldap_conn.ad_inst.admin_pw}
ldap_id_use_start_tls = allow
ldap_schema = ad
ldap_id_mapping = true
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def format_basic_conf(ldap_conn, schema):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
debug_level = 0xffff
{schema_conf}
id_provider = ldap
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_session_recording.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ def format_basic_conf(ldap_conn, schema):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
debug_level = 0xffff
enumerate = true
{schema_conf}
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_ssh_pubkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def format_basic_conf(ldap_conn, schema, config):
ldap_uri = {ldap_conn.ds_inst.ldap_url}
ldap_search_base = {ldap_conn.ds_inst.base_dn}
ldap_sudo_use_host_filter = false
ldap_id_use_start_tls = allow
debug_level=10
ldap_user_certificate = userCertificate;binary
""").format(**locals())
Expand Down
3 changes: 3 additions & 0 deletions src/tests/intg/test_sssctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def sanity_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand All @@ -169,6 +170,7 @@ def fqname_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand All @@ -195,6 +197,7 @@ def fqname_case_insensitive_rfc2307(request, ldap_conn):
[domain/LDAP]
ldap_auth_disable_tls_never_use_in_production = true
ldap_id_use_start_tls = allow
ldap_schema = rfc2307
id_provider = ldap
auth_provider = ldap
Expand Down
1 change: 1 addition & 0 deletions src/tests/intg/test_sudo.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def format_basic_conf(ldap_conn, schema):
ldap_search_base = {ldap_conn.ds_inst.base_dn}
ldap_sudo_use_host_filter = false
ldap_sudo_random_offset = 0
ldap_id_use_start_tls = allow
debug_level=10
""").format(**locals())

Expand Down
2 changes: 2 additions & 0 deletions src/tests/intg/test_ts_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ def setup_rfc2307bis(request, ldap_conn):
auth_provider = ldap
sudo_provider = ldap
ldap_group_object_class = groupOfNames
ldap_id_use_start_tls = allow
ldap_uri = {ldap_conn.ds_inst.ldap_url}
ldap_search_base = {ldap_conn.ds_inst.base_dn}
""").format(**locals())
Expand All @@ -186,6 +187,7 @@ def setup_rfc2307(request, ldap_conn):
id_provider = ldap
auth_provider = ldap
sudo_provider = ldap
ldap_id_use_start_tls = allow
ldap_uri = {ldap_conn.ds_inst.ldap_url}
ldap_search_base = {ldap_conn.ds_inst.base_dn}
""").format(**locals())
Expand Down

0 comments on commit dbd9c16

Please sign in to comment.