1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4
Stefan Metzmacher ee8f481d94 winsserver: we need to ignore duplicated name register requests.
This fixes the following bug:

While we reply with a WACK response to a client.
Instead of waiting for the final reply some
windows client just resends the request using
the same name_trn_id in the nbt_name_packet.
We handled this as a new request and send a
WACK response (and the challenges) again.
Then the first request gets its final success
response, but the when we try to send the success
for the "second" request we notice that
the record was changed in between and we return
an error.

Windows 2003 (and I assume all other versions as well)
detect the packet is just a resent of a currently pending
request and ignores it.

So we now keep a list of all pending WINS name register
requests which result in a WACK response. On each incoming
name register request we search through the list to find
duplicate requests and ignore them. In theory we should
do that for all requests, but name register requests
are the only requests we response async and only
if we have to go via the WACK code path.

metze
(from samba4wins tree 382e7d384b70d03e9f81c7bb353afaed288d80f0)
2009-01-19 07:05:21 +01:00
..
auth Avoid using a utility header for Python replacements included in Samba, 2009-01-08 12:20:20 +01:00
build Fixed problemed showed on a number of systems on the buildfarm. 2009-01-14 15:06:39 +11:00
cldap_server Fix missing symbols issues when building with shared libraries. 2008-12-22 21:03:09 +01:00
client s4:smbclient: correct initialize smbclient_context 2009-01-07 06:36:23 +01:00
cluster s4:cluster: fix dependency to TDB_WRAP 2008-12-29 20:55:02 +01:00
dsdb s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
dynconfig Fix installation of misc files. 2008-09-30 00:29:03 +02:00
heimdal Re-add support for supporting the PAC over domain trusts. 2008-11-04 16:06:57 +11:00
heimdal_build Use standard heimdal function for finding interfaces - libreplace provides support for the underlying functions now. 2008-11-02 18:14:53 +01:00
include Samba3: Include util.h header file rather than having custom prototypes. 2008-11-01 03:14:43 +01:00
kdc s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
ldap_server s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
lib winreg: fix winreg_EnumValue callers. 2009-01-16 00:28:46 +01:00
libcli util_str: setup the correct talloc name for strings 2009-01-19 07:05:21 +01:00
libnet s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
librpc Add derpc_transport_string_by_transport(), apply some const 2009-01-09 23:08:16 +01:00
nbt_server winsserver: we need to ignore duplicated name register requests. 2009-01-19 07:05:21 +01:00
ntp_signd Fix missing symbols issues when building with shared libraries. 2008-12-22 21:03:09 +01:00
ntptr s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
ntvfs added support for stream renames in Samba4 2009-01-07 16:46:34 +11:00
param loadparm: Make sure various state variables get initialized even when we 2009-01-16 17:37:40 +01:00
rpc_server Add a talloc failure check 2009-01-06 23:27:24 +01:00
script Delete more Samba3-specific files 2009-01-19 12:16:30 +11:00
scripting Print more useful suggestion for the main provision command line 2009-01-19 12:39:57 +11:00
selftest s4-winbind: Remove a "knownfail" entry for the now implemented LIST_GROUPS 2009-01-16 07:33:16 +01:00
setup Don't give fatal python errors when guessing the realm 2009-01-19 12:16:24 +11:00
smb_server s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
smbd Use AS_HELP_STRING() in a couple more places. 2009-01-15 21:22:34 +01:00
torture NBT-WINS: initialize .dest_port explicit (we should fill the whole struct each time) 2009-01-19 07:05:20 +01:00
utils s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
web_server Avoid using a utility header for Python replacements included in Samba, 2009-01-08 12:20:20 +01:00
winbind s4-winbind: Add support for the WINBINDD_LIST_GROUPS command. 2009-01-15 10:35:00 +01:00
wrepl_server s4:lib/tevent: rename structs 2008-12-29 20:46:40 +01:00
.valgrind_suppressions
aclocal.m4 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
autogen.sh fix syntax error in case statement 2009-01-09 08:55:05 +01:00
BUGS Move Samba4-specific files into source4/ 2008-09-30 17:11:39 +02:00
config.guess
config.sub
configure.ac tevent: move samba4 stuff from libtevent.m4 to samba.m4 2009-01-04 18:57:18 +01:00
configure.developer r25839: use nss_wrapper code in samba4 if 2007-12-21 05:44:20 +01:00
configure.nodebug.developer
configure.tridge.opt
headermap.txt s4:lib/events: remove unused events_internal.h 2009-01-02 18:16:55 +01:00
install-sh [GLUE] fix some executable bits on shell scripts 2007-12-21 05:21:31 +01:00
main.mk s4: remove unused dbwrap code 2008-12-29 14:46:08 +01:00
Makefile s4: remove unused dbwrap code 2008-12-29 14:46:08 +01:00
NEWS s4/NEWS: Remove mention of no longer existing js parameter. 2009-01-16 15:50:03 +01:00
static_deps.mk Rename string_replace_w to string_replace_m, which is more correct. 2008-10-24 01:19:33 +02:00
TODO Move Samba4-specific files into source4/ 2008-09-30 17:11:39 +02:00
VERSION On the way to alpha6! 2008-06-30 21:54:28 +10:00