[K12OSN] Smbldap-bulk-useradd change password encryption
Brian Chivers
brian at portsmouth-college.ac.uk
Fri Aug 12 14:46:16 UTC 2005
Jim Kronebusch wrote:
> I think I have found another small problem. It looks like the bulk add
> script encrypts the passwords with SSHA encryption. This works fine
> when logging in with Linux and Samba, but doesn't seem to be compatible
> with the LDAP setup on OSX. If I reset the password via webmin with
> crypt encription, it works. Also if I re-run smbpasswd it changes the
> encryption to SMD5 and also works. Any ideas on what to do to fix this?
> Can I make a change in the bulk add script to run smbpasswd on all
> users?
>
> I have an existing username and password base that I need to re-populate
> on this server. Or does anyone have a script that I can give
> username,passwd and it will run through the necessary steps to re-run
> smbpasswd on all users?
>
> I need to finish this server tonight.
>
> Thanks,
>
> Jim Kronebusch
> Cotter Tech Department
> 507-453-5188
> jim at winonacotter.org
>
Wouldn't be hard to write a script that reads a CSV file for username & password and then to call
smbpasswd. I could give you a pointer if you like.
Brian
---------------------------------------------------------------
The views expressed here are my own and not necessarily
the views of Portsmouth College
More information about the K12OSN
mailing list