active-directory

Authenticating against active directory using python + ldap

Authenticating against active directory using python + ldap Question: How do I authenticate against AD using Python + LDAP. I’m currently using the python-ldap library and all it is producing is tears. I can’t even bind to perform a simple query: import sys import ldap Server = “ldap://my-ldap-server” DN, Secret, un = sys.argv[1:4] Base = …

Total answers: 11