<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
 
 </head><body style="">
 
  <div>
   Hi,
  </div> 
  <div>
    
  </div> 
  <div>
   I downloaded 'python3-ldap-0.6.0-beta' and tested it. It failed to work for me.
  </div> 
  <pre><br/>from ldap3 import connection, server<br/>from ldap3 import AUTH_SIMPLE, STRATEGY_SYNC, STRATEGY_ASYNC_THREADED, SEARCH_DEREFERENCE_ALWAYS, SEARCH_SCOPE_WHOLE_SUBTREE, GET_ALL_INFO<br/>import pprint<br/>s = server.Server(LDAP_HOST, port = 389, getInfo = GET_ALL_INFO)<br/>c = connection.Connection(s, autoBind = True, clientStrategy = STRATEGY_SYNC, user=LDAP_USER, password=LDAP_PASS, authentication=AUTH_SIMPLE)<br/>print(s.info)<br/>result = c.search('o=hcc','(objectClass=*)', SEARCH_SCOPE_WHOLE_SUBTREE, SEARCH_DEREFERENCE_ALWAYS, attributes = ['cn','ou','uid']);<br/>pprint.PrettyPrinter(indent=4).pprint(c);<br/>pprint.PrettyPrinter(indent=4).pprint(result);<br/>c.unbind();</pre> 
  <div>
   It returns with:
  </div> 
  <pre>Connection(server=Server(host='XXXXX', port=389, ssl=False, getInfo=3), user='XXXXX', password='YYYYYY', autoBind=True, version=3, authentication=1, clientStrategy=0, autoReferrals=True)<br/>False</pre> 
  <div>
    
  </div> 
  <div>
   Is there a way to turn on extra debugging to see where the script is failing?
  </div> 
  <div>
    
  </div> 
  <div>
   Regards,
  </div> 
  <div>
   Paul G.
  </div>
 
</body></html>