Windows 7 can't write to RHEL 3 server when files greater then 1kb
hi community,
we are running a Red Hat Enterprise Linux ES release 3 (Taroon Upd 5) Kernel 2.4.21-32.ELsmp since several years. The server hosts an old ERP system who will be replaced at the end of the year. However it is necessary that some collegues are able to write some files to that server regulary. Since we are running Windows 7 on several machines, those users aren't anymore able to write to the samba share. Getting files from the share works fine. But the problem seems not to be situated at the samba service because also the transfer using SSH (WINSCP) from any Win7 system to the server doesn't work. During testing we recogniced that transfering files smaller then 1kb works fine ... any file greater then 1kb ends up in an connection abort. This works with samba and also using SSH. All the workarounds editing some registry entries in Win7 for improving the interoperability between vista / win7 and samba don't work for us ... and also seem not to be the source of the problem. Is there a general known incompatibility between our RHEL version / kernel and Windows 7 regarding file transfers? We are grateful for any tip or hint - please excuse my pure linux knowledge. Regards Thomas |
here are some logs from the samba log files ... not that we think this is the main problem, but these are the only log files where we are able to see a direct connection between transfering a file and the reaction of the server
transfering a file smaller then 1kb: Code:
[2010/03/12 12:27:04, 1] smbd/service.c:1240(close_cnum) Code:
[2010/03/12 12:28:51, 0] lib/util_sock.c:539(read_fd_with_timeout) |
What is the Windows 7 error message 'where we hit the cancel button'?
My german is a bit rusty, but it appears there is a socket error on the samba side, followed by a connection closed error, which I am guessing is because you choose to cancel. What version of Samba is your server running? Anything below Samba 3.3.2 will need the Windows 7 Security Policy changes below. Samba 3.3.2 or newer should just work. Have you tried this on your Windows 7 machines? Quote:
|
Thanks for your reply.
Yes we also found this hint with the LM & NTLM responses and the encryption level in the internet and already tried it out. We also tried to update our samba server last night and have now this version running - problems still occuring. actual version is 3.4.7 What do you think about the SSH transfer - here is exactly the same problem present. Files smaller then 1kb can be transfered by samba and SSH ... greater than 1kb ... both ways result in a timeout. Also the problem only occurs when transfering from Win7 to RHEL the other way round works fine. Is there a system log file on the linux server where we might find more informations? The Win7 protocols have no events logged. |
What errors do you get during the SSH Transfers? Do logs show anything for the SSH failures?
Since you can download from the server, but not upload to it. I know there can be problems with speed when connecting to samba from windows. Is this over a LAN? Any routing involved?? Have you tried temporarily turning off the Windows 7 firewall? Is Samba providing file shares only or acting as a Domain Controller as well? Perhaps wireshark on the Windows 7 machine and or tcpdump on the linux box would yield some information??? You could also turn up the logging in Samba and see if it shows anything. You might check /var/log/messages or any logs that relate to kernel, firewall, or network (this can depend on how the system was configured) Hope this helps. |
double post - sorry
|
I tried to transfered a file greater then 1kb which wasn't able to transfer from Win7 to the samba share and found this log entries in the /var/log/messages
Code:
Mar 15 16:58:19 ebbsrv smbd[29693]: [2010/03/15 16:58:19, 0] lib/util_sock.c:539(read_fd_with_timeout) Code:
Mar 15 17:18:14 ebbsrv sshd(pam_unix)[30651]: session opened for user root by (uid=0) As reply to the questions "never say never" asked: - same LAN - no routing between - win7 firewall is off while in the windows domain - there is no domain functionality used by the linux server, the pdc is a windows 2k3 server |
All times are GMT -5. The time now is 04:16 PM. |