All,

I've recently deployed 389 on our compute cluster, and I found the 389-console to be frustrating and limiting in some ways[0].  One of the things I missed most was being able to add users *easily* from the command line.  I had a quick search around and found only one mention of a tool for this, an example shell script from the Red Hat Netgroup whitepaper[1] in 2008.

I've taken this script and modernized it a bit, including things like auto incrementing the user and group IDs based on the latest UID/GID in the directory.  The script is on my github account[2].

Hope someone else can take advantage of (and improve!) it.  Thanks!

[0] http://mjanja.co.ke/2013/06/useradd-bash-script-for-389-ldap/
[1] https://www.redhat.com/resourcelibrary/whitepapers/netgroupwhitepaper
[2] https://github.com/alanorth/hpc_infrastructure_scripts/blob/master/389/389_useradd.sh
-- 
Alan Orth
alan.orth@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." -Bjarne Stroustrup, inventor of C++