summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/rpc.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-05s4-smbtorture: add RPC-SPOOLSS-ACCESS.Günther Deschner1-0/+1
This test creates - a user - a user with BUILTIN\Administrators membership - a user with BUILTIN\Print Operators membership - a user with SePrintOperatorPrivilege (if available) - a user with full access in security descriptor and checks what access rights are granted in spoolss_OpenPrinterEx. Guenther
2010-06-04s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.Günther Deschner1-1/+0
This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via RPC-SPOOLSS-{addprinter,addprinterex}-testname. Guenther
2010-06-03s4-smbtorture: convert RPC-SPOOLSS into a torture suite.Günther Deschner1-1/+1
Guenther
2010-04-23s4-smbtorture: add RPC-SPOOLSS-DRIVER test.Günther Deschner1-0/+1
Guenther
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
2010-03-19s4-smbtorture: rework RPC-DFS test a bit.Günther Deschner1-1/+1
Guenther
2010-03-19s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.Günther Deschner1-17/+1
Guenther
2010-01-20torture: add new test RPC-SAMR-PASSWORDS-LOCKOUTMichael Adam1-0/+1
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-16s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).Erick Nogueira do Nascimento1-0/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-12s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.Günther Deschner1-0/+1
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
2009-12-15smbtorture4: Add rpc-samba3-getaliasmembership-0Volker Lendecke1-0/+2
2009-11-17s4/drs(tort): Convert DSSYNC test to a test case fixtureKamen Mazdrashki1-1/+1
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-09s4-smbtorture: re-arrange netlogon LogonControl test.Günther Deschner1-0/+1
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-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-2/+0
This reduces compile time somewhat.
2009-09-11s4/tort: RPC-DRSUAPI test case refactored to match torture architectureKamen Mazdrashki1-1/+1
2009-09-08tort: RPC-CRACKNAMES test case refactoredKamen Mazdrashki1-1/+1
2009-08-26s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.Günther Deschner1-0/+1
Guenther
2009-07-16s4-smbtorture: move all privilege tests to RPC-LSA-PRIVILEGES.Günther Deschner1-0/+1
Guenther
2009-07-16s4-smbtorture: move all trusted domain tests to RPC-LSA-TRUSTED-DOMAINS.Günther Deschner1-0/+1
Guenther
2009-07-14s4-smbtorture: add RPC-SPOOLSS-PRINTER test.Günther Deschner1-0/+1
Guenther
2009-06-29s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test.Günther Deschner1-0/+1
This test talks to a DC as a joined workstation member - in the same way winbindd does, in particular the calls used in this test's query pattern will all request for SEC_FLAG_MAXIMUM_ALLOWED access_mask (which pretty much all of samba's client code does as well). In fact this test verifies that winbind can correctly talk to a samba dc using samr dcerpc calls. Guenther
2009-06-29s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.Günther Deschner1-4/+54
Unlike torture_suite_add_machine_bdc_rpc_iface_tcase() which joins as a BDC (ACB_SRVTRUST) this joins as a member workstation (ACB_WSTRUST). Guenther
2009-05-25s4-smbtorture: add RPC-SAMR-LARGE-DC test.Günther Deschner1-0/+1
This rather simple test creates 4500 objects on a domain controller and checks the enum calls for the correct number of results. Guenther
2009-05-18s4-smbtorture: add RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner1-0/+1
This test demonstrates the independence of the lsa and samr accounts while remove a samr users that still has privileges granted. Guenther
2009-05-11s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.Günther Deschner1-0/+1
Guenther
2009-04-17s4-smbtorture: add LSA-LOOKUPSIDS to verify bug #6263.Günther Deschner1-0/+1
Guenther
2009-01-06s4-smbtorture: verify each password change via samlogon in ↵Günther Deschner1-1/+1
SAMR-PASSWORDS-PWDLASTSET test. Guenther
2008-12-06s4:torture: add simple RPC-BROWSER testStefan Metzmacher1-0/+1
metze
2008-11-28s4-smbtorture: move test to SAMR-PASSWORDS-PWDLASTSET.Günther Deschner1-0/+1
Guenther
2008-11-12s4-smbtorture: add very basic RPC-NTSVCS test.Günther Deschner1-0/+1
Guenther
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij1-2/+2
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-09-30s4:torture/rpc: add RPC-OBJECTUUIDStefan Metzmacher1-0/+1
This test shows that object uuids should be ignored if they're present in a dcerpc request. metze
2008-08-27Add a test to explore Netlogon PAC validationAndrew Bartlett1-0/+1
However, I have still not figured out this protocol yet, and the docs are rather unclear... :-( Andrew Bartlett (This used to be commit d878643071a1477435a267e2944461d367cdfa79)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-1/+1
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-05-16torture: add RPC-BENCH-SCHANNEL1 testStefan Metzmacher1-0/+1
This tests SamLogonEx() calls on multiple (smb) connections in parallel. Sadly the smb connect needs to be serialized because of the reset on zero VC style behavior of windows. Call it like this: bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 RPC-BENCH-SCHANNEL or bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 -k no RPC-BENCH-SCHANNEL \ --option="torture:nprocs=4" --option="torture:timelimit=1" \ --extra-user SUB1\\sub1user%testsecret --extra-user SUB1\\sub1user%testsecret or ... Later we should add more tests, maybe using only one smb connection and different netlogon pipes. We should also test using the DCERPC_PFC_FLAG_CONC_MPX flag and just one rpc connection. DCERPC_PFC_FLAG_CONC_MPX /* supports concurrent multiplexing of a single connection.*/ metze (This used to be commit 901426c24c74390f7b1c78bb7a07c020b6ef73eb)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce1-4/+4
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2007-12-21r26395: spoolss: Add WinXP-like printer browsing test.Kai Blin1-0/+1
(This used to be commit 2ccc4d2af58b49ab1319ce87e0f15591b40db06f)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-4/+4
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-12-21r26252: Specify loadparm_context explicitly when creating sessions.Jelmer Vernooij1-1/+1
(This used to be commit 7280c1e9415daabb2712db1372e23f9846272ede)
2007-12-21r25827: Start of samba3-regconfig testVolker Lendecke1-0/+1
(This used to be commit 59371e8f2d0abb2e63b0452cd0d3fe49107560a1)
2007-12-21r25688: Add a simple test for a samba3 regressionVolker Lendecke1-0/+2
When trying an reqchal/auth2 for an unknown workstation account, we have to return NT_STATUS_NO_TRUST_SAM_ACCOUNT to the auth2. v3-2-test right now returns NT_STATUS_ACCESS_DENIED, which seems to prevent XP from joining a Samba3 PDC. (This used to be commit 99cc861238a33d43ccc4e97cb5ab756c0a097e1d)
2007-12-21r25667: Start on frsapi testsuite.Günther Deschner1-0/+1
Guenther (This used to be commit ebcbdb5fbdb30005a60431687a738df5f26d3472)
2007-10-10r25263: add a test to check the accessmasks and ACLs on policy handles ↵Ronnie Sahlberg1-0/+1
returned on the SAMR pipe. also test which bits in the accessmasks grant which right to perform operations on the returned policy handle (This used to be commit cb5bc801362a4a81a690e641146c70a7af8e6096)
2007-10-10r25073: Correct test name so make test can pass again.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit adcb3c864a5af5286cd7f7f6e2a3b904c7db9f42)
2007-10-10r25070: Revert DRSUAPI conversion to new API, as it broke some tests.Jelmer Vernooij1-2/+2
(This used to be commit cfb33df2d0eb36704d4702948a78102153663131)
2007-10-10r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij1-0/+1
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10r24889: Move choosing the binding options into RPC-SECRETS.Jelmer Vernooij1-1/+1
(This used to be commit 24d322b746cf25010045515f9beff63e2b5cccd2)
2007-10-10r24885: Convert to new torture API.Jelmer Vernooij1-1/+1
(This used to be commit 2918a056787467186a491574da95ea38c9aea1ee)