WINS database format
A.Boswell at uea.ac.uk
Thu May 20 14:10:19 GMT 1999
I am setting up a Network Domain Logon model using Samba 2.0.3.
Step 2 in DOMAIN.txt is to set up a WINS server. We have previously
been working in a stand-alone NT workstation model and have used DHCP and
bootp for name resolution, so we are configuring a Samba server to be
a WINS server.
We need to populate the internal WINS database used by Samba:
ie /usr/local/samba/var/locks/wins.dat. Can anyone provide a guide to
the format of this table, and the data produced by nmblookup.
wins.dat, so far, contains:
"CPC#00" 927712312 255.255.255.255 c4R
"CPC#1e" 927712312 255.255.255.255 c4R
"CPCA8#00" 927712312 188.8.131.52 46R
"CPCA8#03" 927712312 184.108.40.206 46R
"CPCA8#20" 927712312 220.127.116.11 46R
where cpca8 is the name of the Samba server machine. I am guessing
from little documentation, I have, that #00 etc is the 'type', but
what type is this? The second field is a timestamp. What is the
/usr/local/samba/bin/nmblookup -A 18.104.22.168 gives:
Sending queries to 22.214.171.124
Looking up status of 126.96.36.199
received 5 names
CPCA8 <00> - M <ACTIVE>
CPCA8 <03> - M <ACTIVE>
CPCA8 <20> - M <ACTIVE>
CPC <00> - <GROUP> M <ACTIVE>
CPC <1e> - <GROUP> M <ACTIVE>
What does the M field represent?
It would be useful to know how others have generated wins.dat files
which is what we believe that we have to do. Also, how are entries
specified as static and dynamic?
Dr Andrew Boswell email : A.Boswell at uea.ac.uk
School Liaison Consultant phone : +44-1603-593856
IT and Computing Services fax : +44-1603-593467
University of East Anglia
Norwich, NR4 7TJ, UK
More information about the samba-ntdom