Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple Active Directory user authorization tool.

Project description


Simple Python library to verify a user’s credentials against Active Directory


  • Python >= 2
  • ldap3


  • pip install pyad_auth


  • Include pyad_auth in your project

  • Use pyad_auth.connect() to connect to the server:

        server = pyad_auth.connect("myip", port)
    except Exception as e:
        # handle exception
  • Use pyad_auth.auth() to verify if the user is in Active Directory:

        authenticated = pyad_auth.auth(server, "username", "password")
    except Exception as e:
        # handle exception

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyad_auth, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyad_auth-0.0.2.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page