I began to learn Python to like the conciseness and simplicity of the language, but with AD or Ldap I could not make friends with it, some unreadable tin is obtained. I need to log in to the domain and get complete user data. How do I implement this? Is there no ready code? With reference to Python3.

    1 answer 1

    There is a ldap3 module. There are both for Python2, and for Python3.

    You can also look at the activedirectory module (not sure if Python3 is supported).