I've been having a bit of an issue mounting a Windows share on a Linux server using Samba file server. Here's the story.
I have been able to mount to a Windows share using this same Linux server in the past successfully (no firewall between the servers) - it's a no brainer really. Couple of weeks ago, the Windows server was moved to a different environment. This Windows server is now behind a firewall. The firewall rules are in place to allow traffic from the Linux box to the Windows server (using their respective IP addresses on TCP and UDP ports 135-139). Because the servers are now in different environments, I can no longer use the server name to mount the share, I have to use the IP address of the server.
When attempting to mount we were able to monitor the traffic on the firewall and we can see that request from the Linux box is allowed through and then another request going back to the Linux box is allowed through both on port 139.
On the Linux I am however getting a connection failed message and I do not understand where the problem may lie:
* The Linux samba configuration
* The mount (connection) string
* The firewall
* The windows server
* ...(?)
Here is the mount string I am using (where xxx.yyy.zzz.ggg is the IP address):
mount -t smbfs -o username=user,password=pas
s //xxx.yyy.zzz.ggg/winshare
/mnt/winshare
This is the response I get:
3843: session request to xxx.yyy.zzz.ggg failed (Called name not present)
3843: session request to xxx failed (Called name not present)
3843: session request to *SMBSERVER failed (Not listening on called name)
SMB connection failed
Please help.
Start Free Trial