aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-01-31 15:25:15 +0000
committerBryn M. Reeves <bmr@redhat.com>2014-01-31 15:25:15 +0000
commitc344b0396b4ef4435860eb6e3954972e028e3491 (patch)
tree1336098a4dd82bb265b345c4dc345d84fab0f036
parent4ab4b086c1011997246c40d4c97079c3c001031c (diff)
downloadsos-c344b0396b4ef4435860eb6e3954972e028e3491.tar.gz
Remove obsolete diagnostics code from ldap plugin
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/ldap.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/sos/plugins/ldap.py b/sos/plugins/ldap.py
index 361de73f..f1032a9c 100644
--- a/sos/plugins/ldap.py
+++ b/sos/plugins/ldap.py
@@ -22,18 +22,6 @@ class Ldap(Plugin):
plugin_name = "ldap"
ldap_conf = "/etc/openldap/ldap.conf"
- def get_ldap_opts(self):
- # capture /etc/openldap/ldap.conf options in dict
- # FIXME: possibly not hardcode these options in?
- ldapopts=["URI","BASE","TLS_CACERTDIR"]
- results={}
- tmplist=[]
- for i in ldapopts:
- t=self.do_regex_find_all(r"^(%s)\s+(.*)" % i,self.ldap_conf)
- for x in t:
- results[x[0]]=x[1].rstrip("\n")
- return results
-
def setup(self):
super(Ldap, self).setup()
self.add_copy_spec("/etc/ldap.conf")