A basic Centos6 setup, SElinux and iptables completely off. In a small office network, where the samba share is used to share documents between 10 users and their windows 7 machines.
No AD in place, just samba based users set for all the windows folks. No DNS in the network, all the users have a static mapping to \\IP\share
of the samba host.
This works fine as long as there is internet access, however, when the router goes down, suddenly none of the users can reach \\IP\share
- it simply times out.
All IPs are given out by the DHCP server in the router, with very long leases, the centos IP is static. All the stations, including the samba host use the google DNS IPs, however, I don't see why it should matter, when I use naked IPs for smb access, but it seems like this is where things fail when I have no internet in place.
I wonder if anyone has had this issue, and there's some option in smb.conf hidden away, to disable DNS checks or whatever
Thanks
Did you check the logs? log.smbd & log.nmbd ?
You cannot access the shares at all or you have to wait just for timeout?
options in smb.conf name resolv order dns proxy
there's also 'netbios name' option make sure your centos box can resolve its name to IP, /etc/hosts in this case