From smbpasswd to passwd

Peter Samuelson peter at cadcamlab.org
Sat Feb 12 19:36:20 GMT 2000


[Luca Micheletti]
> Now i have my text file smbpasswd style, but i need these users in
> /etc/passwd not in smbpasswd.

Can't be done.  Unix passwd and NT smbpasswd formats are both one-way
hashes and they are not compatible.  The best you can do is change
everyone's passwords (or ask them to) using a utility that changes both 
at once.  Samba is one such utility, if you set "passwd chat" and
friends to the right values.

Peter


More information about the samba-ntdom mailing list