aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stokes <adam.stokes@ubuntu.com>2014-08-01 11:29:08 -0400
committerBryn M. Reeves <bmr@redhat.com>2014-08-01 17:31:01 +0100
commit8c662fa9d2b5f36c2ead473b27399d1aa190a721 (patch)
tree6c36e14cc7fd0bd476632c3997427d7b9f6d9de8
parent1a30eaa4d264427859a265e71b140fa5996d4952 (diff)
downloadsos-8c662fa9d2b5f36c2ead473b27399d1aa190a721.tar.gz
[ldap] - fix undefined variable ldap_conf
Code was attempting to access a variable within the incorrect scope. Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/ldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/ldap.py b/sos/plugins/ldap.py
index a0d4f018..d086fd06 100644
--- a/sos/plugins/ldap.py
+++ b/sos/plugins/ldap.py
@@ -78,7 +78,7 @@ class DebianLdap(Ldap, DebianPlugin, UbuntuPlugin):
ldap_search = "ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// "
self.add_copy_specs([
- ldap_conf,
+ self.ldap_conf,
"/etc/slapd.conf",
"/etc/ldap/slapd.d"
])