summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2010-03-10s4-smbtorture: disable winreg QueryValue test for today.Günther Deschner1-2/+2
wow, both s3 and s4 crash on full coverage winreg QueryValue testing. Guenther
2010-03-10s4-smbtorture: fix some build warnings in RPC-SPOOLSS test.Günther Deschner1-8/+8
Guenther
2010-03-10s4-smbtorture: on HKLM hive test the well known CurrentVersion value.Günther Deschner1-0/+17
Guenther
2010-03-10s4-smbtorture: add full coverage test for winreg QueryValue calls.Günther Deschner1-0/+101
Guenther
2010-03-10s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again.Günther Deschner1-3/+8
Guenther
2010-03-10s4-smbtorture: add tests for set and delete value in RPC-WINREG.Günther Deschner1-0/+52
Guenther
2010-03-09s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible ↵Matthias Dieter Wallnöfer1-18/+100
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-09s4-smbtorture: fix uninitialized variable in winreg QueryValue call.Günther Deschner1-0/+1
Guenther
2010-03-06s4/tort: fix annoying "union spoolss_PrinterInfo" undefined warningsKamen Mazdrashki1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-05s4-smbtorture: fix RPC-SPOOLSS-WIN after PrinterData IDL changes.Günther Deschner1-3/+4
Guenther
2010-03-05s4-smbtorture: fix test_SetPrinterDataEx_matrix() call. sorry...Günther Deschner1-1/+1
Guenther
2010-03-05s4-smbtorture: when checking PrinterData matrix, include winreg cross ↵Günther Deschner1-2/+179
reference checks. Guenther
2010-03-05s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix.Günther Deschner1-3/+4
Guenther
2010-03-05s4-smbtorture: add more paranoid checks for REG_DWORD SetPrinterDataEx tests.Günther Deschner1-10/+1
Guenther
2010-03-05s4-smbtorture: remove check for selfmade parsing artefact.Günther Deschner1-8/+1
We were checking against a phenomenon that we created ourselves at the pidl layer... Guenther
2010-03-05s4-smbtorture: fix smbtorture after GetPrinterData{Ex} after IDL changes.Günther Deschner1-49/+37
Guenther
2010-03-05s4-smbtorture: fix smbtorture after SetPrinterData{Ex} IDL changes.Günther Deschner1-18/+28
Guenther
2010-03-05s4-smbtorture: skip NotifyChangeKeyValue test against s3 for now.Günther Deschner1-0/+4
Guenther
2010-03-05s4:torture/rpc/samr.c - add some decision possibility constants to some switchMatthias Dieter Wallnöfer1-0/+3
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-05s4:torture/rpc/samr.c - make some argument of function ↵Matthias Dieter Wallnöfer1-1/+1
"test_SamLogon_with_creds" constant This to quiet warnings.
2010-03-05s4-torture: fixed commas separating C statementsAndrew Tridgell1-4/+3
2010-03-03s4:torture/rpc/samr - Fix up SAMR-USERS testMatthias Dieter Wallnöfer1-10/+22
"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-03s4:torture/rpc/samr - enhance the "EnumDomainGroups" test regarding ↵Matthias Dieter Wallnöfer1-0/+15
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-01s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async ↵Stefan Metzmacher1-3/+3
rpc over ncacn_np metze
2010-03-01s4:RPC-NETLOGON: remove useless rpc callbackStefan Metzmacher1-18/+1
If we got a failure from one request we bail out early. metze
2010-03-01s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'Stefan Metzmacher1-4/+14
metze
2010-03-01s4:torture/rpc: make use of explicit dcerpc_*_recv functionsStefan Metzmacher5-7/+7
metze
2010-03-01s4-smbtorture: add stricter SetPrinterDataEx tests to spoolss tests.Günther Deschner1-27/+67
Guenther
2010-03-01s4-smbtorture: add test_SetPrinterDataEx to RPC-SPOOLSS-PRINTER.Günther Deschner1-0/+4
Guenther
2010-03-01s4-smbtorture: return needed size pointer from test_GetPrinterDataEx.Günther Deschner1-5/+10
Guenther
2010-03-01s4-smbtorture: test at least three different regtypes in test_SetPrinterDataEx.Günther Deschner1-6/+41
Guenther
2010-02-26s4:torture/rpc: use generate_random_password()Stefan Metzmacher5-13/+13
metze
2010-02-26s4:RPC-DSSYNC: pass the ip address to the cldap code instead of a nameStefan Metzmacher1-2/+16
metze
2010-02-26s4:torture: use a connected CLDAP socket.Stefan Metzmacher1-4/+17
This is needed because we don't (want) to specify an explicit local address. And the socket family (ipv4 vs. ipv6) needs to be autodetected based on the remote address before the socket() syscall. Otherwise we would try to connect to a ipv4 address through an ipv6only socket. metze
2010-02-25s4-smbtorture: define environment in one place in RPC-SPOOLSS test.Günther Deschner1-26/+38
Guenther
2010-02-25s4-smbtorture: try to set every single devicemode component in ↵Günther Deschner1-0/+103
RPC-SPOOLSS-PRINTER. Guenther
2010-02-25s4-smbtorture: move ChangeID test to the list of tests we run against ↵Günther Deschner1-4/+4
created printers. Guenther
2010-02-24s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest2 changes in source codeKamen Mazdrashki2-6/+6
2010-02-24s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source codeKamen Mazdrashki2-4/+4
2010-02-24s4/drs: Propagate drsuapi_DsReplicaSync changes in source baseKamen Mazdrashki1-4/+7
2010-02-24s4/drs: Propagate drsuapi_DsReplicaSyncRequest1 changes in source baseKamen Mazdrashki1-1/+1
2010-02-24s4-smbtorture: verify that the client cpu architecture has no influence on theGünther Deschner1-0/+72
calculated buffer size in RPC-SPOOLSS. Guenther
2010-02-23s4:schannel merge code with s3Simo Sorce1-1/+0
After looking at the s4 side of the (s)channel :) I found out that it makes more sense to simply make it use the tdb based code than redo the same changes done to s3 to simplify the interface. Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet that does not solve the lookup speed, with ldb it is always going to be slower. Looking through the history it is evident that the schannel database doesn't really need greate expanadability. And lookups are always done with a single Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated. The schannel database is not really a persistent one. It can be discared during an upgrade without causing any real issue. all it contains is temproary session data.
2010-02-19s4-smbtorture: more work on devicemode tests.Günther Deschner1-35/+63
Guenther
2010-02-19s4-smbtorture: explain failure conditions in printer device mode tests a ↵Günther Deschner1-11/+20
little more. Guenther
2010-02-19s4-smbtorture: add --option=torture:spoolss_check_size=yes.Günther Deschner1-0/+6
This disables the size calculation comparison by default. Guenther
2010-02-19s4-smbtorture: print more comments while running SD and DM tests in ↵Günther Deschner1-15/+14
RPC-SPOOLSS-PRINTER. Guenther
2010-02-18s4-smbtorture: skip printer info cross tests against samba 3 for now.Günther Deschner1-0/+4
Not even w2k8r2 passes them atm. Guenther
2010-02-18s4-smbtorture: try more combinations to find printers in ↵Günther Deschner1-0/+14
test_EnumPrinters_findname(). Also take a note of servers returning full UNC printer paths although we did not set the servername. Guenther
2010-02-18s4-smbtorture: simplify test_PrinterInfo_DevMode a bit.Günther Deschner1-17/+4
Guenther