aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Bouchard <louis.bouchard@canonical.com>2015-08-25 15:35:41 +0200
committerAdam Stokes <adam.stokes@ubuntu.com>2015-08-26 09:12:53 -0400
commit069df9ad9a4517f38bfe541f0efd663b8437896f (patch)
tree5b21de17b816920841a0e0bb1789fd9fce189949
parentebe0c95be7ad7b8061aaf9c9ce3379f33b4e1734 (diff)
downloadsos-069df9ad9a4517f38bfe541f0efd663b8437896f.tar.gz
[ldap] Fix plugin runtime failure on debian based
Plugin should call DebianPlugin class and missing comma in call. Closes #626 Closes #627 Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/ldap.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/ldap.py b/sos/plugins/ldap.py
index 0d188409..bc688477 100644
--- a/sos/plugins/ldap.py
+++ b/sos/plugins/ldap.py
@@ -94,9 +94,9 @@ class DebianLdap(Ldap, DebianPlugin, UbuntuPlugin):
suggest_filename="access_control_lists")
def postproc(self):
- super(RedHatLdap, self).postproc()
+ super(DebianLdap, self).postproc()
self.do_cmd_output_sub(
- "ldapsearch"
+ "ldapsearch",
r"(olcRootPW\: \s*)\S+",
r"\1********"
)