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?