Wednesday, October 20, 2010

Frequent network failures from windows client to Linux

If you are mapping Linux directories in windows client.Then check your log file smbd.log.If you have receiving follwing error.

"getpeername failed. Error was Transport endpoint is not connected"

Check this link for solution.

http://lists.samba.org/archive/samba/2004-April/084048.html

Stop 1 : Stop windows  browser service from your all windows clients

             netstat -tvlnp | grep smbd - shows your samba service running ports in your linux system.

Stop 2 : iptables -I INPUT 1 -p tcp --dport 445 -j DROP  - Run it on linux system
Stop 3 : Check using nmap - It shows you 445 as a filtered port.


Above steps may solve your problem.