[K12OSN] Bulk-add script problem with SMB/LDAP InstallerfromOquist and Trask

Mark Sarria mes4294 at lausd.k12.ca.us
Thu Jun 30 17:47:26 UTC 2005

Funny thing, That did not work for me either, so what did I created entered
in my doc, the FirstName,LastName,username. I let the script add the
password, then I changed the value to allow users to change there password
at first login. To add them to the proper group I first made the file for
one group, then the another. I ran the script like this

./smbldap-useradd-bulk -g 523 -f userinfo.names -o userinfo.finish

Notice the -g, meaning add to that group. I then printed out the
userinfo.finish, for my records and also o give the user there newly created
account and password. Like I said earlier, I then change the value of each
user to allow them to change their password at first login.

This might not be the best solution, it is very time consuming, but this is
how I hade to make it work for me. I will keep an eye on this post, to see
if anyone else has a better way.


-----Original Message-----
From: Jim Kronebusch [mailto:jim at winonacotter.org] 
Sent: Thursday, June 30, 2005 10:00 AM
To: mes4294 at lausd.k12.ca.us; 'Support list for opensource software in
Subject: RE: [K12OSN] Bulk-add script problem with SMB/LDAP
InstallerfromOquist and Trask

> Can you post your userinfo.names?

I probably shouldn't hand out everyones usernames and password out here.
So here is a sample with bogus users so you can see the formatting.


I hope that is enough to get you an idea.  The format is
firstname,lastname,username,groupid,password.  This is what seemed to be
the recommended format from the
http://web.vcs.u52.k12.me.us/linux/smbldap/ website in section Method 3a
of running the bulk add script.

Now not all of the passwords are 8 characters long, but none exceed 8
characters.  And all usernames are less than 8 characters.  Passwords
would have been cleaned up to contain only alphanumeric symbols.  And
punctuation like !#@$ or such was eliminated last year.


This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.

More information about the K12OSN mailing list