Really strange error

Michael Ströder michael at stroeder.com
Sat Aug 2 01:03:08 CEST 2008


Michael Ströder wrote:
> Jonathan Hansen wrote:
>> When I run the script below it binds successfully, but then when I 
>> try  and run the search says it cannot contact the server. I have 
>> verified  the service is running, ports are open, it binds without 
>> error so I am  quite confused.
> 
> You could use tracelevel=2 when calling ldap.initialize()

Sorry, it's argument trace_level like documented here:

http://python-ldap.sourceforge.net/doc/html/ldap.html#ldap.initialize

Ciao, Michael.



More information about the python-ldap mailing list