Samba share cannot be accessed from windows PC on a different subnet
I have set up a linux (CentOS 5) box with a samba share on a large network. The network has 2 subnets, one on 192.168/16 and one on 172.18/16. The server lives on the 172.18/16 subnet.
I can ping the server from client Windows XP workstations on both subnets.
When I open the list of workgroup computers, I can see my new server in the list of Workgroup machines from Windows XP client workstations on both subnets.
However, I can access the share from workstations on the same subnet, but when I try to access it from workstations on the other subnet I get a message saying either:
o Windows cannot find the specified resource, or
o Access to this network resource has been disallowed.
I have had a look at the smb.conf file, and there is nothing obvious that would be causing a problem.
What am I doing wrong?
Thanks,
Rik
The problem turned out to be DNS (which is fairly embarassing to be honest). The 172.18/16 half of the network was fine, but the 192.168/16 half of the network couldn’t get to the share because it couldn’t resolve the name of the server. When we tried going in via the IP address it worked fine.
Check more discussion of this question.
Related posts:
Leave a comment
Recent Posts
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?
- Can Windows RDC admin users be immune from being kicked?





