def __init__(self, ldap_cfg):
        ldap_cfg = toUTF8(ldap_cfg)
        self.server = "ldap://%s:%s" % (ldap_cfg['host'], ldap_cfg['port'])
        self.users_base_dn = ldap_cfg['users_base_dn']
dataset/ETHPy150Open Net-ng/kansha/kansha/authentication/ldap/ldap_auth.py/LDAPAuth.__init__/original