Günther Deschner
5eedaaea43
s4-smbtorture: skip winreg symlink test against Samba in RPC-SPOOLSS.
...
Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
bc2e675c3a
s4-smbtorture: make sure to check for result of spoolss_GetJob tests.
...
This avoids returning potentially uninitialised data. Thanks Andreas for
pointing this out.
Guenther
2010-04-09 20:00:56 +02:00
Günther Deschner
1cec3029e5
s4-smbtorture: display helpful error message when winreg_QueryMultipleValues fails.
...
Guenther
2010-04-09 18:33:45 +02:00
Stefan Metzmacher
0bf6043df9
RPC-ALTERCONTEXT: let the test pass against w2k3 and w2k8
...
The behavior between w2k3 and w2k8 differs:
- w2k3 just ignores alter_context requests which try to change
an existing presentation context.
- w2k8 returns DERPC_NCA_S_PROTO_ERROR and closes the transport
connection.
metze
2010-04-09 16:28:31 +02:00
Stefan Metzmacher
5844a7dfe6
s4:torture/rpc/lsa.c: add test_lsa_OpenPolicy2_ex() that takes an expected status
...
metze
2010-04-09 16:28:31 +02:00
Günther Deschner
48daa0b6ee
s4-smbtorture: add test to check for registry symlinks in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-04-09 16:17:54 +02:00
Günther Deschner
a21be5fc1b
s4-smbtorture: fix build after winreg IDL renames, sorry..
...
Guenther
2010-04-09 14:46:28 +02:00
Günther Deschner
5d04aadcb9
s4-smbtorture: Fix winreg test after keytype renameing.
...
Guenther
2010-04-09 13:57:18 +02:00
Günther Deschner
8c593f6355
s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile.
...
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
299a6ffe9e
s4-smbtorture: winreg keytype options is a bitmask.
...
Guenther
2010-04-09 13:57:17 +02:00
Günther Deschner
bc9289995a
s4-smbtorture: more work on registry REG_LINK (in-registry symlinks) test.
...
Guenther
2010-04-09 13:57:17 +02:00
Kamen Mazdrashki
fbef33fb73
s4/dsdb: Let caller to control if valid invocationId is critical or zero-guid is acceptable
2010-04-09 12:21:33 +03:00
Kamen Mazdrashki
e5ef11f4e2
s4/test: Use drsut_schemainfo_new() instead of SCHEMA_INFO_DEFAULT local define
2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
15921b669e
s4/waf: add new files to WAF build
2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
526e62c46f
s4/tort: Unit test for schemaInfo implementation
2010-04-09 12:21:27 +03:00
Kamen Mazdrashki
8126c78c76
s4/torture: Suppress Valgrind warnings
...
This patch suppresses two Valgrind warnings of type
"xxx bytes in yy blocks are indirectly lost in loss record"
2010-04-09 02:45:08 +03:00
Günther Deschner
1c4c4dd7e0
s4-smbtorture: protect against full UNC paths in winreg printerinfo test.
...
Guenther
2010-04-08 16:14:20 +02:00
Günther Deschner
16deed7199
s4-smbtorture: add PrinterInfo level 2 / winreg consistency test.
...
This compares PrinterInfo2 with contents of
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers\printername and
HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers\printername
Guenther
2010-04-08 15:03:56 +02:00
Günther Deschner
f87a18ec3b
s4-smbtorture: minor cleanup, use data_blob_talloc_zero() in RPC-SPOOLSS.
...
Guenther
2010-04-08 15:03:56 +02:00
Günther Deschner
0ec6f297ee
s4-smbtorture: minor typo in SetJob test in RPC-SPOOLSS.
...
Guenther
2010-04-07 23:53:19 +02:00
Jeremy Allison
40172f374b
Test using (-1) for tid and sessionid in compound related requests.
...
Jeremy.
2010-04-07 10:33:02 -07:00
Günther Deschner
345fcf5875
s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
...
Guenther
2010-04-07 14:56:07 +02:00
Günther Deschner
f63c345bbd
s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
...
Guenther
2010-04-07 14:41:13 +02:00
Günther Deschner
4712940e7c
s4-smbtorture: merge badname spoolss openprinter tests.
...
Guenther
2010-04-07 11:40:41 +02:00
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
Stefan Metzmacher
ba3b9fa36b
s4:torture/rpc/remote_pac.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-17 09:53:11 +01:00
Günther Deschner
2070c04230
s4-smbtorture: add lsa_SetTrustedDomainInfoByName NDR test.
...
Thanks Simo for providing the data and pointing out the IDL failure.
Guenther
2010-03-16 21:52:36 +01:00
Günther Deschner
c323629a1a
s4-smbtorture: use random buffer for extended SetValue test in RPC-WINREG.
...
Guenther
2010-03-16 16:08:49 +01:00
Stefan Metzmacher
cb5805d789
s4:torture/rpc/winreg.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:32 +01:00
Stefan Metzmacher
bffe222230
s4:torture/rpc/spoolss_win.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
b01cd7864d
s4:torture/rpc/spoolss_notify.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
97d74a4407
s4:torture/rpc/spoolss_notify.c: fix compiler warnings
...
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
c1bf3244df
s4:torture/rpc/spoolss.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:31 +01:00
Stefan Metzmacher
28a6e5398d
s4:tortore/rpc/spoolss.c: fix compiler warning
...
metze
2010-03-16 15:35:30 +01:00
Stefan Metzmacher
d7699cb24a
s4:torture/rpc/autoidl.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:30 +01:00
Stefan Metzmacher
d03286e078
s4:torture/rpc/mgmt.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:30 +01:00
Stefan Metzmacher
87a5596d46
s4:torture/rpc/remact.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:29 +01:00
Stefan Metzmacher
54ab68f043
s4:torture/rpc/oxidresolve.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:29 +01:00
Stefan Metzmacher
8bc8e6ca03
s4:torture/rpc/initshutdown.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:29 +01:00
Stefan Metzmacher
004a841317
s4:torture/rpc/epmapper.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:29 +01:00
Stefan Metzmacher
8c9b9d3336
s4:torture/rpc/eventlog.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:28 +01:00
Stefan Metzmacher
bdb8f91314
s4:tortore/rpc/eventlog.c: rename variable 'b' => 'br'
...
metze
2010-03-16 15:35:28 +01:00
Stefan Metzmacher
dfa92d445f
s4:torture/rpc/svcctl.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:28 +01:00
Stefan Metzmacher
b0ea3248a4
s4:torture/rpc/atsvc.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:28 +01:00
Stefan Metzmacher
b8605cdd4e
s4:torture/rpc/wkssvc.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:27 +01:00
Stefan Metzmacher
119f151321
s4:torture/rpc/srvsvc.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:27 +01:00
Stefan Metzmacher
88ab666f19
s4:torture/rpc/dsgetinfo.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:27 +01:00
Stefan Metzmacher
4434b3972d
s4:torture/rpc/dssync.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:26 +01:00
Stefan Metzmacher
369def8a33
s4:torture/rpc/drsuapi*: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:26 +01:00
Stefan Metzmacher
6591713d26
s4:torture/rpc/unixinfo.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-16 15:35:26 +01:00
Günther Deschner
e55a975860
s4-smbtorture: remove NotifyChangeKeyValue s3 skip in RPC-WINREG:
...
Guenther
2010-03-16 15:30:13 +01:00
Günther Deschner
27d46ba266
s4-smbtorture: make it a bit easier to track failures in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-03-16 15:13:52 +01:00
Simo Sorce
38cba5e930
s4:torture-ndr add lsarSetForestTrustInformation ndr test
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-16 15:12:19 +01:00
Stefan Metzmacher
8c5df22ffa
Revert "Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive).""
...
This reverts commit 508c218eb2
.
This lets make test fail.
Matthias: please make sure make test still passes when you change things like
this...(maybe add something to knownfail or so)
metze
2010-03-16 15:09:41 +01:00
Stefan Metzmacher
7e859be26a
s4:torture/rpc/dsgetinfo.c: fix name resolving for ldap_url
...
metze
2010-03-16 15:09:41 +01:00
Günther Deschner
745f6f2574
s4-smbtorture: avoid printf calls in RPC-WINREG test.
...
Guenther
2010-03-16 13:11:14 +01:00
Günther Deschner
4379b082b8
s3-spoolss: be very strict on OpenPrinter{Ex} failures for bad names.
...
Guenther
2010-03-16 10:43:57 +01:00
Andrew Bartlett
2de07761e0
s4:dsdb Change dsdb_get_schema() callers to use new talloc argument
...
This choses an appropriate talloc context to attach the schema too,
long enough lived to ensure it does not go away before the operation
compleates.
Andrew Bartlett
2010-03-16 19:26:03 +11:00
Erick Nogueira do Nascimento
2a04aa08c6
s4-drs: Torture testcase for DS_REPL_INFO_METADATA_2_FOR_OBJ infoType of DsGetReplInfo()
...
This torture testcase considers both cases for this infoType: when the flag
DRSUAPI_DS_LINKED_ATTRIBUTE_FLAG_ACTIVE is enabled and when not.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-03-16 13:31:08 +11:00
Günther Deschner
83b9e12513
s4-smbtorture: add simple printer rename test to RPC-SPOOLSS-PRINTER.
...
Guenther
2010-03-15 18:35:19 +01:00
Günther Deschner
08ec9b7e73
s4-smbtorture: fill PrinterDriverData with more values for consistency test.
...
Guenther
2010-03-15 17:27:12 +01:00
Günther Deschner
1eb0fbe68d
s4-smbtorture: cleanup data after enumdata{ex} consistency test.
...
Guenther
2010-03-15 14:55:25 +01:00
Günther Deschner
06cbf05e8b
s4-smbtorture: when cross checking enumdata{ex} make sure to have at least one entry.
...
Guenther
2010-03-15 14:16:03 +01:00
Günther Deschner
6bfde084e6
s4-smbtorture: add PrinterInfo_to_SetPrinterInfo helper to RPC-SPOOLSS.
...
Guenther
2010-03-15 14:16:03 +01:00
Günther Deschner
c3eb509dea
s4-smbtorture: fix torture_comment in RPC-SPOOLSS.
...
Guenther
2010-03-15 10:20:27 +01:00
Stefan Metzmacher
f49d5e3288
s4:tortore/libnet: fix crash bugs because of incorrect function prototypes
...
metze
2010-03-15 09:40:28 +01:00
Matthias Dieter Wallnöfer
508c218eb2
Revert "s4-smbtorture: skip extended SetValue test against Samba (both dont survive)."
...
This reverts commit 40e2c04f8a
.
s4 should support now also the extended "SetValue" tests.
2010-03-14 18:46:23 +01:00
Stefan Metzmacher
b52b357ede
s4:torture/rpc/spoolss.c: fix compiler warnings
...
metze
2010-03-13 08:20:24 +01:00
Günther Deschner
8f07737714
s4-smbtorture: warn on unexpected devicenames in spoolss devicemode test.
...
Guenther
2010-03-13 02:26:59 +01:00
Günther Deschner
6833094d6b
s4-smbtorture: send even more random data in extended winreg SetValue test.
...
Guenther
2010-03-13 01:38:57 +01:00
Günther Deschner
33d9901ecb
s4-smbtorture: fix build and handle in spoolss test.
...
it's friday night...
Guenther
2010-03-13 01:34:31 +01:00
Günther Deschner
d39ece17e0
s4-smbtorture: add spoolss EnumPrinterData vs EnumPrinterDataEx consistency test.
...
Guenther
2010-03-13 01:12:22 +01:00
Günther Deschner
ab33b991de
s4-smbtorture: refactor spoolss EnumPrinterData test.
...
Guenther
2010-03-13 01:12:21 +01:00
Günther Deschner
1d9d617d97
s4-smbtorture: refactor SetPrinterData() calls a little more.
...
Guenther
2010-03-13 01:12:21 +01:00
Günther Deschner
3de2f0475d
s4-smbtorture: re-arrange spoolss_SetPrinterData() tests.
...
Guenther
2010-03-13 01:12:21 +01:00
Günther Deschner
f064a182eb
s4-smbtorture: make sure RPC-SPOOLSS passes against 64bit archs (w2k8r2).
...
Guenther
2010-03-13 01:12:21 +01:00
Stefan Metzmacher
0f210749a7
s4:torture/rpc/dfs.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:53 +01:00
Stefan Metzmacher
81ac17d12d
s4:torture/rpc/echo.c: make use of dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:53 +01:00
Stefan Metzmacher
f1633934cd
s4:torture/libnet: make use of dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:52 +01:00
Stefan Metzmacher
7be154a616
s4:torture/ntp: make use of dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:52 +01:00
Stefan Metzmacher
ff54cbe3d4
s4:torture/rpc: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:48 +01:00
Günther Deschner
98ba174fa2
s4-smbtorture: add netr_SamLogon test with NULL domain to RPC-NETLOGON-S3.
...
This is to demonstrate how a "Windows 2002 Service Pack 3 2600" box constantly
crashes smbd (in preparation of fixing bug #7237 ).
Guenther
2010-03-11 23:25:04 +01:00
Günther Deschner
40e2c04f8a
s4-smbtorture: skip extended SetValue test against Samba (both dont survive).
...
Guenther
2010-03-11 20:48:05 +01:00
Günther Deschner
2324b07726
s4-smbtorture: test NULL and "" valuenames as well in query for wellknown winreg key.
...
Guenther
2010-03-11 20:42:49 +01:00
Günther Deschner
e0d85f87b7
winreg: add winreg_KeyType enum.
...
Guenther
2010-03-11 20:23:47 +01:00
Günther Deschner
09ea04a7f8
s4-smbtorture: add extended SetValue test to RPC-WINREG.
...
Really looks like a blob based database frontend.
As it seems, we can set *any* type of data with *any* content on Windows and get
the exact same data back.
Guenther
2010-03-11 19:03:21 +01:00
Günther Deschner
3a8d85da68
s4-smbtorture: more work on test_key_value() RPC-WINREG test.
...
Guenther
2010-03-11 19:01:07 +01:00
Stefan Metzmacher
0d6c19b976
RPC-DSSYNC: handle DCERPC_FAULT_OP_RNG_ERROR as not supported for DsGetNT4ChangeLog()
...
metze
2010-03-11 15:13:52 +01:00
Stefan Metzmacher
4585ea06a5
s4:torture/libnet/libnet_user.c: fix double free in error path
...
metze
2010-03-11 15:13:52 +01:00
Stefan Metzmacher
dd934472e8
NET-API-BECOME-DC: convert to torture api
...
metze
2010-03-11 13:31:40 +01:00
Stefan Metzmacher
4398871d1f
RPC-DSSYNC: fix the build after idl changes
...
metze
2010-03-11 13:31:39 +01:00
Günther Deschner
3fd5ac6344
s4-smbtorture: only look at DATA_BLOB pointer when einfo[0].data_length > 0.
...
Guenther
2010-03-11 00:09:04 +01:00
Günther Deschner
01801f3f94
s4-smbtorture: while testing PrinterDataEx also compare Get and Enum results.
...
Guenther
2010-03-10 23:10:44 +01:00
Günther Deschner
25d27ff576
Revert "s4-smbtorture: disable winreg QueryValue test for today."
...
This reverts commit 420e3b8553
.
2010-03-10 22:04:02 +01:00
Kamen Mazdrashki
28cb274220
s4/drs: DsWriteAccountSpn - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:12:04 +01:00
Kamen Mazdrashki
2483ed362b
s4/drs: DsCrackNames - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:12:02 +01:00
Kamen Mazdrashki
9f21787131
s4/drs: DsGetNCChanges - Propagating IDL changes to source code
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10 17:11:57 +01:00
Günther Deschner
52ca26a820
s4-smbtorture: do full winreg QueryValue test for values we created.
...
Guenther
2010-03-10 16:12:22 +01:00
Günther Deschner
420aac7538
s4-smbtorture: check for non existing value under version key in RPC-WINREG.
...
Guenther
2010-03-10 16:12:22 +01:00
Günther Deschner
420e3b8553
s4-smbtorture: disable winreg QueryValue test for today.
...
wow, both s3 and s4 crash on full coverage winreg QueryValue testing.
Guenther
2010-03-10 02:54:27 +01:00
Günther Deschner
0a253e6b72
s4-smbtorture: fix some build warnings in RPC-SPOOLSS test.
...
Guenther
2010-03-10 02:54:26 +01:00