Jelmer Vernooij
1e973565b6
Move subunit infrastructure code into lib/torture.
...
(This used to be commit 5b44d8121d
)
2008-04-27 14:02:46 +01:00
Kai Blin
240d959005
libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
...
(This used to be commit 5f3a70f285
)
2008-04-24 11:17:23 +02:00
James Peach
b8209978d7
testsuite: skip RAW-BENCH-LOOKUP by default.
...
(This used to be commit 8a8449c953
)
2008-04-23 11:26:38 -07:00
Simo Sorce
c33c614eb2
Revert "Add port number for ncacn_http epmapper."
...
This reverts commit 1304362b37
.
This was causing way too many tests to fail. The dcesrv server was failing
to start as the NCACN_HTTP transport is considered invalid.
Jelmer please check how to properly fix dcesrv server before re-committing
your change.
(This used to be commit 0c59b39ad8
)
2008-04-23 08:54:57 -04:00
Simo Sorce
7f464f0628
Fix more failing tests to pass the event context.
...
(This used to be commit d6c5d8baf0
)
2008-04-22 16:40:44 -04:00
Simo Sorce
89cac520d0
Remove temporary debug statement
...
(This used to be commit 10780e638a
)
2008-04-22 16:40:44 -04:00
Jelmer Vernooij
f1b76952c0
Fix event context initialization for Python bindings.
...
(This used to be commit 132efc779e
)
2008-04-22 22:33:34 +02:00
Jelmer Vernooij
f8dc2ca022
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 10a1a53d8b
)
2008-04-22 22:19:46 +02:00
Björn Jacke
996d1bc090
fix an extrasemi compile warning
...
(This used to be commit 47e8ef4f6a
)
2008-04-22 15:13:36 +02:00
Jelmer Vernooij
38a4f9df17
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 1e38de4564
)
2008-04-22 10:21:22 +02:00
Simo Sorce
7dddab3f6c
Make sure we have an event context available
...
(This used to be commit b7c96e0cc2
)
2008-04-21 19:53:29 -04:00
Simo Sorce
c8eb82816f
Fix build
...
(This used to be commit c16d1d430a
)
2008-04-21 19:53:15 -04:00
Jelmer Vernooij
54efc107e5
Add port number for ncacn_http epmapper.
...
(This used to be commit 1304362b37
)
2008-04-22 01:34:11 +02:00
Simo Sorce
4e83011f72
Remove more event_context_init() uses from function calls within deep down the code.
...
Make sure we pass around the event_context where we need it instead.
All test but a few python ones fail. Jelmer promised to fix them.
(This used to be commit 3045d39162
)
2008-04-21 18:12:33 -04:00
James Peach
8a3e3391fb
smbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.
...
This test samples the lookup rate for a non-existant filename in a
directory, while varying the number of files in the directory. The
lookup rate should continue to approximate the lookup rate for the
empty directory case.
(This used to be commit ca7e4d9166
)
2008-04-21 15:09:43 -07:00
Jelmer Vernooij
db30ff4bea
Load default smb.conf file if none was specified explicitly.
...
(This used to be commit 8fa23fac51
)
2008-04-21 17:59:08 +02:00
Andrew Bartlett
61fba82594
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 13a0941d34
)
2008-04-19 09:59:07 +02:00
Stefan Metzmacher
f0eb488d22
SMB2-PERSISTENT-HANDLES1: close the handle before deleting it
...
This means we no longer have a oplock break timing out
for the "delete".
metze
(This used to be commit 50f6a72b67
)
2008-04-19 02:06:44 +02:00
Stefan Metzmacher
95d111b7e4
torture/smb2: add a simple SMB2-OPLOCK-BATCH1 test
...
metze
(This used to be commit 914f0ac83b
)
2008-04-19 01:54:45 +02:00
Stefan Metzmacher
39d2302721
ntvfs_generic: map RAW_LOCK_SMB2_BREAK to RAW_LOCK_GENERIC
...
metze
(This used to be commit b781bb733c
)
2008-04-19 01:54:45 +02:00
Stefan Metzmacher
8b5f03a225
smb_server/smb2: handle incoming oplock releases
...
metze
(This used to be commit 2306394dcc
)
2008-04-19 01:54:45 +02:00
Stefan Metzmacher
132852f44a
libcli/smb2: make it possible to handle incoming oplock requests
...
metze
(This used to be commit 58189b87ea
)
2008-04-19 01:54:44 +02:00
Stefan Metzmacher
0f4a60ff24
libcli/smb2: add smb2_break() calls
...
metze
(This used to be commit 7f545dbbf0
)
2008-04-19 01:54:44 +02:00
Stefan Metzmacher
670b7dcae3
libcli: define structure for SMB2 Break
...
metze
(This used to be commit 5ffea702c3
)
2008-04-19 01:54:44 +02:00
Stefan Metzmacher
b2f2c1486e
ntvfs_generic: fix mapping the granted oplocks for SMB2
...
metze
(This used to be commit 60c4a4fc1a
)
2008-04-19 01:54:42 +02:00
Stefan Metzmacher
08f83c59df
build: fix the build rule for .o files
...
metze
(This used to be commit c7f34f41c3
)
2008-04-19 01:10:39 +02:00
Amin Azez
b3f9740764
Flag smb messages array with AND_X and LARGE_REQUEST
...
If smb_messages flags show for which opcodes VWV(0)
signifies chaining modes, and also which opcodes can
have requests >64K then the bcc / req->in.data_size
fixup in smbsrv_recv_smb_request can be more safely
applied.
This fix permits nttrans requests >64K to be handled.
It is not yet clear if THAT is a good thing, but this
fix does the current thing more nicely.
(This used to be commit 8e4f16e975
)
2008-04-18 22:09:10 +02:00
Amin Azez
908d8daa21
Re-order smbsrv_recv_smb_request and smb_messages
...
No functional change, just re-ordering so that
smbsrv_recv_smb_request can refer to smb_messages
in a future patch
(This used to be commit d06eafea1a
)
2008-04-18 22:09:10 +02:00
Andrew Bartlett
0321bc0259
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit e8da1559f7
)
2008-04-18 18:21:52 +02:00
Andrew Tridgell
93c9de03af
fixed a double free in winbind
...
state->domain->netlogon_binding is a child of ctx, and ctx is freed by
the composite_is_ok failure callback
(This used to be commit 3c217518ba
)
2008-04-18 16:23:48 +02:00
Andrew Tridgell
09e1ed03c7
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit e2489de8de
)
2008-04-18 15:42:55 +02:00
Andrew Tridgell
6a40411fcc
change the default idmap range to 3M -> 4M
...
This gives us a lot more headroom, and means that we have a lower
chance of running into real local users
(This used to be commit b2dac6645c
)
2008-04-18 15:41:54 +02:00
Andrew Bartlett
bfbcfc41f5
Fix samba3 protocol to correctly include the NULL terminator
...
Andrew Bartlett
(This used to be commit fa45991303
)
2008-04-18 11:37:43 +02:00
Andrew Bartlett
22bbb0ebe6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 43fc10aaa7
)
2008-04-17 18:44:48 +02:00
Andrew Bartlett
c9a12fa55d
More endian fixes in the registry
...
(This used to be commit b26662be19
)
2008-04-17 18:40:56 +02:00
Andrew Tridgell
3180cbbc5b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit c73a3b837e
)
2008-04-17 16:53:36 +02:00
Andrew Bartlett
d0525ff0c2
Fix typo
...
(This used to be commit ba65465045
)
2008-04-17 16:44:55 +02:00
Andrew Bartlett
8582063e91
More work to avoid endian bugs in registry tests.
...
Andrew Bartlett
(This used to be commit 500544f412
)
2008-04-17 16:38:53 +02:00
Stefan Metzmacher
e0fe8613a3
nbt.idl: fix parsing und pushing of dom_sids by using dom_sid0
...
metze
(This used to be commit 0e2f6d481b
)
2008-04-17 16:28:59 +02:00
Stefan Metzmacher
aa51981e99
libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ntlogon packets
...
metze
(This used to be commit 690c12cd2a
)
2008-04-17 16:28:40 +02:00
Andrew Bartlett
e739fe91cf
Fix bug in registry test on big-endian machines.
...
Andrew Bartlett
(This used to be commit c74c67c383
)
2008-04-17 15:54:22 +02:00
Andrew Tridgell
dc74e0fad6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit 3ab9abf406
)
2008-04-17 15:21:08 +02:00
Andrew Tridgell
11703b2986
fix the overflow/wrap checks in Samba4 for new gcc optimisation behavior
...
The approach I have used is as set out in
https://www.securecoding.cert.org/confluence/display/seccode/ARR38-C.+Do+not+add+or+subtract+an+integer+to+a+pointer+if+the+resulting+value+does+not+refer+to+an+element+within+the+array
(This used to be commit 92d5fb531d
)
2008-04-17 15:20:39 +02:00
Andrew Bartlett
ef457187b4
Don't exclude all tests mentioning 'samba3', but only those actually
...
specific.
Andrew Bartlett
(This used to be commit a38f413c55
)
2008-04-17 14:59:16 +02:00
Andrew Tridgell
107ab090e2
use uintptr_t instead of intptr_t where appropriate
...
(This used to be commit d62f2bcc85
)
2008-04-17 14:47:07 +02:00
Andrew Bartlett
7d38a51af9
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
(This used to be commit 8d9812bada
)
2008-04-17 14:25:22 +02:00
Andrew Bartlett
ca2e4a0e14
Run samba3sam.js with bin/smbscript explicitly.
...
Andrew Bartlett
(This used to be commit 12fa307653
)
2008-04-17 14:23:50 +02:00
Andrew Bartlett
0b4c401f06
Fix build not to always use code coverage.
...
Somehow, the way this was structured before always did a gcov build.
Andrew Bartlett
(This used to be commit 052edb7864
)
2008-04-17 14:20:46 +02:00
Simo Sorce
d7034765b7
Add useful provisioning debugging options
...
(This used to be commit 3f46eb95e4
)
2008-04-17 08:04:57 -04:00
Jelmer Vernooij
dd0da89e84
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit ece878c1f9
)
2008-04-17 13:05:25 +02:00