Having an issue with the SME7.4 server. Its being used as a WINS and PDC with roaming profiles. Switched the IP addresses of two other machines on the network. Now part of the time requesting \\hostnameA shows the old machine shares and part of the time \\hostnameA shows the new machine shares. This happens on multiple workstations in either domain login or workgroup login
In browsing around I find a /var/cache/samba/win.dat file with the associated host names and IP addresses. What I find in this file are multiple lines with the same server name and pointing to the wrong IP address. I manually edited the file and put the new IP address in for the server in question. This seemed to fix the problem. However today a workstation in workgroup mode tried going to \\server and ended up at the old IP address and not the new. I checked the wins.dat file again today, and the old IP addresses are back in.
Is there a reason why a host name should appear more than once in this wins.dat file? What creates it? Is there a way I can dump the wins.dat and let it recreate itself? I do have all the hosts set correctly in the hostnames so host.domain.com always goes to the right IP address. I'm a bit stumped. Perhaps some smbclient command would help? Suggestions?