Skip to main content
adpasswd.py: Pure Python Command line interface to change Active Directory Passwords via LDAP.

SETUP:
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.

Example:

[ad]
host: ad.blah.com
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:
adpasswd.py 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: https://launchpad.net/adpasswd

CREDITS:
ldaplib.py originally from scmgre@users.sourceforge.net
URL: http://sourceforge.net/projects/ldaplibpy/
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.

Metadata

Release files for adpasswd 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adpasswd 0.2
File Size Uploaded
adpasswd-0.2.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adpasswd 0.2
File Interpreter ABI Platform
adpasswd-0.2.macosx-10.5-i386.tar.gz Details

Total release size: 19.3 kB

Release files / adpasswd-0.2.tar.gz

Download URL adpasswd-0.2.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
71c957c24e67120dfd948babe2b6dd9772051bd6cdd8b25f2bed618d935933ba
BLAKE2b-256 checksum
How to use checksums
6b4debda1587d9ab7bd98ce395a7f8b3ff6eb8f8e0a984935f34f28fd0b9b172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / adpasswd-0.2.macosx-10.5-i386.tar.gz

Download URL adpasswd-0.2.macosx-10.5-i386.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3acf199109ac470458cd90fea66cee1aca65e6ce9ecabf68b627b1295214e825
BLAKE2b-256 checksum
How to use checksums
3444f84e4b3414b5b6096e25c10c8a2c17a5b272fe178de58cd87e431ffe0b37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

2 release files

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page