WINS database format
Andrew Perrin - Demography
aperrin at demog.Berkeley.EDU
Thu May 20 15:10:02 GMT 1999
You don't want to do this. WINS is dynamically populated, not statically;
although its function is vaguely similar to DNS, its use is not. All you
need to do is specify that your Samba box be a WINS server, and set each
client to use that machine as its WINS server; population of the table
will take place automatically.
---------------------------------------------------------------------
Andrew J. Perrin - aperrin at demog.berkeley.edu - NT/Unix Admin/Support
Department of Demography - University of California at Berkeley
2232 Piedmont Avenue #2120 - Berkeley, California, 94720-2120 USA
http://demog.berkeley.edu/~aperrin --------------------------SEIU1199
On Fri, 21 May 1999, Andrew Boswell wrote:
> 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 139.222.130.8 46R
> "CPCA8#03" 927712312 139.222.130.8 46R
> "CPCA8#20" 927712312 139.222.130.8 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
> fourth field?
>
>
> /usr/local/samba/bin/nmblookup -A 139.222.130.8 gives:
>
> Sending queries to 139.222.255.255
> Looking up status of 139.222.130.8
> 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>
> num_good_sends=0 num_good_receives=0
>
> 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?
>
> TIA
>
> Andrew
>
> ======================================================================
> 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
mailing list