A samba sharing server should have the ip that is in the hosts allow of smb.conf
I had my smb.conf file with the following allowed hosts
hosts allow = 192.168.1.3 192.168.1.4
*Ip of my server was 192.168.1.2
I had to reboot my system and somehow my ip was changed to 192.168.1.3 ( it could be beacuse my laptop accquired *.3 when i reboot, but this is not the case). In then case when my server's ip was *.3 samba was sharing files with other pcs on the network.
So i did a netconfig and put 192.168.1.3 as the ip of my server, yet it was not working.
Then i thoght may be its conflicting with the 'hosts allow' in smb file. So I disabled hosts allow.
Now the question I have is this. A samba sharing server should have the ip that is in the hosts allow of smb.conf?
The hosts allow line is for configuring which other boxes can connect to your samba server so the IP address of the samba server itself doesn't have to be there. A server shouldn't have a dynamic address - can you reconfigure it with a static IP address? That way you won't get this sort of problem.
|All times are GMT -5. The time now is 02:21 AM.|