Socket
Socket
Sign inDemoInstall

adpasswd

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

adpasswd

adpasswd.py Pure Python Command line interface to change Active Directory Passwords via LDAP. usage: adpasswd.py username [password]


Maintainers
1

Readme

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.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc