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

4198 Commits

Author SHA1 Message Date
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