Problems with smbclient

Karlheinz Langguth Karlheinz.Langguth at fthw.siemens.de
Fri Oct 27 07:22:12 GMT 2000


Hi,

I am using a Linux client (SuSE Linux 7.0 with 2.2.16 kernel) within our
Windows network. This is experimental and my private initiative so I am
not supposed to count on the help of my network administrators (and they
are not supposed to know about it). Anyway I had no problems accessing
shares with smbclient. This changed a week ago for unknown reasons.
Connecting to the share still works, but an 'ls' ends up in an error
message. The share itself is still accessable from Windows clients. What
happens is:

bash-2.04# smbclient //fthw002x/temp_pt1 -U<user> -W<workgroup>
added interface ip=x.y.203.3 bcast=x.y.255.255 nmask=255.255.0.0
Password: <typing in my password>
Domain=[FTHW002X] OS=[UNIX 5.7 Generic_106541-08] Server=[Solaris PC
NetLink]
smb: \> ls
code 0 listing \*
Error in dskattr: code 0
smb: \> read_socket_with_timeout: timeout read. read error =
Datenübergabe unterbrochen (broken pipe).


I have also used the -dA option to get a detailed trace log. I have
attached a part of the log. Please mind that it is shortened trastically
but I think the most important section is available.

Help is very much appreciated,
Karlheinz

smbclient trace log after typing 'ls':

smb: \> ls
size=83
smb_com=0x32
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=1
smb_pid=544
smb_uid=32791
smb_mid=1
smt_wct=15
smb_vwv[0]=15 (0xF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=10 (0xA)
smb_vwv[3]=4356 (0x1104)
smb_vwv[4]=0 (0x0)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=15 (0xF)
smb_vwv[10]=68 (0x44)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=83 (0x53)
smb_vwv[13]=1 (0x1)
smb_vwv[14]=1 (0x1)
smb_bcc=18
[000] 00 44 20 16 00 00 02 06  00 04 01 00 00 00 00 5C  .D .....
.......\
[010] 2A 00                                             *.
write_socket(3,87)
write_socket(3,87) wrote 87
read_socket_with_timeout: timeout read. EOF from client.
receive_smb: length < 0!
client_receive_smb failed
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
code 0 listing \*
write_socket(3,39)
write_socket(3,39) wrote 39
read_socket_with_timeout: timeout read. EOF from client.
receive_smb: length < 0!
client_receive_smb failed
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
Error in dskattr: code 0
Total bytes listed: 0




More information about the samba mailing list