luke's first attempt at using cvs
commit7e8c60cfe54060860e5ce20b1c3b8ec6aa5c54da
authorSamba Release Account <samba-bugs@samba.org>
Sat, 29 Jun 1996 18:49:20 +0000 (29 18:49 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Sat, 29 Jun 1996 18:49:20 +0000 (29 18:49 +0000)
tree8015d1bd6233a588ea491f44673d726d7d32f7f1
parent6d81d56f929e763bcf6b1f7a61aabaf884c4aad4
luke's first attempt at using cvs

accidentally updated the Makefile

updated the name database structure (again!). this time, there is one
name database per local interface. there is also a pseudo-interface on
ip 255.255.255.255. its purpose is to store WINS name entries. all the
local interface name databases store SELF names only. the WINS name
database stores non-special browser names.

added wins.dat file: records WINS entries in ascii format. this is reloaded
when nmbd restarts.

added repeating code for response packets. timer is in seconds only at the
moment.

updated the response queue code to deal with samba registering with a
WINS server a bit better (added more cases when a response isn't received).
tidied up the response packet processing code and expire_response_queue()
code. added cross references between response received and await-response
expired code.

added over-zealous code that checks all machines that register with samba
as a WINS server (every 10 minutes i think): to see whether they are still
alive or not (see rfc1001.txt)

bug reported by terry@ren.pc.athabascau.ca: DNSFAILed names _stay_ as
DNSFAIL, even though the machine may come back up and REGISTER.

removed update_from_reg() function. it's not necessary, and it does too much.

added code that announces on each local interface samba's ttl as zero and
servertype as zero when nmbd is kill -TERMed

first attempt at putting the first functionality of samba browsing back in
(remote subnets should have samba appear in a workgroup specified through
the lmhosts file)

lots of other miscellaneous tidying up / chopping about.
14 files changed:
source/include/nameserv.h
source/include/proto.h
source/include/smb.h
source/nameannounce.c
source/namedb.c
source/nameelect.c
source/nameresp.c
source/nameserv.c
source/namework.c
source/nmbd/nmbd.c
source/nmbsync.c
source/param/loadparm.c
source/script/mkproto.awk
source/utils/nmblookup.c