This commit is contained in:
parent
c7fc39c77c
commit
81736714a1
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class MyLdapClient(LdapClient):
|
||||||
# pylint: disable=super-init-not-called
|
# pylint: disable=super-init-not-called
|
||||||
def __init__(self, scripts_options):
|
def __init__(self, scripts_options):
|
||||||
self.options = scripts_options
|
self.options = scripts_options
|
||||||
logging.info(u"Connect to LDAP server %s", self.options.host)
|
logging.info("Connect to LDAP server %s", self.options.host)
|
||||||
self.cnx = LdapServer(
|
self.cnx = LdapServer(
|
||||||
self.options.host, dn=self.options.dn, pwd=self.options.pwd,
|
self.options.host, dn=self.options.dn, pwd=self.options.pwd,
|
||||||
v2=self.options.ldapv2)
|
v2=self.options.ldapv2)
|
||||||
|
|
Loading…
Reference in a new issue