Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today! Pure Python Command line interface to change Active Directory Passwords via LDAP. usage: username [password]

Project Description Pure Python Command line interface to change Active Directory Passwords via LDAP.

you need a config file.
config files can either be in the Current Working Directory, or in ~/
config files are always named .adpasswd.cfg and are INI style.


port: 636
binddn: cn=Administrator,CN=Users,DC=ad,DC=blah,DC=com
bindpw: changemequickly
searchdn: DC=ad,DC=blah,DC=com

All of the options above MUST exist, and be configured properly for this to work.

Once you have a config file setup, then it's EASY to use: username [password]

you can call it with a password or not, if you don't you will be prompted for one.

you get NO OUTPUT (but successful return) if everything went well. (good for scripts!)
If things went wrong, you will be told about it.

Bug reports, etc please use launchpad:

CREDITS: originally from
Big thanks for doing all the hard work!

FYI: I no longer use this code in production, nor really maintain it. If you love/use or care about this code, feel free to adopt it or take over ownership.

Release History

This version
History Node


History Node


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
(12.0 kB) Copy SHA256 Hash SHA256
Dumb Binary any Aug 4, 2009
(7.2 kB) Copy SHA256 Hash SHA256
Source None Aug 4, 2009

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers