[Samba] Different IPs on a samba server #2

Adam Williams awilliam at mdah.state.ms.us
Fri Oct 17 17:33:59 GMT 2008

you need a trailing dot, like

hosts allow = 10.0. 192.168.0. localhost

can your 10. network and 192.168. network ping each other?  are you running wins server = yes and msdfs root = yes on the samba server?

sgmayo at mail.bloomfield.k12.mo.us wrote:
> Ok, I have played with this some more.
> Here is my setup.
> I have a local network 10.0.x.x/
> I have an off site network 192.168.0.x/
> The samba server is also my wins server and has the ip on my
> local network.  This is the only NIC in the Samba server.
> My firewall/router server shows the following from netstat -r
> Destination---Gateway----------GenMask-----------Iface
> eth1 is (in the firewall/router)
> eth2 is (in the firewall/router)
> Everything works fine from my local network as far as accessing the samba
> server.  From the 192.168 network, it does not though.  If I go to a
> workstation Start->Run and type in \\samba_servername it tells me the
> network is not found.  If I type in \\samba_ipaddress\share then it gives
> me a logon prompt, but it will never authenticate, it just keeps asking
> for the password like I typed the wrong one.  Both of these work fine from
> the 10.0. network.
> I added 'hosts allow = 10.0 192.168.0 localhost' in the smb.conf thinking
> that this would allow both networks, but I guess this is not the case.
> Is there anything else that I need to do to access the samba server?  It
> is a domain controller as well (not sure if that will make any difference
> as far as connection from the other IP addresses).
> Any suggestions would be welcomed.  I am not sure if I need to be looking
> at some routing in my firewall, or something in my Samba server.

More information about the samba mailing list