summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/rpc.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-27s4-torture: Add a samr privilege check.Andreas Schneider1-0/+1
This is the first part which checks if a deleted user is propagated correctly to all daemons and caches with user information are emtpy.
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-1/+1
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-02-05s4 torture: add new rpc torture tests for backup key remote protocolMatthieu Patou1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Feb 5 13:01:42 CET 2011 on sn-devel-104
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-22/+22
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-11-02s4-torture Add tests for DES-only accounts PAC behaviour/validation.Andrew Bartlett1-0/+35
Previously we didn't support DES-only in a Samba4 domain. This is important for some legacy systems that have not yet migrated from this weak crypto. Andrew Bartlett
2010-08-25s4-smbtorture: Added a torture test for forest trustsSumit Bose1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-17smbtorture: Ensure that the RPC setup returns correct status.James Peach1-4/+4
2010-08-11s4-test: Move RPC-DSSYNC test in DRS-RPC test suiteKamen Mazdrashki1-1/+0
2010-07-14s4-smbtorture: add very simple RPC-BIND testsuite.Günther Deschner1-0/+1
Guenther
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)