aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-06-08 10:16:37 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-06-08 10:16:37 +0100
commitf74a5ed5b9f1d867b6b91cb972982319b692fa2e (patch)
treeb91dab5f1b2fdb4d43a93673a3aadb9bc2ff7a7d
parent18ff1137365fc6fa7e6db260343444484dd07fe2 (diff)
downloadsos-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.py6
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