On Fri, Mar 30, 2007 at 11:25:51PM -0700, Adam Megacz wrote: > > Davor Ocelic <[EMAIL PROTECTED]> writes: > >> Just leave out the "-id xxx" argument to "pts createuser" and it > >> will do this safely. > > > Of course, but that wouldn't make the ID match with LDAP. > > Okay, I've added code to let pts choose the ID and then pass that to > the LDAP stuff. I also added a "sudo" before ldapadd and fixed the > script so that it will work properly when the pts entries already > exist (ie if a previous creation attempt failed halfway through). > > However, do we need to store numeric userids in LDAP?
Cool stuff. With nss-ptdb, no, I don't think we need. I will modify server's schema to consider uidNumber optional and not required field. _______________________________________________ HCoop-SysAdmin mailing list [email protected] http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-sysadmin
