in asfpy/aioldap.py [0:0]
def __init__(self, uri, binddn, bindpw):
self.client = bonsai.LDAPClient(uri)
self.client.set_credentials("SIMPLE", binddn, bindpw)
self.client.set_cert_policy("allow") # TODO: Load our cert(?)
self.executor = concurrent.futures.ThreadPoolExecutor(
thread_name_prefix='aioldap')