summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
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
2010-02-18s4-smbtorture: avoid potential loop while adding a new printer in ↵Günther Deschner1-0/+7
RPC-SPOOLSS-PRINTER. Guenther
2010-02-17s4/drs:kccdrs_replica_get_info_obj_metadata implementationAnatoliy Atanasov2-8/+8
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl The get_info_obj_metadata implementation is ported from implementation i developed and tested at the samba io lab 2009
2010-02-17s4-smbtorture: unify test list to run against single created printers in ↵Günther Deschner1-18/+28
RPC-SPOOLSS-PRINTER. This is to make sure we run the same tests for printers created via AddPrinter and via AddPrinterEx. Guenther
2010-02-17s4-smbtorture: also test level 2 sets for devicemodes and see if they persist.Günther Deschner1-0/+21
Guenther
2010-02-17s4-smbtorture: refactor setprinter devicemode calls in RPC-SPOOLSS-PRINTER.Günther Deschner1-19/+71
Guenther
2010-02-16s4-smbtorture: fix spoolss SD test against w2k8r2.Günther Deschner1-0/+4
Guenther
2010-02-16s4-smbtorture: more work on test_PrinterInfo_DevMode RPC-SPOOLSS-PRINTER.Günther Deschner1-4/+90
Guenther
2010-02-16s4-smbtorture: allow to call OpenPrinterEx with devicemode.Günther Deschner1-4/+6
Guenther
2010-02-16s4-drs: DsGetReplInfo() refactoringErick Nogueira do Nascimento1-4/+15
2010-02-15s4-smbtorture: more work on SD tests for RPC-SPOOLSS.Günther Deschner1-13/+39
Guenther
2010-02-15s4-smbtorture: add rather simple spoolss device mode test.Günther Deschner1-0/+120
Guenther
2010-02-15s4-smbtorture: use test_SetPrinter call in spoolss security descriptor tests.Günther Deschner1-19/+5
Guenther
2010-02-15s4-smbtorture: w2k8r2 allows to add printers w/o defining printprocessor.Günther Deschner1-9/+14
Guenther
2010-02-15s4-smbtorture: add some security descriptor tests to RPC-SPOOLSS and ↵Günther Deschner1-0/+241
RPC-SPOOLSS-PRINTER. Guenther
2010-02-10s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.Günther Deschner2-45/+27
Guenther
2010-02-08s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.Günther Deschner1-0/+4
Guenther
2010-02-02Change uint_t to unsigned int in source4Matt Kraai3-8/+8
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-31s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in ↵Günther Deschner1-6/+147
RPC-SPOOLSS-NOTIFY. Guenther
2010-01-31s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in ↵Günther Deschner1-0/+25
RPC-SPOOLSS-NOTIFY. Guenther
2010-01-31s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.Günther Deschner1-19/+31
Guenther
2010-01-27s4-smbtorture: pick correct last packet while checking backchannel replies ↵Günther Deschner1-2/+10
in RPC-SPOOLSS-NOTIFY. Guenther
2010-01-27s4:torture: refactor querying of domain info out into ↵Michael Adam1-52/+40
test_QueryDomainInfo2_level() Used in several places. (Note: The _level suffix in the function name is just because test_QueryDomainInfo2() already exists as an overall test for all levels.) Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: create new test_SetDomainInfo_ntstatus()Michael Adam1-12/+26
for checking for SetDomainInfo giving a desired return code. Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: refactor setting of domain inf out into test_SetDomainInfo()Michael Adam1-101/+56
and use it in several places. Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27s4:torture: refactor setting account flags out into ↵Michael Adam1-50/+46
test_SetUserInfo_acct_flags() and use this in four places (enabling/disabling accounts). Michael Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-25s4-smbtorture: split spoolss_RemoteFindFirstPrinterChangeNotifyEx test into ↵Günther Deschner1-73/+108
smaller parts. Guenther
2010-01-21s4: Fix a few warnings.Jelmer Vernooij1-1/+0
2010-01-20torture: add new test RPC-SAMR-PASSWORDS-LOCKOUTMichael Adam2-0/+452
This tests account lockout features. Windows 2003r2 and Windows 2008r2 survice this test. Note: Windows does not set the ACB_AUTOLOCK account flag when it locks out an account. One thing that could/should be added to this test is a check of the lockout time property. Michael
2010-01-19s4-smbtorture: remove unneeded ncaclrpc dir setup from RPC-SPOOLSS-NOTIFY.Günther Deschner1-10/+0
Guenther
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