diff options
-rw-r--r-- | sos/plugins/sssd.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sos/plugins/sssd.py b/sos/plugins/sssd.py index 1b20ff3c..29ef8c8f 100644 --- a/sos/plugins/sssd.py +++ b/sos/plugins/sssd.py @@ -28,13 +28,16 @@ class Sssd(Plugin): def setup(self): self.add_copy_spec([ "/etc/sssd/sssd.conf", - "/var/log/sssd/*" + "/var/log/sssd/*", + # SSSD 1.14 + "/etc/sssd/conf.d/*.conf" ]) def postproc(self): - self.do_file_sub("/etc/sssd/sssd.conf", - r"(\s*ldap_default_authtok\s*=\s*)\S+", - r"\1********") + regexp = r"(\s*ldap_default_authtok\s*=\s*)\S+" + + self.do_file_sub("/etc/sssd/sssd.conf", regexp, r"\1********") + self.do_path_regex_sub("/etc/sssd/conf.d/*", regexp, r"\1********") class RedHatSssd(Sssd, RedHatPlugin): |