clear sssd cache when uninstalling client

The SSSD cache is not cleared when uninstalling an IPA client. For tidiness we should wipe the cache. This can be done with sssctl.
Note that this tool is in sssd-tools which is not currently a dependency.

Resolves: https://pagure.io/freeipa/issue/7376
Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
amitkuma
2018-01-30 17:44:01 +05:30
committed by Christian Heimes
parent 1fe795b75b
commit ccec8c6c41
3 changed files with 10 additions and 1 deletions

View File

@@ -378,6 +378,6 @@ class BasePathNamespace(object):
KEYCTL = '/usr/bin/keyctl'
GETENT = '/usr/bin/getent'
SSHD = '/usr/sbin/sshd'
SSSCTL = '/usr/sbin/sssctl'
paths = BasePathNamespace()