Skip to main content

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyad_auth-0.0.2.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None Feb 25, 2016

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page