- new handling of ST_TYPE bits, they are now consolidated much more in
authorAndrew Tridgell <tridge@samba.org>
Wed, 21 Aug 1996 06:09:00 +0000 (06:09 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 21 Aug 1996 06:09:00 +0000 (06:09 +0000)
commiteb84f2f342375439d94481a0ccf47c9593544e32
tree132b11791f08d5be2316475d9dd0210499f87cb5
parent48e623e2ea8101009586f09e8ee56d4529dc477f
- new handling of ST_TYPE bits, they are now consolidated much more in
DFLT_SERVER_TYPE in nameserv.h

- got rid of a lot of spurious domain controller stuff. Samba is not a
domain controller yet, but it can be a domain master. We were claiming
to be a domain controller in some packets which may have caused
problems

- don't do preferred master startups on the WINS pseudo-net

- don't do election requests on the WINS pseudo-net

- fix a nasty bug in become_non_master() which wiped out the bits in
remove_type before using them. The result was that samba didn't like
losing its master status.

- changed the logic in the election packet handling to enable us to
become a non-master whenever we receive a winning election frame, even
if we aren't expecting it

- get another packet from the socket in nmbd when we reject one of our
own packets, this stops us from going into the packet reading code too
often and makes nmbd much snappier

- always remove a name immediately when we try to release it, don't
wait for the lack of response from the network, otherwise we will end
up replying to name that we don't really own. We still send the dereg
packets, we just don't wait for them to time out.
source/include/nameserv.h
source/include/smb.h
source/lib/util.c
source/nameannounce.c
source/namedbwork.c
source/nameelect.c
source/namepacket.c
source/nameserv.c
source/namework.c
source/smbd/ipc.c