modified become_master() to a state-based system. becoming a master
authorSamba Release Account <samba-bugs@samba.org>
Thu, 4 Jul 1996 19:19:26 +0000 (19:19 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Thu, 4 Jul 1996 19:19:26 +0000 (19:19 +0000)
commit7719fb06524a66ce5e3f30f3152ddb1e200c97f3
tree911610f1e4615b5c42b22668abc347fee3e0ce4c
parenta7be82ee6e56481b907ab3672b214639ec63c9b5
modified become_master() to a state-based system. becoming a master
is now performed in stages: wait for each NetBIOS name to be
successfully registered before proceeding to the next stage.

tied implicit name registration and release (broadcast method) to the
same piece of code as explicit method (via WINS server).

created special_browser_name() function that checks __MSBROWSE__
name: this name is ignored by WINS servers apparently.

fixed likely incompatibility between refresh_my_names() and add_my_names().
(netbios entries were unlikely to be refreshed).

NOTE: none of these changes have been tested. at all.

lkcl
source/include/nameserv.h
source/include/proto.h
source/lib/charset.c
source/namedb.c
source/nameelect.c
source/nameresp.c
source/nameserv.c
source/nmbd/nmbd.c
source/nmbsync.c
source/smbd/ipc.c