LDAP query using Python: always no result
- by Grey
I am trying to use python to query LDAP server, and it always returns me no result. and anyone help me find what wrong with my python code? it runs fine without excpetions, and it always has no result. i played around with the filter like "cn=partofmyname" but just no luck.
thanks for help
import ldap
try:
l = ldap.open("server")
…