Password encryption in 2.2.0

Joe Meslovich joe at bridgewater.edu
Wed Apr 25 18:52:12 GMT 2001


Jeremy,
	I honestly entered the exact same password in both cases the
passwd I entered was: iaat5tiums. If I tack it on as an argument I get the
same hash, but when I leave the passwd argument off it does not work.

this is what I did:

# smbpasswd -a jam002
New SMB password:
Retype new SMB password:
Added user jam002.
# grep jam002 /usr/local/samba/private/smbpasswd
jam002:8663:9C6602D2622F4964613E9293942509F0:9550C6CA481F99CF8A50547B752D85A6:[U
          ]:LCT-3AE71B5D:
# smbpasswd.old jam002
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
New SMB password:
Retype new SMB password:
Password changed for user jam002.
# grep jam002 /usr/local/samba/private/smbpasswd
jam002:8663:9C6602D2622F49641664635A22D01271:617B07A0803FA6981960CADCAA059CF3:[U
          ]:LCT-3AE71B88:
#


But when I called this I got the proper hash:

# smbpasswd -a jam002 iaat5tiums
Added user jam002.
# grep jam002 /usr/local/samba/private/smbpasswd
jam002:8663:9C6602D2622F49641664635A22D01271:617B07A0803FA6981960CADCAA059CF3:[U
          ]:LCT-3AE71C7C:
# smbpasswd.old jam002 iaat5tiums
Unknown parameter encountered: "printer admin"
Ignoring unknown parameter "printer admin"
Password changed for user jam002.
# grep jam002 /usr/local/samba/private/smbpasswd
jam002:8663:9C6602D2622F49641664635A22D01271:617B07A0803FA6981960CADCAA059CF3:[U
          ]:LCT-3AE71C8C:
#

----------------------------------------------------------------------------
Joe Meslovich						joe at bridgewater.edu
Associate Network/Systems Engineer	                College Box 499
Tel: (540) 828 - 5343






More information about the samba-technical mailing list