1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

4230 Commits

Author SHA1 Message Date
Günther Deschner
8bb30ffcf6 s4-smbtorture: avoid passing down a full test_spoolss_context to directory
spoolss tests when not used.

Guenther
2010-04-07 11:40:31 +02:00
Günther Deschner
4d482d9c19 s4-smbtorture: more work on forms tests in RPC-SPOOLSS.
Guenther
2010-04-06 21:13:19 +02:00
Matthias Dieter Wallnöfer
5b824eb17b s4:torture - remove unused variables 2010-04-06 14:54:11 +02:00
Andrew Tridgell
553324bc10 s4-waf: move to a universal method of recursing into subdirs
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
b690fedef5 s4-waf: removed the AUTOGENERATED markers
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
b9aa63887c s4-waf: cleanup use of LIBPOPT vs popt dependency 2010-04-06 20:27:13 +10:00
Andrew Tridgell
f9eae32f4b s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00
Andrew Tridgell
03bf6c9d3b s4-waf: added rap/rpc.c 2010-04-06 20:27:08 +10:00
Andrew Tridgell
6e54655f4a s4-waf: update torture for new ndr/drsblobs.c tests 2010-04-06 20:27:06 +10:00
Andrew Tridgell
026690af00 s4-waf: remove the need for some of the lib aliases 2010-04-06 20:27:05 +10:00
Andrew Tridgell
844acb2260 build: waf quicktest nearly works
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f build: commit all the waf build files in the tree 2010-04-06 20:26:48 +10:00
Günther Deschner
55e1af856e s4-smbtorture: fix correct result error code in SetForm spoolss test.
Guenther
2010-04-06 12:13:54 +02:00
Günther Deschner
12bd7a1230 s4-smbtorture: fix two context arguments in RPC-SAMSYNC test.
Guenther
2010-04-06 10:56:55 +02:00
Jelmer Vernooij
31094b0e8c smbtorture: Report number of available tests in a testsuite using subunit. 2010-03-31 02:57:47 +02:00
Andrew Tridgell
2699db3fe0 s4-torture: removed more uses of typeof()
not portable
2010-03-31 10:23:17 +11:00
Andrew Tridgell
4fc0a6ab31 s4-torture: using typeof() is not portable
this failed to compile on solaris8 with cc
2010-03-31 10:23:17 +11:00
Matthias Dieter Wallnöfer
65d1d41844 s4:torture/basic/denytest.c - use "typeof" in a better supported syntax
This should make it compatible with the SUN Studio C Compiler.
2010-03-30 17:24:15 +02:00
Günther Deschner
979c50eff7 s4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:52 +02:00
Stefan Metzmacher
10e46e52ab s4:torture/rpc/lsa.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:51 +02:00
Günther Deschner
1a4d9b95ee s4:torture/rpc/samr.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:50 +02:00
Günther Deschner
e531b52ab9 s4:torture/rpc/handles.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:50 +02:00
Günther Deschner
3398636a3b s4:torture/rpc/samr_accessmask.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:50 +02:00
Stefan Metzmacher
08177e98b2 s4:torture/rpc/samsync.c: add explicit check for NTSTATUS r.out.result 2010-03-29 15:35:49 +02:00
Günther Deschner
5dcb1e5030 s4:torture/rpc/samlogon.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:49 +02:00
Günther Deschner
2f7f7257d9 s4:torture/rpc/netlogon.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:48 +02:00
Günther Deschner
8ac42bc0dc s4:torture/rpc/lsa_lookup.c:add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:48 +02:00
Günther Deschner
1248adb2c5 s4:torture/libnet:add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:48 +02:00
Günther Deschner
2d35523f24 s4:torture/rpc/schannel.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:47 +02:00
Günther Deschner
940c6ab29f s4:torture/rpc/remote_pac.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:47 +02:00
Günther Deschner
a154bb5629 s4:torture/rpc/testjoin.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:47 +02:00
Günther Deschner
959a128c7b s4:torture/rpc/session_key.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:46 +02:00
Günther Deschner
583c7cbd4c s4:torture/rpc/eventlog.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:46 +02:00
Günther Deschner
159ca62094 s4:torture/rpc/unixinfo.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:45 +02:00
Günther Deschner
1184ef6672 s4:torture/ntp: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:45 +02:00
Günther Deschner
0590e7ef36 s4:torture/rpc/atsvc.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:45 +02:00
Stefan Metzmacher
fd9495491d s4:torture/rpc/echo.c: remove NTSTATUS status variables
metze
2010-03-29 15:35:44 +02:00
Stefan Metzmacher
870a21b3ec s4:torture/rpc/echo.c: add explicit check for NTSTATUS r.out.result
metze
2010-03-29 15:35:43 +02:00
Günther Deschner
0909696261 s4-smbtorture: more JobInfo testing.
Guenther
2010-03-26 23:01:19 +01:00
Günther Deschner
f70e1b4d43 s4-smbtorture: fail spoolss test on SetJob failure.
Guenther
2010-03-26 14:36:47 +01:00
Günther Deschner
c2a6631dc6 s4-smbtorture: fix include of proto header in main RAP test.
Guenther
2010-03-25 18:38:26 +01:00
Günther Deschner
a2e65a2add s3-selftest: add RAP-RPC testsuite for crosschecking RAP and DCERPC calls.
Guenther
2010-03-25 14:43:38 +01:00
Günther Deschner
45f6eae4c4 s4-smbtorture: fix drsblobs ndr torture test.
Guenther
2010-03-25 11:04:52 +01:00
Günther Deschner
2e20cdaeeb s4-smbtorture: activate job control tests against s3 in spoolss tests.
Spoolss job control commands work for cups in s3 now but not for other
backends. We need to investigate why.

Guenther
2010-03-25 11:04:52 +01:00
Günther Deschner
426cb9be1c s4-smbtorture: add print test to RPC-SPOOLSS-PRINTER as well.
Guenther
2010-03-25 00:50:44 +01:00
Günther Deschner
6913c57b2f s4-smbtorture: create several printjobs during print test in RPC-SPOOLSS.
Guenther
2010-03-25 00:50:44 +01:00
Günther Deschner
27c50255f6 s4-smbtorture: mention job id in GetJob test output in RPC-SPOOLSS.
Guenther
2010-03-25 00:50:30 +01:00
Günther Deschner
1bb8341871 s4-smbtorture: mention job id in SetJob test output in RPC-SPOOLSS.
Guenther
2010-03-25 00:50:18 +01:00
Günther Deschner
bb47e5b617 s4-smbtorture: add drsblobs ndr torture test.
Guenther
2010-03-24 18:30:38 +01:00
Günther Deschner
fb70368a97 s4-smbtorture: move up torture_assert_sid_equal at least to the torture/ndr level.
Guenther
2010-03-24 18:30:18 +01:00
Stefan Metzmacher
d3e7266676 s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_state
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:51 +01:00
Stefan Metzmacher
ee240799b6 s4:ntlmssp: keep struct gensec_ntlmssp_context in gensec_security->private_data
Inspired by the NTLMSSP merge work by Andrew Bartlett.

metze

Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24 17:34:50 +01:00
Günther Deschner
fcad13500b s4-smbtorture: add missing checks for WERROR results in RPC-SAMBA3 tests.
Guenther
2010-03-24 13:34:01 +01:00
Günther Deschner
8cd63a854e s4-smbtorture: fix some invalid parameters in RPC-SAMSYNC test.
Guenther
2010-03-24 13:18:33 +01:00
Günther Deschner
9fd24eb9c5 s4-smbtorture: cleanup some of the RPC-SAMBA3 tests.
This avoids printf, uses simplication functions where appropriate, etc.

Guenther
2010-03-24 12:48:29 +01:00
Günther Deschner
5e87e8576c s4-smbtorture: add rap_get_servername to RPC-SAMBA3 family of tests.
Guenther
2010-03-24 12:48:29 +01:00
Günther Deschner
247c6f53f9 s4-smbtorture: remove tailing whitespace in samba3rpc testsuite.
Guenther
2010-03-23 19:05:25 +01:00
Günther Deschner
bf9f24f571 s4-smbtorture: use torture_context in samsync test.
Guenther
2010-03-23 17:28:55 +01:00
Günther Deschner
9c586e6b1b s4-smbtorture: remove trailing whitespace from samsync torture test.
Guenther
2010-03-23 17:16:23 +01:00
Günther Deschner
3e04bf4fbc s4-smbtorture: use torture_context in libnet domain tests as well.
Guenther
2010-03-23 16:57:30 +01:00
Matthias Dieter Wallnöfer
bebb17ad0e s4:WINREG torture - fix an error (missing "break" in a "switch")
Sorry my fault - I didn't discover that earlier since we had binary data types
support activated in s4.
2010-03-23 16:46:17 +01:00
Günther Deschner
97a974e5b7 s4-smbtorture: use torture_context for debugging output everywhere in libnet torture tests.
Mimir, please check.

Guenther
2010-03-23 16:13:54 +01:00
Günther Deschner
f5eb8eb97f s4-smbtorture: remove trailing whitespace in libnet torture tests.
Guenther
2010-03-23 16:13:54 +01:00
Matthias Dieter Wallnöfer
f39ef98668 Revert "s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4"
This reverts commit 0f2cf82e5e.

Naturally we have to revert this for s4 until a new storage mechanism for binary
REG_SZ and REG_*WORD values has been found.
2010-03-23 00:16:19 +01:00
Matthias Dieter Wallnöfer
0f2cf82e5e s4:torture - WINREG RPC - reactivate test "SetValueExtended" for s4
Should be definitely fixed now.
2010-03-21 14:30:53 +01:00
Matthias Dieter Wallnöfer
d82b325bc3 s4:torture WINREG - enhance test for "QWORD" type
We need to know how this behaves.
2010-03-21 14:03:56 +01:00
Matthias Dieter Wallnöfer
66f94ca3ec s4:torture WINREG - enhance test for "DWORD_BIG_ENDIAN" type
We need to know how this behaves.
2010-03-21 14:03:56 +01:00
Günther Deschner
3cb56942ed s4-smbtorture: rework RPC-DFS test a bit.
Guenther
2010-03-19 22:46:16 +01:00
Günther Deschner
f5ab6fd788 s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.
Guenther
2010-03-19 20:23:33 +01:00
Günther Deschner
3144a988e5 s4-smbtorture: skip RAP netservergetinfo level 1 test against s3.
Guenther
2010-03-19 10:56:03 +01:00
Günther Deschner
dd4e2ebda5 s4-smbtorture: use torture_context in policy function in RPC-LSA-LOOKUP test.
Guenther
2010-03-19 09:21:15 +01:00
Stefan Metzmacher
95cefcfa4a s4:torture/rpc/browser.c: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:43 +01:00
Stefan Metzmacher
18fa68f259 s4:torture/rpc/ntsvcs.c: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:43 +01:00
Stefan Metzmacher
7456df5e75 s4:torture/rpc/frsapi.c: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:43 +01:00
Stefan Metzmacher
61c62a7fd1 s4:torture/rpc/handles.c: make use of dcerpc_binding_handle stubs
metze
2010-03-18 12:39:42 +01:00
Stefan Metzmacher
cef46436fc s4:torture/rpc/handles: check the correct last_fault_code
metze
2010-03-18 12:39:42 +01:00
Günther Deschner
b05f0db957 s4-smbtorture: fix typo in RPC-SAMR-PASSWORDS-LOCKOUT test.
Guenther
2010-03-17 23:58:56 +01:00
Günther Deschner
453fed4efd s4-smbtorture: skip BackupLog test against samba in RPC-EVENTLOG.
Guenther
2010-03-17 22:59:12 +01:00
Stefan Metzmacher
4b80e145b4 s4:torture/rpc/samba3rpc.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:24 +01:00
Stefan Metzmacher
2d897beb7a s4:torture/rpc/samsync.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:23 +01:00
Stefan Metzmacher
532e034e28 s4:torture/rpc/samr_accessmask.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:22 +01:00
Stefan Metzmacher
f400fc54bc s4:torture/rpc/dssetup.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:22 +01:00
Stefan Metzmacher
6e8fd4df60 s4:torture/rpc/bench.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:21 +01:00
Stefan Metzmacher
aecd9dd195 s4:torture/rpc/samlogon.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:20 +01:00
Stefan Metzmacher
9639afae69 s4:torture/rpc/netlogon.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:19 +01:00
Stefan Metzmacher
c05a0f7823 s4:torture/rpc/schannel.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:19 +01:00
Stefan Metzmacher
2d31379853 s4:torture/rpc/testjoin.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:18 +01:00
Stefan Metzmacher
a91647d494 s4:torture/rpc/samr.c: make use of dcerpc_binding_handle stubs
metze
2010-03-17 18:26:17 +01:00
Günther Deschner
4ca2cc348e s4-smbtorture: workaround broken REG_MULTI_SZ from winreg in s3
during SetPrinterDataEx SPOOLSS test.

Guenther
2010-03-17 15:55:23 +01:00
Günther Deschner
481402bae5 s4-smbtorture: workaround the fact that you cannot fully rename a printer in samba.
Guenther
2010-03-17 15:54:58 +01:00
Günther Deschner
c05a06187d s4-smbtorture: only use "friendly" data in extended SetPrinterDataEx test.
Passes against windows but not against samba yet :-(

Guenther
2010-03-17 15:43:06 +01:00
Günther Deschner
d41b8c3053 s4-smbtorture: skip security descriptor tests against Samba in RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
3db9729240 s4-smbtorture: re-arrange tests in RPC-WINREG.
Mostly choping test_Open() into smaller parts.

Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
75a4dffac1 s4-smbtorture: add test to check different keytypes.
This test will be skipped for samba.

Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
89eaa9ed8e s4-smbtorture: add test_DeleteKey_opts to RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
80ba1295ec s4-smbtorture: add test_OpenKey_opts() to RPC-WINREG.
Guenther
2010-03-17 11:48:52 +01:00
Günther Deschner
c33a7ca84c s4-smbtorture: add test_CreateKey_opts() to RPC-WINREG test.
Guenther
2010-03-17 11:48:51 +01:00
Günther Deschner
f07572063d s4-smbtorture: put HKLM current_version test into an own function.
Guenther
2010-03-17 11:48:51 +01:00
Günther Deschner
8fd4375803 s4-smbtorture: use binding handle for simple SetValue winreg test.
Guenther
2010-03-17 11:48:51 +01:00
Stefan Metzmacher
50cc29b3cb s4:torture/rpc/lsa*: make use of dcerpc_binding_handle stubs
metze
2010-03-17 09:53:13 +01:00