ldap_attr: fix small bug (using wrong variable) (#67887)
Changed self.name to name in ldap_attr module
This commit is contained in:
parent
70fc69c852
commit
db2d5b09ef
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class LdapAttrs(LdapGeneric):
|
|||
results = self.connection.search_s(
|
||||
self.dn, ldap.SCOPE_BASE, attrlist=[name])
|
||||
except ldap.LDAPError as e:
|
||||
self.fail("Cannot search for attribute %s" % self.name, e)
|
||||
self.fail("Cannot search for attribute %s" % name, e)
|
||||
|
||||
current = results[0][1].get(name, [])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue