smbpasswd & NIS

Dave J. Andruczyk dave at www.buffalostate.edu
Wed Mar 3 20:09:27 GMT 1999


> i tried again and it failed. Every user and ID was OK but the smb password
> fields are
>  XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> !
> I think this means:
> 
>  None of this users have the permission to logon!?
> 
> Then I had a look at the mksmbpasswd.sh script.
> This script puts direct the smb password fields to the XXX'es above. So it
> could not run in this way. Do you ever have your script? Would you send it to
> me please?


mksmbpasswd.sh DOES NOT create the samba encrypted password. it is NOT
possible to convert a unix hashed password into a  Lanman one, as it is a
ONE WAY hash function.  You can use "unix passwd sync" to update the
passwords until the smbpassword file has the encrypted passwords, and then
turn "unix passwd sync" off to use encrypted passwords.

Dave J. Andruczyk
Instructional Support Associate
Department of Technology     
Buffalo State College





More information about the samba-ntdom mailing list