diff options
-rw-r--r-- | sos/plugins/ldap.py | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/sos/plugins/ldap.py b/sos/plugins/ldap.py index cbbd6a7f..a7ba9762 100644 --- a/sos/plugins/ldap.py +++ b/sos/plugins/ldap.py @@ -46,10 +46,16 @@ class RedHatLdap(Ldap, RedHatPlugin): def postproc(self): super(RedHatLdap, self).postproc() - self.do_file_sub("/etc/nslcd.conf", - r"(\s*bindpw\s*)\S+", r"\1********") - self.do_file_sub("/etc/pam_ldap.conf", - r"(\s*bindpw\s*)\S+", r"\1********") + self.do_file_sub( + "/etc/nslcd.conf", + r"(\s*bindpw\s*)\S+", + r"\1********" + ) + self.do_file_sub( + "/etc/pam_ldap.conf", + r"(\s*bindpw\s*)\S+", + r"\1********" + ) class DebianLdap(Ldap, DebianPlugin, UbuntuPlugin): """LDAP related information for Debian based distribution |