From e5a0619c2839d45b00446c3af3f30599f3f3c5fa Mon Sep 17 00:00:00 2001 From: Samba Release Account Date: Wed, 10 Jul 1996 18:48:49 +0000 Subject: updated docs to match code mods from last two or three updates. done some more commenting of code to match docs. sorted some bugs. ipc BOOL domains was uninitialised. lkcl (This used to be commit cb43ce7bc08fa43a6ce49e0937f13afec5dce67b) --- source3/nameservresp.doc | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) (limited to 'source3/nameservresp.doc') diff --git a/source3/nameservresp.doc b/source3/nameservresp.doc index 2f0d1912c8..f50f3a7c4f 100644 --- a/source3/nameservresp.doc +++ b/source3/nameservresp.doc @@ -2,6 +2,9 @@ this module deals with the receipt of response packets. the response packets are expected to be received, and there is a record of this kept (see also: modules nameresp and namedbresp) +point of interest to design purists: every function in this +module is static except response_netbios_packet(). + /************************************************************************* response_netbios_packet() *************************************************************************/ @@ -61,33 +64,6 @@ we may do so if the query was sent to another WINS server. the registered entry should be removed if we receive a negative response. -/************************************************************************* - response_name_query_register() - *************************************************************************/ - -this function receives responses to samba 'states' -NAME_REGISTER_CHALLENGE. - -NAME_REGISTER_CHALLENGE: name query a server to establish whether to -hand over a unique name to another server that asked for that name. - -if a positive response is received to the name query, this indicates -that the current owner still wants the name. we therefore refresh -the name records indicating that the current owner still wants it, -and we inform the potential owner (the other host) that they cannot -have it. - -if a negative response is received, this indicates that for some -reason (for example, it may have just released the name or the -WINS server may have had out-of-date records) the current owner -does not want the name. in this instance, the name records are -updated to give this unique name to the other host that wanted -it, and the other host is informed that they can have it. - -a failure to respond on the part of the current owner of the name -is dealt with in dead_netbios_entry(). - - /************************************************************************* response_name_status_check() *************************************************************************/ -- cgit