tidied up: code shuffling and documentation.
authorSamba Release Account <samba-bugs@samba.org>
Sun, 7 Jul 1996 12:36:18 +0000 (12:36 +0000)
committerSamba Release Account <samba-bugs@samba.org>
Sun, 7 Jul 1996 12:36:18 +0000 (12:36 +0000)
commitb50ff657ddc29b81b4aa02a597e5affab197e4f2
tree24cfb5b275e83601dc07cbe2f5f42401c01ec3fa
parentb6343dd09cdbc52677975405c2a85595ad152e8c
tidied up: code shuffling and documentation.
created namedb*.c nameservresp.c nameservreply.c and namepacket.c
added modules to Makefile, downloading dan's current version first :-)
shuffled docs to match source
created more docs

fixed bug in announce_backup() discovered when going nameannounce.doc:
backup list requests to the master browser should be used when samba is
not a master browser; backup list requests to the primary domain
controller should be used when samba is not a primary domain controller.

fixed bug in sync_server: it would never send MasterAnnounce packets.

removed the code that ignored special browser names: these should only
be ignored (except 0x1b names) when broadcasted name queries are sent,
not when directed registration or directed queries are sent samba as a
WINS server. (note: exactly what's going on is still uncertain).

renamed NAME_QUERY_MST_SRV_CHK  to NAME_QUERY_PDC_SRV_CHK  (more accurate).
renamed NAME_STATUS_MST_SRV_CHK to NAME_STATUS_PDC_SRV_CHK (more accurate).

added secured WINS name registration: a new 'state' NAME_REGISTER_CHALLENGE;
functions send_name_response(), response_name_query_register(); added
sending of WAIT ACKNOWLEDGEMENT packet; added a reply_to_ip field to
the response record structure so that after the name query challenge,
you know who to inform of the outcome of that challenge.

note: these are all currently untested modifications (yikes!)

lkcl
20 files changed:
source/include/nameserv.h
source/nameannounce.c
source/nameannounce.doc [new file with mode: 0644]
source/namebrowse.c
source/namebrowse.doc [new file with mode: 0644]
source/namedbname.doc [new file with mode: 0644]
source/namedbresp.doc [new file with mode: 0644]
source/nameelect.c
source/nameelect.doc [new file with mode: 0644]
source/namelogon.doc [new file with mode: 0644]
source/namepacket.doc [new file with mode: 0644]
source/namequery.doc [new file with mode: 0644]
source/nameresp.c
source/nameresp.doc
source/nameserv.c
source/nameserv.doc
source/nameservreply.doc [new file with mode: 0644]
source/nameservresp.doc [new file with mode: 0644]
source/namework.c
source/namework.doc