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
Stefan Metzmacher
9967907190
util_str: setup the correct talloc name for strings
...
metze
(partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
2009-01-19 07:05:21 +01:00
Stefan Metzmacher
3b91640fbb
NBT-WINS: initialize .dest_port explicit (we should fill the whole struct each time)
...
This makes the code more clear.
metze
2009-01-19 07:05:20 +01:00
Andrew Bartlett
9fa6fb3d9f
Print more useful suggestion for the main provision command line
2009-01-19 12:39:57 +11:00
Andrew Bartlett
b4551bba07
Delete more Samba3-specific files
2009-01-19 12:16:30 +11:00
Andrew Bartlett
b7cafb9842
Don't give fatal python errors when guessing the realm
2009-01-19 12:16:24 +11:00
Jelmer Vernooij
57f978d171
loadparm: Make sure various state variables get initialized even when we
...
couldn't load a default smb.conf file.
2009-01-16 17:37:40 +01:00
Jelmer Vernooij
f69ac13987
Add copyright headers.
2009-01-16 15:50:58 +01:00
Jelmer Vernooij
1a20f101b5
s4/NEWS: Remove mention of no longer existing js parameter.
2009-01-16 15:50:03 +01:00
Jelmer Vernooij
673ca5145c
Find default smb.conf path correctly, when it was not specified on the
...
command-line.
2009-01-16 15:05:15 +01:00
Kai Blin
c19926022c
s4-winbind: Remove a "knownfail" entry for the now implemented LIST_GROUPS
2009-01-16 07:33:16 +01:00
Günther Deschner
9361c73c2f
winreg: fix winreg_EnumValue callers.
...
Guenther
2009-01-16 00:28:46 +01:00
Günther Deschner
288c469195
s4-smbtorture: fix RPC-EVENTLOG test.
...
Guenther
2009-01-16 00:28:44 +01:00
Simo Sorce
6c5a1b0372
Fix LDB_MODULESDIR for ldb standalone builds
2009-01-15 18:05:45 -05:00
Jelmer Vernooij
da656c2e87
Use AS_HELP_STRING() in a couple more places.
2009-01-15 21:22:34 +01:00
Jelmer Vernooij
0cbce777a3
Fix indentation for some configure options.
2009-01-15 21:17:56 +01:00
Jelmer Vernooij
2d85e23e06
python/param: Cope with lp configfile being NULL.
2009-01-15 21:16:31 +01:00
Kai Blin
a0abb933d2
s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.
2009-01-15 10:35:00 +01:00
Günther Deschner
af9f7a39f0
s4-smbtorture: also test for invalid flags in eventlog test_ReadEventLog.
...
Guenther
2009-01-14 10:18:13 +01:00
Günther Deschner
4994956ad0
s4-smbtorture: pure cosmetic cleanup of eventlog test.
...
Guenther
2009-01-14 10:18:13 +01:00
Andrew Bartlett
96b1b8b94a
Fix error message in mkrelease to refer to source4, not source
2009-01-14 15:06:39 +11:00
Torgeir Lerkerod
e1ab0903a9
Fixed problemed showed on a number of systems on the buildfarm.
...
Problem shows up as perl error related to config.pm in reality
this was related to the ECHO_C variable. Added test to skip that
variable as no perl module is using it.
Torgeir
Signed-off-by: Torgeir Lerkerod <Torgeir.Lerkerod@gmail.com>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-01-14 15:06:39 +11:00
Volker Lendecke
f8f878285d
Add derpc_transport_string_by_transport(), apply some const
2009-01-09 23:08:16 +01:00
Tim Prouty
a65f1b9655
s4 torture: Add new create disposition test to RAW-STREAMS
2009-01-09 11:45:31 -08:00
Günther Deschner
f2dd351a1e
s4-smbtorture: print hand-decoded service status array in svcctl torture test.
...
Guenther
2009-01-09 17:08:18 +01:00
Stefan Metzmacher
308eb1c46e
Revert "quote ' inside '...' and make sure shell isn't eating \ by using perl here."
...
This reverts commit 2a52b059ce44403ff6ced066e0bb23fa6cc66a73.
It breaks the build on ubuntu.
metze
2009-01-09 12:23:58 +01:00
Björn Jacke
2a52b059ce
quote ' inside '...' and make sure shell isn't eating \ by using perl here.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-09 12:21:01 +01:00
Björn Jacke
fff711fddb
fix syntax error in case statement
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-09 08:55:05 +01:00
Andrew Bartlett
447f266887
Only do special DN tracking for normal DNs in OpenLDAP backend.
...
This means trying (again, harder), not to do this for DN+Binary and
DN+String attributes.
Andrew Bartlett
2009-01-09 12:08:11 +11:00
Günther Deschner
74a1ed3e28
s4-smbtorture: extend test_QueryServiceConfig2W a bit.
...
Guenther
2009-01-08 17:32:44 +01:00
Günther Deschner
e0edc079bd
s4-smbtorture: fix build of svcctl torture test.
...
Guenther
2009-01-08 17:32:40 +01:00
Stefan Metzmacher
f3ac9ec8b3
s4:events: don't trigger \n in debug messages two times
...
metze
2009-01-08 15:59:09 +01:00
Jelmer Vernooij
d44a6982f3
Don't attempt to use GNUTLS >= 2.6, as it is known broken with the socket-tls backend.
2009-01-08 13:15:10 +01:00
Jelmer Vernooij
e548660c87
Fix ldap.py test on systems that *can* find the record (the search fails here locally).
2009-01-08 12:51:19 +01:00
Jelmer Vernooij
3318204d29
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2009-01-08 12:27:52 +01:00
Jelmer Vernooij
ba5d6e6d70
Avoid using a utility header for Python replacements included in Samba,
...
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-08 12:20:20 +01:00
Günther Deschner
661eeb34b5
s4-smbtorture: use names for info level in test_QueryServiceStatusEx.
...
Guenther
2009-01-08 11:19:32 +01:00
Günther Deschner
4df1a491c5
s4-smbtorture: add my copyright to svcctl test.
...
Guenther
2009-01-08 11:19:31 +01:00
Günther Deschner
176bbcf90c
svcctl: add svcctl_ConfigLevel from samba 3.
...
Guenther
2009-01-08 11:18:57 +01:00
Tim Prouty
61a23c5eea
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
2009-01-07 15:03:16 -08:00
Tim Prouty
bed05fbf2e
s3 merged build: Fix include error
...
On some builds compiling source4/ntvfs/common/brlock_tdb.c was failing
because tdb_wrap.h couldn't find tdb.h. Adding the path should fix
the problem.
2009-01-07 15:03:16 -08:00
Jelmer Vernooij
c81de641cd
Display lsa string contents.
2009-01-07 22:40:49 +01:00
Jelmer Vernooij
f4735b7180
Set proper python exception when running out of memory.
2009-01-07 22:40:13 +01:00
Jelmer Vernooij
ea1ff069a5
Fix ldap.py test.
2009-01-07 11:06:00 +01:00
Andrew Bartlett
59f8c1d98a
Use new error constant (missing from 6efb7ff9)
2009-01-07 17:09:26 +11:00
Andrew Bartlett
59d5a963d1
Raise a python exception when the ldb search fails
...
This fixes a regression found by ldap.py in the new hand-written
python bindings.
Andrew Bartlett
2009-01-07 17:09:26 +11:00
Andrew Tridgell
c81863e868
added support for stream renames in Samba4
...
This allows the RAW-STREAMS test to work again. We still have some
limitations though:
- renames of a stream to the default stream doesn't work
- delete on close handling between streams and the main file
is still broken
2009-01-07 16:46:34 +11:00
Stefan Metzmacher
07e01f8405
s4:smbclient: correct initialize smbclient_context
...
Found by valgrind.
metze
2009-01-07 06:36:23 +01:00
Volker Lendecke
c692accbb7
Add a talloc failure check
2009-01-06 23:27:24 +01:00
Jelmer Vernooij
ee9dff71e1
When loading the default configuration, allow the configuration file to be
...
missing.
2009-01-06 22:38:44 +01:00