Authenticating against active directory using python + ldap

后端 未结 11 1090
孤街浪徒
孤街浪徒 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:14

    I see your comment to @Johan Buret about the DN not fixing your problem, but I also believe that is what you should look into.

    Given your example, the DN for the default administrator account in AD will be: cn=Administrator,cn=Users,dc=mydomain,dc=co,dc=uk - please try that.

提交回复
热议问题