1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

1634 Commits

Author SHA1 Message Date
Andrew Bartlett
7f0a396e3b r15504: Revert -r 15500 and -r 15503 until I'm awake, and can get my head
around the mess that is composite functions...

Async might be all the rage, but it's bloody painful to debug.

Andrew Bartlett
(This used to be commit 756e1dad7c)
2007-10-10 14:05:43 -05:00
Rafal Szczesniak
bbc6e216bd r15502: Typo fix.
rafal
(This used to be commit f076041ff1)
2007-10-10 14:05:43 -05:00
Andrew Bartlett
5f36534629 r15500: Add support for interactive prompting on bad passwords to the RPC libraries.
This support requires that the bind_ack and alter_ack recv functions
also be send the DCE/RPC fault.  This would be best done by having the
ack run as a normal RPC reply callback, but this isn't easily possible
for now.

Andrew Bartlett
(This used to be commit be6dde22fe)
2007-10-10 14:05:42 -05:00
Andrew Bartlett
ceb1d66172 r15499: This test can't run if the remote server won't let us open a policy handle.
Andrew Bartlett
(This used to be commit ca0ffb1218)
2007-10-10 14:05:42 -05:00
Rafal Szczesniak
9604b161ad r15456: Inspired by a short discussion with abartlet on IRC.
- create "async" parameter for smbtorture to categorise async tests
  potentially hard for windows servers
- create "num-async" parameter to specify the number of simultaneous
  async requests to be made
- move RPC-ASYNCBIND test from "dangerous" to "async" (I should probably
  do the same for many others async tests...)

It's an interesting way to determine resources availability on windows
servers...

rafal
(This used to be commit 0d008fbea0)
2007-10-10 14:05:37 -05:00
Rafal Szczesniak
a3898df957 r15436: Add test for LIBNET_RPC_CONNECT_DC_INFO level. Display received
information.

rafal
(This used to be commit 76d965b0b0)
2007-10-10 14:05:36 -05:00
Andrew Bartlett
5f4d86f955 r15426: Implement SPNEGO as the default RPC authentication mechanism. Where
this isn't supported, fallback to NTLM.

Also, where we get a failure as 'logon failure', try and do a '3
tries' for the password, like we already do for CIFS.  (Incomplete:
needs a mapping between RPC errors and the logon failure NTSTATUS).

Because we don't yet support Kerberos sign/seal to win2k3 SP1 for
DCE/RPC, disable this (causing SPNEGO to negotiate NTLM) when kerberos
isn't demanded.

Andrew Bartlett
(This used to be commit b3212d1fb9)
2007-10-10 14:05:36 -05:00
Rafal Szczesniak
5adcc59265 r15412: Put the test in a dangerous category.
rafal
(This used to be commit 52b4ef14a0)
2007-10-10 14:05:34 -05:00
Rafal Szczesniak
b369ffd1d5 r15394: Put initial code for testing async dcerpc binding. Currently
it only tests multiple simultaneous bind requests using transport
specified in command line. It will be interesting to use various
transports at the same time and test it agains windows servers...

rafal
(This used to be commit 7e4756116e)
2007-10-10 14:05:32 -05:00
Jelmer Vernooij
cf0f4ec073 r15358: Fix some compiler warnings / type safety. Found by tcc
(This used to be commit 12ba42de58)
2007-10-10 14:05:25 -05:00
Andrew Bartlett
c2cc10c786 r15356: Remove unused 'flags' argument from socket_send() and friends.
This is in preperation for making TLS a socket library.

Andrew Bartlett
(This used to be commit a312812b92)
2007-10-10 14:05:25 -05:00
Jelmer Vernooij
1f5a8f892f r15344: Fix shared library build
(This used to be commit 7113a16309)
2007-10-10 14:05:21 -05:00
Jelmer Vernooij
20b3b0f2e3 r15338: Fix build of most things with shared libs enabled.
(This used to be commit 8985093d3f)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
f7c86b912d r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
(This used to be commit 4ec89bce87)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
e002300f23 r15328: Move some functions around, remove dependencies.
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
b00c236906 r15301: Use static libraries internally. This required a few hacks in the build
system - these should be removed later on.
(This used to be commit 0654739166)
2007-10-10 14:05:07 -05:00
Jelmer Vernooij
620d759f49 r15298: Fix the build using a few hacks in the build system.
Recursive dependencies are now forbidden (the build system
will bail out if there are any).

I've split up auth_sam.c into auth_sam.c and sam.c. Andrew,
please rename sam.c / move its contents to whatever/wherever you think suits
best.
(This used to be commit 6646384aaf)
2007-10-10 14:05:04 -05:00
Stefan Metzmacher
7a9076cba2 r15259: try to find the place that causes trouble on some build farm host
on the NBT-WINSREPLICATION-OWNED test

metze
(This used to be commit 72ae0dbaab)
2007-10-10 14:04:27 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
a30340affe r15201: Use abs() rather then ABS()
(This used to be commit 1f3833d041)
2007-10-10 14:04:16 -05:00
James Peach
6ab33938d5 r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
(This used to be commit 7e4ad7e8e5)
2007-10-10 14:04:14 -05:00
James Peach
4d81335115 r15131: Tidy help output. When printing the list of tests, group them by prefix
to make it easier to see what tests are available.
(This used to be commit f15010ccb3)
2007-10-10 14:04:10 -05:00
Stefan Metzmacher
73b385d3c4 r15122: test what access masks are needed when using the FLAGS2_READ_PERMIT_EXECUTE
flag.

metze
(This used to be commit d298e4760c)
2007-10-10 14:04:10 -05:00
Volker Lendecke
cf0343dfa9 r15087: Quick stress test that does more or less what the tool "iometer" does.
Volker
(This used to be commit 6a08b192be)
2007-10-10 14:04:07 -05:00
Stefan Metzmacher
e7f34592eb r15070: test the needed access masks for read/write the different
security descriptor components

metze
(This used to be commit 88c57c8703)
2007-10-10 14:04:06 -05:00
Stefan Metzmacher
4d72f3f8d0 r15066: - sync the dir_flags tests with the file_flags tests
- add some more checks for the w2k3 bug case

metze
(This used to be commit a55b44b96c)
2007-10-10 14:04:06 -05:00
Andrew Tridgell
c8610144f7 r15049: for really efficient oplock handling with thousands of open files we
will need a separate messaging endpoint per open file. To make this
efficient extend the messaging layer to have a new registration
function for temporary message types that maps via an idtree.

I have updated the LOCAL-MESSAGING test to use the new function.
(This used to be commit 4b976851d8)
2007-10-10 14:04:03 -05:00
Andrew Tridgell
970f7122d9 r15033: expanded the RAW-OPLOCK test to include the different cases where the
client chooses to break to none or break to level II, when offered a
level II break from exclusive
(This used to be commit 9a35b14422)
2007-10-10 14:04:02 -05:00
Andrew Tridgell
84e00add26 r15032: change BENCH-NBENCH to always break to none, rather than accepting a
levelII break offer from the server.
(This used to be commit 7d7853476e)
2007-10-10 14:04:02 -05:00
Andrew Tridgell
7f6ed60c70 r15016: add a test for a 2nd open with an exclusive oplock. It does not cause
a break, as exclusive oplocks don't cache close requests
(This used to be commit 9f2617a062)
2007-10-10 14:04:01 -05:00
Andrew Tridgell
48d3fb39ff r15015: add an explanation for this test
(This used to be commit 9fdeec506f)
2007-10-10 14:04:01 -05:00
Andrew Tridgell
72343b9615 r15014: added a simple batch oplock benchmark
Jeremy, Samba3 currently fails this test with a 2.6.16-rc6 kernel and
kernel oplocks enabled. With kernel oplock off it passes, though its a
bit slow
(This used to be commit 99df202460)
2007-10-10 14:04:01 -05:00
Andrew Tridgell
bc9b94a3e5 r14980: fixed several IBM checker errors in gentest and masktest
(This used to be commit 98016479a9)
2007-10-10 14:00:50 -05:00
Andrew Tridgell
b04592918d r14969: ensure that even on slow machines we leave plenty of time for a series
of events to propogate internally in smbd before asking for them

(the test was failing on slow machines)
(This used to be commit a493539458)
2007-10-10 14:00:48 -05:00
Stefan Metzmacher
35ee247487 r14967: load shared module torture test after we know where to search...
metze
(This used to be commit b2f4553154)
2007-10-10 14:00:47 -05:00
Andrew Tridgell
127967334f r14956: change the notify search to be much more efficient by using a
per-depth bisection search. This makes the notify_trigger() call
log(N) which makes us scale well for large numbers of outstanding
notifies
(This used to be commit 16fd00925f)
2007-10-10 14:00:45 -05:00
Andrew Tridgell
b5ee277f1a r14948: add testing of truncate events, and add truncate support to inotify
backend
(This used to be commit b80523a631)
2007-10-10 14:00:21 -05:00
Andrew Tridgell
ce25ec56f3 r14942: make the RAW-NOTIFY test check the strange file rename semantics. Also
be more forgiving of matching on extra bits (inotify cannot match on
minimal bits for all events).
(This used to be commit 29de884737)
2007-10-10 14:00:20 -05:00
Andrew Tridgell
0dce9b003c r14935: try to avoid a race condition in the recursion test
(This used to be commit 659576806f)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
51a5b79ec0 r14934: greatly expand the RAW-NOTIFY testing of completion filters. We now
try each bit in the completion filter separately for a wide range of
file operations.
(This used to be commit 81f8b24526)
2007-10-10 14:00:19 -05:00
Andrew Tridgell
e221db7a39 r14928: demonstrate that the completion filter is only set on the first notify
on a directory handle
(This used to be commit b6e40d9b08)
2007-10-10 14:00:18 -05:00
Andrew Tridgell
d8544db317 r14927: expand the RAW-NOTIFY test to test recursive and rename handling
(This used to be commit e6abb1ecba)
2007-10-10 14:00:18 -05:00
Stefan Metzmacher
1af925f394 r14860: create libcli/security/security.h
metze
(This used to be commit 9ec706238c)
2007-10-10 13:59:44 -05:00
Andrew Tridgell
986aae3c5c r14845: expanded the number of info levels tested for continue in the
RAW-SEARCH test
(This used to be commit a3e7640730)
2007-10-10 13:59:42 -05:00
Stefan Metzmacher
0697e76440 r14843: the results of the srvsrv_* calls depends on the user,
try some tests anonymous...

metze
(This used to be commit eb63d83f00)
2007-10-10 13:59:41 -05:00
Stefan Metzmacher
f964db91e7 r14826: initialize pid1 and pid2:-)
metze
(This used to be commit 45e2832972)
2007-10-10 13:59:24 -05:00
Stefan Metzmacher
01f19c0d1b r14818: give an error on an unknown test
so we catch typos in the make test scripts

metze
(This used to be commit fa73030deb)
2007-10-10 13:59:23 -05:00
Stefan Metzmacher
9845c8c475 r14817: rename some tests
tridge: is SCAN-EAMAX ok?

metze
(This used to be commit d8529ec2ee)
2007-10-10 13:59:23 -05:00
Andrew Tridgell
8e7078e149 r14794: added a test to see what happens when you send a notify request on a
handle that already has a notify request pending. It turns out that
they are queued
(This used to be commit 15e9302bcd)
2007-10-10 13:59:19 -05:00
Jelmer Vernooij
42da534d66 r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhere
(This used to be commit a316b33057)
2007-10-10 13:59:17 -05:00