From: Michael S. <mi...@st...> - 2008-08-01 22:49:41
|
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() to track things down. This generates debug output of the parameters passed to the LDAPObject methods and the results returned. > This may seem overly complicated but I am trying to build a framework > with which I can run queries against the active directory domain. Something like this? http://www.boskant.nl/trac/python-ad/ Ciao, Michael. |