diff options
author | Samba Release Account <samba-bugs@samba.org> | 1996-07-07 12:36:18 +0000 |
---|---|---|
committer | Samba Release Account <samba-bugs@samba.org> | 1996-07-07 12:36:18 +0000 |
commit | b338bce94f47780c74b2db3608a767c5b957b61a (patch) | |
tree | ad4a664ed44df79f85c0955befa0335d09f7e129 /source3/namework.doc | |
parent | 4d314a96e76670f65bcd885d7bddfd7a137a4116 (diff) | |
download | samba-b338bce94f47780c74b2db3608a767c5b957b61a.tar.gz samba-b338bce94f47780c74b2db3608a767c5b957b61a.tar.xz samba-b338bce94f47780c74b2db3608a767c5b957b61a.zip |
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)
Diffstat (limited to 'source3/namework.doc')
-rw-r--r-- | source3/namework.doc | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/source3/namework.doc b/source3/namework.doc index 4616b328daa..8e7e82a000c 100644 --- a/source3/namework.doc +++ b/source3/namework.doc @@ -2,26 +2,15 @@ the module namework.c deals with NetBIOS datagram packets, primarily. it deals with nmbd's workgroup browser side and the domain log in side. none of the functionality here has specification documents available. -empirical observation of packet traces has been the order of the day. +empirical observation of packet traces has been the order of the day, +along with some guess-work. beware! the receipt of datagram packets for workgroup browsing are dealt with here. some of the functions listed here will call others outside of this -module, or will activate functionality dealt with by other modules. - -these include: namedb.c, nameannounce.c, nameelect.c, - namelogon.c, and namebrowse.c. - - -/************************************************************************* - process_dgram() - *************************************************************************/ - -this function is responsible for identifying whether the datagram -packet received is a browser packet or a domain logon packet. it -also does some filtering of certain types of packets (e.g it -filters out error packets). +module, or will activate functionality dealt with by other modules +(namedb, nameannounce, nameelect, namelogon, and namebrowse). /************************************************************************* @@ -95,7 +84,8 @@ samba do not implement this latter option. this datagram is sent by a master browser to a primary domain controller. it is a way to ensure that master browsers are kept in sync with a primary domain controller across a wide -area network. +area network. on receipt of an ANN_MasterAnnouncement we +should sync browse lists with the sender. (i never got the hang of this one when i was experimenting. i forget exactly what it's for, and i never fully worked |