summaryrefslogtreecommitdiffstats
path: root/source/namebrowse.c
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1996-07-07 12:36:18 +0000
committerSamba Release Account <samba-bugs@samba.org>1996-07-07 12:36:18 +0000
commitb50ff657ddc29b81b4aa02a597e5affab197e4f2 (patch)
tree24cfb5b275e83601dc07cbe2f5f42401c01ec3fa /source/namebrowse.c
parentb6343dd09cdbc52677975405c2a85595ad152e8c (diff)
downloadsamba-b50ff657ddc29b81b4aa02a597e5affab197e4f2.tar.gz
samba-b50ff657ddc29b81b4aa02a597e5affab197e4f2.tar.xz
samba-b50ff657ddc29b81b4aa02a597e5affab197e4f2.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
Diffstat (limited to 'source/namebrowse.c')
-rw-r--r--source/namebrowse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/namebrowse.c b/source/namebrowse.c
index 4b3e691ce04..e62aa1ec6db 100644
--- a/source/namebrowse.c
+++ b/source/namebrowse.c
@@ -178,7 +178,7 @@ static void start_sync_browse_entry(struct browse_cache_record *b)
/* see response_netbios_packet() or expire_netbios_response_entries() */
queue_netbios_packet(d,ClientNMB,NMB_QUERY,NAME_QUERY_SYNC,
b->group,0x20,0,0,
- False,False,b->ip);
+ False,False,b->ip,b->ip);
}
b->synced = True;