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

1813 Commits

Author SHA1 Message Date
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
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
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
Günther Deschner
ae79d8ce02 s4-smbtorture: on HKLM hive test the well known CurrentVersion value.
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
722daf43d0 s4-smbtorture: add full coverage test for winreg QueryValue calls.
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
62b41e6842 s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again.
Guenther
2010-03-10 00:46:23 +01:00
Günther Deschner
6d10645bca s4-smbtorture: add tests for set and delete value in RPC-WINREG.
Guenther
2010-03-10 00:46:23 +01:00
Matthias Dieter Wallnöfer
74166c380c s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible against Windows Server 2008
This is a reworked version of the mentioned test which passes against Windows
Server 2008. The previous version, also mainly written by me passed only against
Windows Server <= 2003.
2010-03-09 17:19:04 +01:00
Günther Deschner
48cdca0d47 s4-smbtorture: fix uninitialized variable in winreg QueryValue call.
Guenther
2010-03-09 16:14:39 +01:00
Kamen Mazdrashki
95f2226265 s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warnings
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-06 00:07:32 +01:00
Günther Deschner
58c9070746 s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes.
Guenther
2010-03-05 20:35:50 +01:00
Günther Deschner
6cbb8fdc48 s4-smbtorture: fix test_SetPrinterDataEx_matrix() call. sorry...
Guenther
2010-03-05 16:01:33 +01:00
Günther Deschner
d4db966c06 s4-smbtorture: when checking PrinterData matrix, include winreg cross reference checks.
Guenther
2010-03-05 15:19:50 +01:00
Günther Deschner
f385f4aeb0 s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix.
Guenther
2010-03-05 15:18:30 +01:00
Günther Deschner
c5fb6551d9 s4-smbtorture: add more paranoid checks for REG_DWORD SetPrinterDataEx tests.
Guenther
2010-03-05 15:18:17 +01:00
Günther Deschner
65f453ce71 s4-smbtorture: remove check for selfmade parsing artefact.
We were checking against a phenomenon that we created ourselves at the pidl
layer...

Guenther
2010-03-05 15:18:01 +01:00
Günther Deschner
f797ec9d81 s4-smbtorture: fix smbtorture after GetPrinterData{Ex} after IDL changes.
Guenther
2010-03-05 15:18:00 +01:00
Günther Deschner
ca319bfff2 s4-smbtorture: fix smbtorture after SetPrinterData{Ex} IDL changes.
Guenther
2010-03-05 15:17:59 +01:00
Günther Deschner
b3765afd38 s4-smbtorture: skip NotifyChangeKeyValue test against s3 for now.
Guenther
2010-03-05 11:09:05 +01:00
Matthias Dieter Wallnöfer
12ae05939f s4:torture/rpc/samr.c - add some decision possibility constants to some switch
At the moment nothing is done when the enumeration variable is set to one of
those constants as before. This is only to quite nasty warnings.
2010-03-05 08:55:47 +01:00
Matthias Dieter Wallnöfer
ce82f91614 s4:torture/rpc/samr.c - make some argument of function "test_SamLogon_with_creds" constant
This to quiet warnings.
2010-03-05 08:55:47 +01:00
Andrew Tridgell
2e1e446ba3 s4-torture: fixed commas separating C statements 2010-03-05 16:12:05 +11:00
Matthias Dieter Wallnöfer
a21b49bb38 s4:torture/rpc/samr - Fix up SAMR-USERS test
"QueryDomainInfo" returns only global groups, "QueryDisplayInfo" also universal
ones. Consider MS-SAMR 3.1.5.5.1.1 and 3.1.5.3.1.
2010-03-03 17:45:58 +01:00
Matthias Dieter Wallnöfer
051eb0b575 s4:torture/rpc/samr - enhance the "EnumDomainGroups" test regarding universal groups
Find the "Enterprise Admins" group which does exist on s4 and Windows
directories and is always per default universal. Test this only when the target
is set to s4 (s3 deployments don't contain this group). If the number of
returned objects is "0" (count) then we are likely testing the builtin domain of
an AD deployment.Then we ignore the inexistent "Enterprise Admins" group.

I didn't enhance the test for "QueryDomainInfo" since this does itself a
comparison of all returned objects with the "EnumDomainGroups" call. Therefore
if the latter passes, and the "QueryDomainInfo" test passes also the
"QueryDomainInfo" call is okay regarding groups.
2010-03-03 17:20:01 +01:00
Stefan Metzmacher
522e4f3d2b s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async rpc over ncacn_np
metze
2010-03-01 18:45:21 +01:00
Stefan Metzmacher
719cecba84 s4:RPC-NETLOGON: remove useless rpc callback
If we got a failure from one request we bail out early.

metze
2010-03-01 16:11:58 +01:00
Stefan Metzmacher
22b1e0bf32 s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'
metze
2010-03-01 16:11:57 +01:00
Stefan Metzmacher
c84b4b23c8 s4:torture/rpc: make use of explicit dcerpc_*_recv functions
metze
2010-03-01 16:11:55 +01:00