Adding static entries to your Samba WINS server is actually fairly easy. All you have to do is add a line to
wins.dat , typically located in /usr/local/samba/var/locks or /var/run/samba .
Entries in wins.dat take the form of:
"NAME#TYPE" TTL ADDRESS+ FLAGS
where NAME is the NetBIOS name, TYPE is the NetBIOS type, TTL is the time-to-live as an absolute time in
seconds, ADDRESS+ is one or more addresses corresponding to the registration, and FLAGS are the NetBIOS flags
for the registration.
|