Authenticating against active directory using python + ldap

后端 未结 11 1097
孤街浪徒
孤街浪徒 2020-11-28 17:48

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

11条回答
  •  感动是毒
    2020-11-28 18:13

    Use a Distinguished Name to log on your system."CN=Your user,CN=Users,DC=b2t,DC=local" It should work on any LDAP system, including AD

提交回复
热议问题