The best way is to grab the smbldap-installer package from the site http://majen.net/smbldap untar it and use the createusers script. Theres also a password script too.
Clay Berlo <[EMAIL PROTECTED]> writes: >Perhaps to make things a bit easier for future searches, you could post >an URL for that tool to this list? I know it gets archived and I can >find pretty much anything I know has been mentioned on it through >Google. Googling "mass user creation" seems to get a lot of Windows UMRA >hits and mention that "you can whip up a bash script pretty quickly..." >(but no clear howtos!). > >Also, I know my script could definitely use some optimization and/or >cleaning up to make it a bit more user friendly, so perhaps between the >two sources something better will evolve. > >On Wed, 2007-10-01 at 14:05 -0500, David Trask wrote: > > > >Clay Berlo <[ mailto:[EMAIL PROTECTED] >[EMAIL PROTECTED]> writes: >>Having spent the morning working out a BASH script to create batches of >>user accounts at once, I'd like to know if anyone else would be >>interested in this script or has a better one handy that does about the >>same function. Basically, my script takes FirstName LastName pairs (one >>per line) and makes unique user accounts out of them. It's presently >>posted at [ [ http://paste.ubuntu-nl.org/962/ >]http://paste.ubuntu-nl.org/962/, >>][ http://paste.ubuntu-nl.org/962/ ]http://paste.ubuntu-nl.org/962/ but >I'm not sure how long that site >>holds on to things... >> >> >> -- >>Clay Berlo <[ mailto:[ mailto:[EMAIL PROTECTED] >[EMAIL PROTECTED] ][ mailto:[EMAIL PROTECTED] >[EMAIL PROTECTED]> >>DSBN Technical Services >>-- >>edubuntu-users mailing list >>[ mailto:[email protected] [EMAIL PROTECTED] >>Modify settings or unsubscribe at: >>[ https://lists.ubuntu.com/mailman/listinfo/edubuntu-users >]https://lists.ubuntu.com/mailman/listinfo/edubuntu-users > >Good work! Although next time you might want to ask first....we already >have one :-) It's part of the Samba/LDAP installer package. I can post >it if people want. Matt Oquist wrote it to take first name last name and >make unique usernames....etc. > >David N. Trask >Technology Teacher/Director >Vassalboro Community School >[ mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] >(207)923-3100 > > > > > > > > -- >Clay Berlo <[ mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]> >DSBN Technical Services David N. Trask Technology Teacher/Director Vassalboro Community School [EMAIL PROTECTED] (207)923-3100 -- edubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
