[Samba] Vista clients having Issues Copying files from Samba Server

Justin Piszcz jpiszcz at lucidpixels.com
Sun Dec 13 04:35:44 MST 2009



On Sun, 13 Dec 2009, Anthony Giggins wrote:

>> Hello,
>>
>> I'm running samba-3.0.33 (samba-3.0.33-3.15.el5_4) On Centos 5.4 and some
>> files have issues being copied from the Samba server to the Vista (Service
>> Pack 1) clients local disk via Windows Explorer, copying too the Samba
>> server also has no issues and copying via the CMD prompt has no problem,
>> I'm getting the following errors
>>
>> 1. Invalid MS-DOS Function
>> http://seven.dorksville.net/gallery/v/Misc+Photos/image001.png.html
>> &
>> 2. invalid file handle (When you click Try Again)
>> http://seven.dorksville.net/gallery/v/Misc+Photos/image002.png.html
>>
>> It will then cycle through these 2 errors each time you click try again.
>>
>> Windows XP does not have any issues with the same files and other files
>> also dont have an issue to the Vista Clients.
>>
>> There are also the following logs generated on the server that correspond
>> to these errors
>>
>>  lib/util_sock.c:send_smb(761)  Error writing 75 bytes to client. -1.
>> (Broken pipe)
>>  lib/util_sock.c:write_data(562)  write_data: write failure in writing to
>> client 192.168.0.237. Error Broken pipe
>>  lib/util_sock.c:write_data(562)  write_data: write failure in writing to
>> client 192.168.0.240. Error Broken pipe
>>
>> Any help or suggestions would be greatly apprieciated.
>>
>> Regards,
>>
>> Anthony
>
>
> Seeing as I got not replies I went and upgraded to 3.2.15 from sernet
>
> http://ftp.sernet.de/pub/samba/tested/centos/5/repodata/index.html
>
> And I'm seeing the same errors on the vista side but here are the logs from
> the server,
>
> Dec 13 11:16:39 newsrv smbd[32555]: [2009/12/13 11:16:39,  0]
> lib/util_sock.c:read_socket_with_timeout(939)
> Dec 13 11:16:39 newsrv smbd[32555]: [2009/12/13 11:16:39,  0]
> lib/util_sock.c:get_peer_addr_internal(1676)
> Dec 13 11:16:39 newsrv smbd[32555]:   getpeername failed. Error was
> Transport endpoint is not connected
> Dec 13 11:16:39 newsrv smbd[32555]:   read_socket_with_timeout: client
> 0.0.0.0 read error = Connection reset by peer.
>
>
> are there any known issues with Vista?
> and is there any known working minimum version?
>

I see the same thing with Windows 7 & Vista:

Dec 13 06:27:11 svr smbd[28206]: [2009/12/13 06:27:11,  0] lib/util_sock.c:539(read_fd_with_timeout) 
Dec 13 06:27:11 svr smbd[28206]: [2009/12/13 06:27:11,  0] lib/util_sock.c:1491(get_peer_addr_internal) 
Dec 13 06:27:11 svr smbd[28206]:   getpeername failed. Error was Transport endpoint is not connected 
Dec 13 06:27:11 svr smbd[28206]:   read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.

Justin.




More information about the samba mailing list