samba: DEC UNIX password problem
Ryan Harvey
harvey at muskingum.edu
Tue Jun 23 18:18:57 GMT 1998
I've just installed a new DEC Unix 4.0d machine and downloaded the binary
version of samba 1.9.18p8 for DEC Unix. I am able to get it up and running,
but I am having problems with passwords. I am being prompted for a password
when I try to connect to a non-public share, and when I type in my password it
is being rejected. I did set security=share in my smb.conf file. I also tried
the suggested test of smbclient '\\europa\harvey' -U harvey and I get the
following error:
first SMBtconX failed, trying again. ERRSRV - ERRbadpw (Bad password - name/
password pair in a Tree Connect or Session Setup are invalid.)
Below is part of the log file that was genereated when I tried to log in.
Any suggestions?
Thanks,
Ryan Harvey
Muskingum College
harvey at muskingum.edu
==============================================================================
snipets of the log file from europa
[000] 00 00 48 41 52 56 45 59 00 43 4E 53 00 57 69 6E ..HARVEY .CNS.Win
[010] 64 6F 77 73 20 34 2E 30 00 57 69 6E 64 6F 77 73 dows 4.0 .Windows
[020] 20 34 2E 30 00 4.0.
switch message SMBsesssetupX (pid 8219)
Domain=[CNS] NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
sesssetupX:name=[HARVEY]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last mod_time: Tue Jun 23 13:50:46 1998
Registered username harvey for guest access
lp_servicenumber: couldn't find harvey
adding home directory harvey at /home/harvey
Client requested max send size of 2920
Chained message
size=128
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=16
smb_flg2=0
smb_tid=0
smb_pid=6847
smb_uid=0
smb_mid=40705
smt_wct=4
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=1 (0x1)
smb_bcc=19
[000] 00 5C 5C 45 55 52 4F 50 41 5C 49 50 43 24 00 49 .\\EUROP A\IPC$.I
[010] 50 43 00 PC.
switch message SMBtconX (pid 8219)
Got device type IPC
Allowed connection from rdhpc.cns.muskingum.edu (143.246.0.114) to IPC$
Trying username ipc$
ACCEPTED: guest account and guest ok
found free connection number 12
Connect path is /tmp
become_user uid=(0,65534) gid=(65534,65534)
chdir to /tmp
chdir to /usr/local/samba/lib
unbecome_user now uid=(0,0) gid=(0,0)
1998/06/23 13:51:42 ryan harvey (143.246.0.114) connect to service IPC$ as user nobody (uid=65534,gid=65534) (pid 8219)
1998/06/23 13:51:42 tconX service=ipc$ user=nobody cnum=12
..
..
..
[000] 00 00 00 00 03 00 03 00 74 6D 70 00 00 00 00 00 ........ tmp.....
[010] 00 00 00 00 00 00 00 00 3C 00 00 00 49 50 43 24 ........ <...IPC$
[020] 00 00 00 00 00 00 00 00 00 00 03 00 51 00 00 00 ........ ....Q...
[030] 68 61 72 76 65 79 00 00 00 00 00 00 00 00 00 00 harvey.. ........
[040] 73 00 00 00 54 65 6D 70 6F 72 61 72 79 20 66 69 s...Temp orary fi
[050] 6C 65 20 73 70 61 63 65 00 49 50 43 20 53 65 72 le space .IPC Ser
[060] 76 69 63 65 20 28 45 75 72 6F 70 61 20 53 61 6D vice (Eu ropa Sam
[070] 62 61 20 53 65 72 76 65 72 29 00 48 6F 6D 65 20 ba Serve r).Home
[080] 44 69 72 65 63 74 6F 72 69 65 73 00 Director ies.
write_socket(5,199)
write_socket(5,199) wrote 199
got smb length of 67
got message type 0x0 of len 0x43
1998/06/23 13:51:43 Transaction 4 of length 71
size=67
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=7289
smb_uid=0
smb_mid=41089
smt_wct=4
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=2 (0x2)
smb_bcc=24
[000] 20 00 5C 5C 45 55 52 4F 50 41 5C 48 41 52 56 45 .\\EURO PA\HARVE
[010] 59 00 3F 3F 3F 3F 3F 00 Y.?????.
switch message SMBtconX (pid 8219)
chdir to /usr/local/samba/lib
unbecome_user now uid=(0,0) gid=(0,0)
Got device type ?????
Allowed connection from rdhpc.cns.muskingum.edu (143.246.0.114) to harvey
1998/06/23 13:51:43 invalid username/password for harvey
1998/06/23 13:51:43 error packet at line 171 cmd=117 (SMBtconX) eclass=2 ecode=2
error string = No such file or directory
size=35
smb_com=0x75
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=128
smb_flg2=1
smb_tid=0
smb_pid=7289
smb_uid=0
smb_mid=41089
smt_wct=0
smb_bcc=0
write_socket(5,39)
write_socket(5,39) wrote 39
got smb length of 67
got message type 0x0 of len 0x43
1998/06/23 13:51:43 Transaction 5 of length 71
size=67
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=65535
smb_pid=7289
smb_uid=0
smb_mid=41217
smt_wct=4
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=2 (0x2)
smb_bcc=24
[000] 20 00 5C 5C 45 55 52 4F 50 41 5C 48 41 52 56 45 .\\EURO PA\HARVE
[010] 59 00 3F 3F 3F 3F 3F 00 Y.?????.
switch message SMBtconX (pid 8219)
Got device type ?????
Allowed connection from rdhpc.cns.muskingum.edu (143.246.0.114) to harvey
1998/06/23 13:51:43 invalid username/password for harvey
1998/06/23 13:51:43 error packet at line 171 cmd=117 (SMBtconX) eclass=2 ecode=2
error string = No such file or directory
size=35
smb_com=0x75
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=128
smb_flg2=1
smb_tid=65535
smb_pid=7289
smb_uid=0
smb_mid=41217
smt_wct=0
smb_bcc=0
..
..
..
[000] 00 00 48 41 52 56 45 59 00 43 4E 53 00 57 69 6E ..HARVEY .CNS.Win
[010] 64 6F 77 73 20 34 2E 30 00 57 69 6E 64 6F 77 73 dows 4.0 .Windows
[020] 20 34 2E 30 00 4.0.
switch message SMBsesssetupX (pid 8226)
Domain=[CNS] NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
sesssetupX:name=[HARVEY]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last mod_time: Tue Jun 23 13:50:46 1998
Registered username harvey for guest access
lp_servicenumber: couldn't find harvey
adding home directory harvey at /home/harvey
Client requested max send size of 2920
Chained message
size=140
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=16
smb_flg2=0
smb_tid=0
smb_pid=6847
smb_uid=0
smb_mid=41729
smt_wct=4
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=9 (0x9)
smb_bcc=31
[000] 54 49 30 38 30 38 39 30 00 5C 5C 45 55 52 4F 50 TI080890 .\\EUROP
[010] 41 5C 48 41 52 56 45 59 00 3F 3F 3F 3F 3F 00 A\HARVEY .?????.
switch message SMBtconX (pid 8226)
Got device type ?????
Allowed connection from rdhpc.cns.muskingum.edu (143.246.0.114) to harvey
SMB Password - pwlen = 8, challenge_done = 0
Checking password for user harvey (l=8)
Checking password for user harvey in OSF1_ENH_SEC
No entry for user harvey in protected database !
1998/06/23 13:51:47 invalid username/password for harvey
1998/06/23 13:51:47 error packet at line 171 cmd=117 (SMBtconX) eclass=2 ecode=2
error string = No such file or directory
size=68
smb_com=0x73
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=128
smb_flg2=1
smb_tid=0
smb_pid=6847
smb_uid=0
smb_mid=41729
smt_wct=3
smb_vwv[0]=117 (0x75)
smb_vwv[1]=65 (0x41)
smb_vwv[2]=1 (0x1)
smb_bcc=24
[000] 55 6E 69 78 00 53 61 6D 62 61 20 31 2E 39 2E 31 Unix.Sam ba 1.9.1
[010] 38 70 38 00 43 4E 53 00 8p8.CNS.
write_socket(5,72)
write_socket(5,72) wrote 72
got smb length of 74
got message type 0x0 of len 0x4a
1998/06/23 13:51:47 Transaction 3 of length 78
size=74
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=65535
smb_pid=6847
smb_uid=0
smb_mid=41857
smt_wct=4
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=9 (0x9)
smb_bcc=31
[000] 74 69 30 38 30 38 39 30 00 5C 5C 45 55 52 4F 50 ti080890 .\\EUROP
[010] 41 5C 48 41 52 56 45 59 00 3F 3F 3F 3F 3F 00 A\HARVEY .?????.
switch message SMBtconX (pid 8226)
Got device type ?????
Allowed connection from rdhpc.cns.muskingum.edu (143.246.0.114) to harvey
SMB Password - pwlen = 8, challenge_done = 0
Checking password for user harvey (l=8)
Checking password for user harvey in OSF1_ENH_SEC
No entry for user harvey in protected database !
1998/06/23 13:51:47 invalid username/password for harvey
1998/06/23 13:51:47 error packet at line 171 cmd=117 (SMBtconX) eclass=2 ecode=2
error string = No such file or directory
size=35
smb_com=0x75
smb_rcls=2
smb_reh=0
smb_err=2
smb_flg=128
smb_flg2=1
smb_tid=65535
smb_pid=6847
smb_uid=0
smb_mid=41857
smt_wct=0
smb_bcc=0
write_socket(5,39)
write_socket(5,39) wrote 39
end of file from client
Closing connections
1998/06/23 13:51:47 Server exit (normal exit)
More information about the samba
mailing list