Samba can't resolv password

Robert Koruna robert.koruna at tiwag.co.at
Wed Apr 8 16:22:03 GMT 1998


Hello,

I finally switched to the samba-1.9.18p4, and got all my files on 
this server.
But now I have a big problem, all our NT machines can't access the 
server.

They tell wrong user or password.

In the debugging mode I see, that the NT machines come to the server 
and find the right user, then they tell me:


lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Apr  8 16:51:09 1998

04/08/1998 16:54:48 init msg_type=0x81 msg_flags=0x0
write_socket(5,4)
write_socket(5,4) wrote 4
got smb length of 170
got message type 0x0 of len 0xaa
04/08/1998 16:54:48 Transaction 1 of length 174
size=170
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=135
switch message SMBnegprot (pid 10389)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [XENIX CORE]
Requested protocol [MICROSOFT NETWORKS 1.03]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Apr  8 16:51:09 1998

lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Apr  8 16:51:09 1998

Selected protocol NT LM 0.12
04/08/1998 16:54:48 negprot index=7
size=80
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=0
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=65280 (0xFF00)
smb_vwv[6]=255 (0xFF)
smb_vwv[7]=38144 (0x9500)
smb_vwv[8]=40 (0x28)
smb_vwv[9]=256 (0x100)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=31788 (0x7C2C)
smb_vwv[13]=65094 (0xFE46)
smb_vwv[14]=48482 (0xBD62)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]=2303 (0x8FF)
smb_bcc=11
write_socket(5,84)
write_socket(5,84) wrote 84
got smb length of 191
got message type 0x0 of len 0xbf
04/08/1998 16:54:48 Transaction 2 of length 195
size=191
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=0
smt_wct=13
smb_vwv[0]=117 (0x75)
smb_vwv[1]=157 (0x9D)
smb_vwv[2]=61440 (0xF000)
smb_vwv[3]=50 (0x32)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=10389 (0x2895)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=24 (0x18)
smb_vwv[8]=24 (0x18)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=212 (0xD4)
smb_vwv[12]=0 (0x0)
smb_bcc=96
switch message SMBsesssetupX (pid 10389)
Domain=[DOMAIN]  NativeOS=[Windows NT 1381] NativeLanMan=[]
sesssetupX:name=[WIDAUERK]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Wed Apr  8 16:51:09 1998

Scanning username map /usr/local/samba/private/user.map
Mapped user widauerk to widaka01
Mapped user widauerk to widaka01
SMB Password - pwlen = 24, challenge_done = 1
Checking SMB password for user widaka01 (l=24)
get_smbpwd_entry: opening file /usr/local/samba/private/smbpasswd
get_smbpwd_entry: search by name: widaka01
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: found by name: widaka01
get_smbpwd_entry: returning passwd entry for user widaka01, uid 1100
Checking NT MD4 password
NT MD4 password check failed
Error smb_password_check failed
Checking password for user widaka01 (l=24)
Disallowing access to widaka01 due to null password
NT Password did not match ! Defaulting to Lanman
SMB Password - pwlen = 24, challenge_done = 1
Checking SMB password for user widaka01 (l=24)
get_smbpwd_entry: opening file /usr/local/samba/private/smbpasswd
get_smbpwd_entry: search by name: widaka01
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: skipping comment or blank line
get_smbpwd_entry: found by name: widaka01
get_smbpwd_entry: returning passwd entry for user widaka01, uid 1100
Checking NT MD4 password
NT MD4 password check failed
Error smb_password_check failed
Checking password for user widaka01 (l=24)
Disallowing access to widaka01 due to null password
04/08/1998 16:54:48 error packet at line 588 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
error string = No such file or directory
size=35
smb_com=0x73
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
write_socket(5,39)
write_socket(5,39) wrote 39
end of file from client
Closing connections
04/08/1998 16:54:48 Server exit  (normal exit)


Why isn't it possible to validate the password ???
I know that the password is ok, if I logon with Win95 it all works 
allright.

Please help me ...

It would be really urgent.

Thanks a lot ...

Robert






Robert Koruna <robert.koruna at tiwag.co.at>

-----------------------------------------
TIWAG-Tiroler Wasserkraftwerke AG
Abteilung I/V-UE
Eduard Wallnoefer-Platz-2
A 6010-Innsbruck

Tel.: +43 / (0)512 / 506 - 2772
Fax:  +43 / (0)512 / 506 - 2670
-----------------------------------------


More information about the samba mailing list