summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2010-01-19s4-smbtorture: support spoolss_ReplyClosePrinter server call in ↵Günther Deschner1-2/+36
RPC-SPOOLSS-NOTIFY. A handle obtained with spoolss_ReplyOpenPrinter will be closed with spoolss_ReplyClosePrinter when we call spoolss_ClosePrinter on the remote side. Guenther
2010-01-19s4-smbtorture: restructure spoolss server implementations in RPC-SPOOLSS-NOTIFY.Günther Deschner1-1/+19
Guenther
2010-01-19s4-smbtorture: skip ReplyOpenPrinter test in RPC-SPOOLSS-NOTIFY while ↵Günther Deschner1-0/+4
testing s3. Guenther
2010-01-19s4-smbtorture: strip trailing whitespace.Günther Deschner1-12/+12
Guenther
2010-01-18idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell2-19/+19
The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations.
2010-01-16s4-torture: fixed DsReplicaGetInfo elementsAndrew Tridgell1-2/+2
2010-01-16s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_contextAndrew Tridgell1-2/+2
2010-01-16s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).Erick Nogueira do Nascimento2-0/+351
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-15s4-smbtorture: add setup_schannel_netlogon_pipe() function.Günther Deschner1-34/+25
Guenther
2010-01-14s4-torture: switch smbtorture to the generic DRS optionsAndrew Tridgell1-4/+4
2010-01-12s4-smbtorture: fix GetAliasMembership test in RPC-SAMR.Günther Deschner1-4/+6
Guenther
2010-01-12s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.Günther Deschner2-2/+489
This test checks the behavior (since w2k3 sp1) of the badPwdCount samr attribute in relation to password history and successfull and unsucessful netlogon samlogons. Michael, please check. This should help verifiying Bug #4347. Guenther
2010-01-12s4-smbtorture: allow test_SamLogon to test interactive samlogon in RPC-SAMR ↵Günther Deschner1-34/+71
family of tests. Guenther
2010-01-06s4-smbtorture: add test_ChangeID to RPC-SPOOLSS.Günther Deschner1-0/+179
This tests ChangeID consistency between spoolss_GetPrinterData, spoolss_GetPrinterDataEx and spoolss_GetPrinter (level 0). Guenther
2010-01-06s4-smbtorture: add test_SetPrinter to RPC-SPOOLSS.Günther Deschner1-0/+26
Guenther
2010-01-06s4-smbtorture: refactor test_GetPrinter in RPC-SPOOLSS.Günther Deschner1-28/+50
Guenther
2009-12-17s4-smbtorture: skip GetAliasMembership against s4.Günther Deschner1-0/+4
It returns NT_STATUS_INTERNAL_DB_CORRUPTION for unknown sids and I could not figure out why. Guenther
2009-12-17s4-smbtorture: add a samr_GetAliasMembership test to RPC-SAMR.Günther Deschner1-0/+47
Guenther
2009-12-17s4-smbtorture: fix smbtorture after setprinter IDL fixes.Günther Deschner1-4/+4
Guenther
2009-12-16s4-smbtorture: run GetPrinterDriver2 tests against each printer's driver.Günther Deschner1-17/+45
Guenther
2009-12-15smbtorture4: Add rpc-samba3-getaliasmembership-0Volker Lendecke2-0/+62
2009-12-14s4-smbtorture: check whether a returned buffer size is a multiple of 4 in ↵Günther Deschner1-0/+80
RPC-SPOOLSS. This gives a good indication where our IDL (and the s3 spoolss implementation) is still wrong. Guenther
2009-12-10s4-smbtorture: fix and extend enum printerkey test.Günther Deschner2-21/+49
Guenther
2009-12-09s4-smbtorture: enhance spoolss_EnumPrinterKey torture test.Günther Deschner1-14/+26
This demonstrates that s3 still does not have that call implemented correctly. Guenther
2009-12-08s4-smbtorture: make level 8 the reference for PrinterDriverEnum test.Günther Deschner1-42/+73
Guenther
2009-12-08s4-smbtorture: fill in COMPARE_STRING_ARRAY macro in spoolss driver test.Günther Deschner1-1/+15
Guenther
2009-12-07s4-smbtorture: disable some spoolss printerdata tests which s3 does not pass ↵Günther Deschner1-0/+13
at the moment. Guenther
2009-12-07s4-smbtorture: fix RPC-SPOOLSS after _spoolss_SetPrinterDataEx IDL change.Günther Deschner1-28/+48
Guenther
2009-12-04s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS.Günther Deschner1-67/+299
Including new tests for: - spoolss_SetPrinterDataEx - spoolss_DeletePrinterDataEx - spoolss_DeletePrinterKey Guenther
2009-12-03s4-smbtorture: check more WERRORs in RPC-SPOOLSS.Günther Deschner1-34/+35
Guenther
2009-12-03s4-smbtorture: call test_EnumPrinterDrivers with architecture in RPC-SPOOLSS.Günther Deschner1-25/+6
Guenther
2009-12-03s4-smbtorture: be very strict in checking spools_EnumPrinterKey results.Günther Deschner2-3/+15
Guenther
2009-12-02samba-spoolss: use spoolss_StringArray2 in spoolss_EnumPrinterKey.Günther Deschner2-32/+6
This should finally resolve the endian issues we were seeing on sparc and is much cleaner for spoolss clients and servers. Guenther
2009-11-27s4-smbtorture: more and stricter tests for printer and data keys in RPC-SPOOLSS.Günther Deschner1-4/+8
Guenther
2009-11-26s4-smbtorture: refactor RPC-SAMR-LARGE-DC test a little more.Günther Deschner1-25/+26
Guenther
2009-11-26s4-smbtorture: add torture_samr_context to carry some RPC-SAMR-X specifics.Günther Deschner1-84/+111
Guenther
2009-11-23s4/drs(tort): DSSYNC test to print what is different in drs_msg alsoKamen Mazdrashki1-1/+7
2009-11-23s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.Günther Deschner1-4/+19
Guenther
2009-11-23s4-smbtorture: add tests for spoolss_EnumPrinterKey to RPC-SPOOLSS-PRINTER.Günther Deschner1-0/+81
Guenther
2009-11-21s4:torture/rpc/netlogon - Fix uninitialised variableMatthias Dieter Wallnöfer1-2/+1
2009-11-17s4/drs(tort): Convert DSSYNC test to a test case fixtureKamen Mazdrashki2-24/+68
Now it should be much more clear why and where a test in DSSYNC test case has failed. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): replace DEBUG with torture_asert/comment/failKamen Mazdrashki1-45/+49
I left dumping of decrypted attributes values 'as is' (using DEBUG and DEBUGADD) as it uses dump_data() function. dump_data() uses DEBUGADD internally, so I have no way to redirect its output to torture_context at this point. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): use torture_drsuapi_assert_call() macro for error checkingKamen Mazdrashki1-11/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): replace 'printf' with 'torture_...' callsKamen Mazdrashki1-14/+15
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system callKamen Mazdrashki1-11/+11
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system callKamen Mazdrashki3-13/+13
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-11-17s4:dsdb With these workarounds, we now pass the RPC-DSSYNC testAndrew Bartlett1-2/+15
2009-11-12s4:torture Use (some) torture_assert() calls in RPC-DSSYNC testAndrew Bartlett1-5/+4
2009-11-12s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNCAndrew Bartlett1-86/+0
I'm satisfied that the task this test does is already done by the time we map the incoming schema, and process the objects. If we have the OID mapping wrong or incomplete, we will get any errors this test found errors there. (And this dramaticly reduces the test time, so we can now add RPC-DSSYNC to 'make test'). Andrew Bartlett
2009-11-12s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNCAndrew Bartlett1-23/+260
This is done by comparing the values against the remote host's LDAP server. Andrew Bartlett