addluser.py is a simple Python app that provides adduser/useradd style functionality. It takes input from the command line and creates an entry in a pre-existing RFC2307-compliant LDAP server.
| Tags | Utilities Systems Administration |
|---|---|
| Licenses | Public Domain |
| Implementation | Python |
Recent releases


Changes: A fix for a Python-LDAP naming issue (now imports from ldap, rather than implicitly _ldap), and password confirmation when adding a new user.


Changes: This update to the addluser.py script adds a getsalt() function used by the password creation segment. This is a far better solution than the static salt of previous versions.


Changes: UID validity checking, and a new flag, -n, which will check for the next available uid/gid based on an offset. The offset is either the user provided uid/gid on the command line, or the default listed within the code.


Changes: This release fixes an issue with how CN defaults were handled and adds a "remove" user feature with the "-r" flag.


Changes: Intial release. It works but may not work with your selected password hash for your system. It currently uses standard crypt().
Creates complete Web pages with CSS and converts from wiki syntax to XHTML.