Andrew Tridgell
211bf1ea17
s4-waf: removed the unused installdir= option to SAMBA_BINARY()
...
This was left over from the automatic conversion of the config.mk
files
2010-04-18 21:47:00 +10:00
Stefan Metzmacher
279bf89fb3
s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
e9d4f1578c
s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
51f7b1382b
s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
c85884ecc8
s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
98464853f4
s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
2aba845816
s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
6f4218a4aa
s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
1864cd8fa7
s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
0cc24f2f9b
s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead of DCERPC_NCA_S_PROTO_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
cf9d425e3d
s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
de94672fe0
s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
bb4a958c6d
s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of DCERPC_FAULT_CONTEXT_MISMATCH
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
34a6350715
s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
c0736c70d6
s4:torture/rpc: don't look at p->last_fault_code for debugging anymore
...
metze
2010-04-15 09:34:03 +02:00
Stefan Metzmacher
e1e2195a4a
s4:torture/rpc: rename rpc.h => torture_rpc.h
...
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.
For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.
metze
2010-04-14 20:27:11 +02:00
Stefan Metzmacher
bc6a43aeb4
s4:torture/rpc/winreg: fix compiler warnings
...
metze
2010-04-14 12:01:30 +02:00
Stefan Metzmacher
d0180570b3
s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at the application result
...
metze
2010-04-14 12:01:30 +02:00
Matthias Dieter Wallnöfer
7d5a8c3506
s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"
...
Test for right domainname handling.
2010-04-13 15:26:55 +02:00
Stefan Metzmacher
4cff89a585
s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
...
metze
2010-04-13 09:55:56 +02:00
Matthias Dieter Wallnöfer
ad9e407357
Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"
...
We should use the "ldb_get_*_basedn" calls since they are available in the LDB
library.
2010-04-13 08:55:15 +02:00
Matthias Dieter Wallnöfer
978a2d26b4
s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the "root_dn" for the sort test
...
The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
2010-04-12 18:49:00 +02:00
Stefan Metzmacher
9ef235ed0a
s4:tortore/rpc/spoolss.c: fix declaration after code warning
...
metze
2010-04-12 16:18:11 +02:00
Matthias Dieter Wallnöfer
1d3b00bfd7
s4:dbspeed torture - improve also the TDB code part
...
Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.
2010-04-11 21:49:02 +02:00
Matthias Dieter Wallnöfer
1fd6d9cd66
s4:dbspeed torture - remove unneeded newlines on "torture_result"
...
According to Jelmer's post on the technical list.
2010-04-11 21:49:02 +02:00
Jelmer Vernooij
b65c8d0505
s4: Fix more test results to not conflict with subunit commands.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
3a34b5f35e
subunit: Remove more test output that could be interpreted by subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Matthias Dieter Wallnöfer
c7dfe736a8
s4:torture - "dbspeed" test - add newlines as we have them in the other failure messages
2010-04-11 11:33:45 +02:00
Matthias Dieter Wallnöfer
52ab3ca5e6
s4:torture - "dbspeed" test
...
Calculate the leaks on base of the "tmp_ctx" not the torture context.
2010-04-11 11:31:48 +02:00
Matthias Dieter Wallnöfer
753698e070
s4:torture - "dbspeed" test
...
Unify error handling.
2010-04-11 11:31:47 +02:00
Matthias Dieter Wallnöfer
cc32e7aff2
s4:torture - "dbspeed" test
...
Add more "talloc_free"s where needed or useful.
2010-04-11 11:31:47 +02:00
Jelmer Vernooij
4fb98b6856
torture: Simplify torture suite running, call restricted test suite runner.
2010-04-10 22:38:32 +02:00
Jelmer Vernooij
6b442f43bc
smbtorture: Remove unused shell feature.
2010-04-10 22:38:32 +02:00
Jelmer Vernooij
24f364517b
smbtorture: Support --load-list argument.
2010-04-10 22:38:32 +02:00
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