diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py index 0481dc56e..99e75f235 100644 --- a/ipaplatform/base/paths.py +++ b/ipaplatform/base/paths.py @@ -342,6 +342,7 @@ class BasePathNamespace: SSSD_DB = "/var/lib/sss/db" SSSD_MC_GROUP = "/var/lib/sss/mc/group" SSSD_MC_PASSWD = "/var/lib/sss/mc/passwd" + SSSD_MC_INITGROUPS = "/var/lib/sss/mc/initgroups" SSSD_PUBCONF_DIR = "/var/lib/sss/pubconf" SSSD_PUBCONF_KNOWN_HOSTS = "/var/lib/sss/pubconf/known_hosts" SSSD_PUBCONF_KRB5_INCLUDE_D_DIR = "/var/lib/sss/pubconf/krb5.include.d/" diff --git a/ipatests/pytest_ipa/integration/tasks.py b/ipatests/pytest_ipa/integration/tasks.py index de8c70c48..a1d0575ab 100755 --- a/ipatests/pytest_ipa/integration/tasks.py +++ b/ipatests/pytest_ipa/integration/tasks.py @@ -872,6 +872,7 @@ def clear_sssd_cache(host): "xargs rm -fv") host.run_command(['rm', '-fv', paths.SSSD_MC_GROUP]) host.run_command(['rm', '-fv', paths.SSSD_MC_PASSWD]) + host.run_command(['rm', '-fv', paths.SSSD_MC_INITGROUPS]) if systemd_available: host.run_command(['systemctl', 'start', 'sssd'])