Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion sssd_test_framework/utils/sssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,6 +998,7 @@ def ldap_provider(
tls_reqcert: str = "demand",
ssl: bool = False,
config: dict[str, str] | None = None,
check_config: bool = True,
) -> None:
"""
Configure SSSD to use the ldap_provider to connect to IPA or AD.
Expand All @@ -1022,6 +1023,8 @@ def ldap_provider(
:type ssl: bool
:param config: Additional configuration, optional
:type config: dict[str, str] | None
:param check_config: Run config validation, defaults to True
:type check_config: bool
"""
self.sssd.domain.clear()
self.sssd.domain.update(
Expand Down Expand Up @@ -1057,7 +1060,7 @@ def ldap_provider(
for key, value in config.items():
self.sssd.domain[key] = value

self.sssd.config_apply()
self.sssd.config_apply(check_config=check_config)

def proxy(
self,
Expand Down
Loading