<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    All,<br>
    <br>
    I've recently deployed 389 on our compute cluster, and I found the
    389-console to be frustrating and limiting in some ways[0].&nbsp; One of
    the things I missed most was being able to add users *easily* from
    the command line.&nbsp; 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.<br>
    <br>
    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.&nbsp; The script is on my github account[2]. <br>
    <br>
    Hope someone else can take advantage of (and improve!) it.&nbsp; Thanks!<br>
    <br>
    [0]<font color="#000000"> </font><a class="moz-txt-link-freetext" href="http://mjanja.co.ke/2013/06/useradd-bash-script-for-389-ldap/">http://mjanja.co.ke/2013/06/useradd-bash-script-for-389-ldap/</a><br>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <font color="#000000">[1]
      <a class="moz-txt-link-freetext" href="https://www.redhat.com/resourcelibrary/whitepapers/netgroupwhitepaper">https://www.redhat.com/resourcelibrary/whitepapers/netgroupwhitepaper</a></font><br>
    [2]
<a class="moz-txt-link-freetext" href="https://github.com/alanorth/hpc_infrastructure_scripts/blob/master/389/389_useradd.sh">https://github.com/alanorth/hpc_infrastructure_scripts/blob/master/389/389_useradd.sh</a><br>
    <pre class="moz-signature" cols="72">-- 
Alan Orth
<a class="moz-txt-link-abbreviated" href="mailto:alan.orth@gmail.com">alan.orth@gmail.com</a>
<a class="moz-txt-link-freetext" href="http://alaninkenya.org">http://alaninkenya.org</a>
<a class="moz-txt-link-freetext" href="http://mjanja.co.ke">http://mjanja.co.ke</a>
"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++
</pre>
  </body>
</html>