Generatig Encrypted smbpasswd file

Greg Dickie greg at
Tue May 4 13:41:34 GMT 1999

Unfortunately there is no way to do this. 


On 04-May-99 Sam Mbir-Bondzie wrote:
> Hello All,
> I am new to samba and need some help from the samba experts.
> I have installed, configured and running samba 2.03 on IRIX 6.5
> It is working pretty well with encrypted password on.
> I have converted the /etc/passwd file to smbpasswd with mksmbpasswd
> script which generated 32X's format as stated in the documentation.
> Now the problems is, this smbpasswd file generated is not the encrypted
> password  hence I have to issue the  command
> smbpasswd  -U username
> New smbpasswd   ******
> before the smbpasswd file can be converted to an encrypted one without
> the 32X's.
> Doing this manually  for all users will be a time consuming task
> considering the number of user accounts that is on my system.
> I would therefore be glad if anyone out there could help me with an
> easier way of generating the encrypted smbpasswd from either the
> /etc/passwd or /etc/shadow password file without the 32X's but the
> actual
> encrypted smbpasswd file.
> Thank  you
> Sam. Mbir-Bondzie
> Unix Sys. Admin.
> AT & T,  Morristown

Greg Dickie
Just A Guy*
*from discreet (the logic is gone)
(514) 954-7171
greg at

More information about the samba-technical mailing list