[Samba] smbmount and PCShare [Helios]

math_ m-1 at gmx.net
Sat Jul 12 18:41:45 GMT 2003


I tried to mount a PCShare file system with smbmount and was 
surprised to see that there is a problem while writing files to the 
mounted file system. I can read everything and move things an 
make directories within the shared file system. But if I try to copy 
a file from the local disk (LINUX SuSE 8.1) to the shared file 
system I get an I/O error. I suppose that this is not a permission 
problem because on the same system a smbclient connection 
with the same user/password is able to read and write files.

Has anybody run into the same problems? And has someone a hint or a solution for this?

Runnnig SuSE 8.1 [Linux] and tried both Samaba-2.2.8a and Samba-3.0.0beta2.

-------------- the error message while cp a file to shared file system ----------------
cp tmp.rpm /mnt/tmp/
cp: cannot create regular file `/mnt/tmp/tmp.rpm': Input/output error

Jul 12 20:23:04 dgmAR kernel: smb_errno: class ERRSRV, code 22 from command 0x3
Jul 12 20:23:04 dgmAR kernel: smb_errno: class ERRSRV, code 22 from command 0x3
Jul 12 20:23:04 dgmAR kernel: smb_create: /mnt/tmp/tmp.rpm failed, error=-5



----------------------- the mount command ---------------------
smbmount //192.168.80.1/tmp /mnt/tmp -o username=shr,password=******,debug=99

---------------- the output from the smbmount --------------
added interface ip=192.168.82.11 bcast=192.168.82.255 nmask=255.255.255.0
Connecting to 192.168.80.1 at port 445
error connecting to 192.168.80.1:445 (Connection refused)
Connecting to 192.168.80.1 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 87380
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,72)
write_socket(3,72) wrote 72
Sent session request
got smb length of 0
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
Can't check signature on short packet! smb_len = 0
21514: session request ok
write_socket(3,183)
write_socket(3,183) wrote 183
got smb length of 94
size=94
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=21514
smb_uid=0
smb_mid=1
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]=51712 (0xCA00)
smb_vwv[ 8]=    9 (0x9)
smb_vwv[ 9]= 4299 (0x10CB)
smb_vwv[10]=    2 (0x2)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=55931 (0xDA7B)
smb_vwv[13]=42171 (0xA4BB)
smb_vwv[14]=49992 (0xC348)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]= 2303 (0x8FF)
smb_bcc=25
[000] 72 B4 CE BE 3C A3 C7 ED  44 47 4D 45 44 49 45 4E  r´Î¾<£Çí DGMEDIEN
[010] 00 00 00 00 00 00 00 00  00                       ........ .
size=94
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=21514
smb_uid=0
smb_mid=1
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]=51712 (0xCA00)
smb_vwv[ 8]=    9 (0x9)
smb_vwv[ 9]= 4299 (0x10CB)
smb_vwv[10]=    2 (0x2)
smb_vwv[11]=    0 (0x0)
smb_vwv[12]=55931 (0xDA7B)
smb_vwv[13]=42171 (0xA4BB)
smb_vwv[14]=49992 (0xC348)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]= 2303 (0x8FF)
smb_bcc=25
[000] 72 B4 CE BE 3C A3 C7 ED  44 47 4D 45 44 49 45 4E  r´Î¾<£Çí DGMEDIEN
[010] 00 00 00 00 00 00 00 00  00                       ........ .
Serverzone is -7200
write_socket(3,136)
write_socket(3,136) wrote 136
got smb length of 78
size=78
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=152
smb_flg2=1
smb_tid=0
smb_pid=21514
smb_uid=7198
smb_mid=1
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=37
[000] 55 6E 69 78 00 50 43 53  68 61 72 65 20 43 49 46  Unix.PCS hare CIF
[010] 53 33 2E 31 2E 30 75 30  33 31 39 00 44 47 4D 45  S3.1.0u0 319.DGME
[020] 44 49 45 4E 00                                    DIEN.
size=78
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=152
smb_flg2=1
smb_tid=0
smb_pid=21514
smb_uid=7198
smb_mid=1
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=37
[000] 55 6E 69 78 00 50 43 53  68 61 72 65 20 43 49 46  Unix.PCS hare CIF
[010] 53 33 2E 31 2E 30 75 30  33 31 39 00 44 47 4D 45  S3.1.0u0 319.DGME
[020] 44 49 45 4E 00                                    DIEN.
21514: session setup ok
write_socket(3,82)
write_socket(3,82) wrote 82
got smb length of 52
size=52
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=21902
smb_pid=21514
smb_uid=7198
smb_mid=1
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=11
[000] 41 3A 00 50 43 53 68 61  72 65 00                 A:.PCSha re.
21514: tconx ok





More information about the samba mailing list