Hi list.
I have a corporate LAN of type 192.168.0.0/24, and my laptop (running Windows XP) has the IP 192.168.0.100. In the LAN there is a samba machine (Debian woody) acting as WINS server (quite old: 2.2.3a-12.3).
By means of OpenVPN I can also connect from home to the same LAN, and my laptop is given IP 10.10.0.6.
Before I connected the first time, /var/lib/samba/wins.dat on the samba machine had records related to my laptop like these:
"APECROSS#00" 1185610309 192.168.0.100 64R
"APECROSS#03" 1185664827 192.168.0.100 64R
"APECROSS#20" 1185610309 192.168.0.100 64R
After that time, samba updated wins.dat in the following way:
"APECROSS#00" 1185610309 10.10.0.6 64R
"APECROSS#03" 1185664827 192.168.0.100 64R
"APECROSS#20" 1185610309 10.10.0.6 64R
I know that I could stop nmbd, edit the file and fix wrong data, then restart the deamon, but it would be more comfortable to have wins.dat automatically refreshed by samba e.g. every hour, so that records related to my resources are up-to-date.
Any hints?
Thanks
--Alessandro
I have a corporate LAN of type 192.168.0.0/24, and my laptop (running Windows XP) has the IP 192.168.0.100. In the LAN there is a samba machine (Debian woody) acting as WINS server (quite old: 2.2.3a-12.3).
By means of OpenVPN I can also connect from home to the same LAN, and my laptop is given IP 10.10.0.6.
Before I connected the first time, /var/lib/samba/wins.dat on the samba machine had records related to my laptop like these:
"APECROSS#00" 1185610309 192.168.0.100 64R
"APECROSS#03" 1185664827 192.168.0.100 64R
"APECROSS#20" 1185610309 192.168.0.100 64R
After that time, samba updated wins.dat in the following way:
"APECROSS#00" 1185610309 10.10.0.6 64R
"APECROSS#03" 1185664827 192.168.0.100 64R
"APECROSS#20" 1185610309 10.10.0.6 64R
I know that I could stop nmbd, edit the file and fix wrong data, then restart the deamon, but it would be more comfortable to have wins.dat automatically refreshed by samba e.g. every hour, so that records related to my resources are up-to-date.
Any hints?
Thanks
--Alessandro