LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba mount error on smbfs and cifs (https://www.linuxquestions.org/questions/linux-networking-3/samba-mount-error-on-smbfs-and-cifs-574425/)

tajamari 08-03-2007 03:36 AM

samba mount error on smbfs and cifs
 
Hi,

I encountered this error when mounting a samba share across two different public networks.

SMBFS ERROR
mount -t smbfs -o username=myuser,password=mypass //203.87.XXX.XXX/myfiles /home/data/myfiles
381: tree connect failed: Call returned zero bytes (EOF)
SMB connection failed

CIFS ERROR
mount -t smbfs -o username=myuser,password=mypass //203.87.XXX.XXX/myfiles /home/data/myfiles
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

These errors are encountered when my client is from other networks say 65.216.XXX.XXX, 202.12.XXX.XXX, but if from same 203.87.XXX.XXX segment, it can be mounted. Firewalls were flushed on both servers when connecting to isolate the firewall problem.

Any ideas guys?


Thanks,
Taja Mari

jschiwal 08-03-2007 05:24 AM

Are you using samba across the internet, or is the traffic inside a vpn tunnel?

For browsing to work across networks, I think that you will need to run wins on the gateway and use the "remote announce" option. You may want to read the chapter on browsing in the samba3-howto.

tajamari 08-06-2007 09:30 PM

Quote:

Originally Posted by jschiwal
Are you using samba across the internet, or is the traffic inside a vpn tunnel?

For browsing to work across networks, I think that you will need to run wins on the gateway and use the "remote announce" option. You may want to read the chapter on browsing in the samba3-howto.


Yes. am using samba across the networks. actually the client machine is in US node, while the server is in ASIA. Thanks for the feedback and suggestions :)


All times are GMT -5. The time now is 04:43 PM.