summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
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
2009-11-12s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAPAndrew Bartlett1-49/+28
(This should make it easier to do more 'compare DRS with LDAP' operations, as LDB is an easier interface to program.) Andrew Bartlett
2009-11-12lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett1-2/+2
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett
2009-11-10s4-smbtorture: strip trailing whitespace in RPC-SAMR.Günther Deschner1-2/+2
Guenther
2009-11-09s4-smbtorture: re-arrange netlogon LogonControl test.Günther Deschner2-13/+65
The LogonControl tests now are split out to a new RPC-NETLOGON-ADMIN test that tests the behaviour of that call when called by user, dc or workstation. Guenther
2009-11-06s4:torture/samr - Add status code on "ValidatePassword" test outputMatthias Dieter Wallnöfer1-2/+2
2009-11-06s4:torture/samr - Activate "ValidatePassword" test per defaultMatthias Dieter Wallnöfer1-5/+2
2009-11-05s4:torture/rpc/samr - Add a comment for "ValidatePassword" testMatthias Dieter Wallnöfer1-0/+2
2009-11-03s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.Günther Deschner1-3/+14
These are only supported by s3 when running pdb_ads atm. Guenther
2009-11-03s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3.Günther Deschner1-0/+4
This is only supported by s3 when running pdb_ads atm. Guenther
2009-11-03s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA.Günther Deschner1-0/+4
Guenther
2009-11-03s4-smbtorture: simplify some torture_comments in RPC-LSA.Günther Deschner1-20/+6
Guenther
2009-10-30s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.Günther Deschner1-0/+6
Guenther
2009-10-30s4-smbtorture: fix warning in RPC-WKSSVC torture test.Günther Deschner1-3/+5
Guenther
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell1-1/+1
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
2009-10-21s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up ↵Günther Deschner1-6/+45
a client. Guenther
2009-10-20s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.Günther Deschner1-16/+50
Make sure to split out lsa_LookupName NULL name test so that we can better track results from bogus names and NULL names. Guenther
2009-10-20s4-smbtorture: Make it simpler to specify number of trusted domains to create inGünther Deschner1-17/+40
RPC-LSA-TRUSTED-DOMAINS. Guenther
2009-10-20s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.Günther Deschner1-1/+1
Guenther
2009-10-20s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS.Günther Deschner1-2/+27
Guenther
2009-10-20s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies.Günther Deschner1-3/+13
Guenther
2009-10-20s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.Günther Deschner1-7/+8
Guenther
2009-10-20s4-torture: fixed a pipe leakAndrew Tridgell1-0/+2
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an overallocation of fd's on the server
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell42-102/+0
This reduces compile time somewhat.
2009-10-20s4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS testAndrew Tridgell1-7/+12
This test left a large number of lsa pipes open, which could trigger the server running out of fds
2009-10-19s4:test: Fix typo.Karolin Seeger1-1/+1
Karolin
2009-10-19Fix typo.Karolin Seeger1-1/+1
privilage -> privilege Karolin