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)
commitb338bce94f47780c74b2db3608a767c5b957b61a
treead4a664ed44df79f85c0955befa0335d09f7e129
parent4d314a96e76670f65bcd885d7bddfd7a137a4116
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
(This used to be commit b50ff657ddc29b81b4aa02a597e5affab197e4f2)
20 files changed:
source3/include/nameserv.h
source3/nameannounce.c
source3/nameannounce.doc [new file with mode: 0644]
source3/namebrowse.c
source3/namebrowse.doc [new file with mode: 0644]
source3/namedbname.doc [new file with mode: 0644]
source3/namedbresp.doc [new file with mode: 0644]
source3/nameelect.c
source3/nameelect.doc [new file with mode: 0644]
source3/namelogon.doc [new file with mode: 0644]
source3/namepacket.doc [new file with mode: 0644]
source3/namequery.doc [new file with mode: 0644]
source3/nameresp.c
source3/nameresp.doc
source3/nameserv.c
source3/nameserv.doc
source3/nameservreply.doc [new file with mode: 0644]
source3/nameservresp.doc [new file with mode: 0644]
source3/namework.c
source3/namework.doc