diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2014-06-08 10:16:37 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2014-06-08 10:16:37 +0100 |
commit | f74a5ed5b9f1d867b6b91cb972982319b692fa2e (patch) | |
tree | b91dab5f1b2fdb4d43a93673a3aadb9bc2ff7a7d | |
parent | 18ff1137365fc6fa7e6db260343444484dd07fe2 (diff) | |
download | sos-f74a5ed5b9f1d867b6b91cb972982319b692fa2e.tar.gz |
[ldap] Fix do_cmd_output_sub() use
Fixes #179.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/ldap.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sos/plugins/ldap.py b/sos/plugins/ldap.py index eb8e7556..cbbd6a7f 100644 --- a/sos/plugins/ldap.py +++ b/sos/plugins/ldap.py @@ -80,7 +80,9 @@ class DebianLdap(Ldap, DebianPlugin, UbuntuPlugin): def postproc(self): super(RedHatLdap, self).postproc() self.do_cmd_output_sub( - "ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config '(!(objectClass=olcSchemaConfig))'", - r"(olcRootPW\: \s*)\S+", r"\1********") + "ldapsearch" + r"(olcRootPW\: \s*)\S+", + r"\1********" + ) # vim: et ts=4 sw=4 |