summaryrefslogtreecommitdiffstats
path: root/source4/torture/rpc/rpc.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture/rpc: remove bogus rpc.multibind testStefan Metzmacher2014-03-251-1/+0
| | | | | | | | | | | | We can later add a more useful test that tests security context multiplexing correctly. And another one that demonstrates that only DCERPC_BIND must be the first (and only the first) PDU on a connection. Otherwise DCERPC_ALTER_CONTEXT is used. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s4:torture/rpc: make use of dcerpc_binding_set_*() in ↵Stefan Metzmacher2014-02-131-7/+18
| | | | | | | torture_rpc_connection_transport() Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4-torture: No need to disable rpc.spoolss.win test when compiled with MIT ↵Günther Deschner2013-05-201-1/+1
| | | | | | | | | | | | | kerberos. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Mon May 20 20:35:33 CEST 2013 on sn-devel-104
* s4-torture: move samr_ValidatePassword test out of main samr test.Günther Deschner2012-12-121-0/+1
| | | | | | | | | | Makes it easier to call with ncacn_ip_tcp transport (Windows does not allow other transports). Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: fsrvp test suiteDavid Disseldorp2012-06-081-0/+1
| | | | Covers most operations defined by the File Server Remote VSS Protocol.
* waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy2012-06-071-1/+1
| | | | | | --without-ad-dc was hardwired to mean --with-system-mitkrb5. With this change it also possible to build source3/ code and source4/ client side without building AD DC functionality using Heimdal (embedded or system).
* Introduce system MIT krb5 build with --with-system-mitkrb5 option.Alexander Bokovoy2012-05-231-0/+2
| | | | | | | | | | | | | | | | | System MIT krb5 build also enabled by specifying --without-ad-dc When --with-system-mitkrb5 (or --withou-ad-dc) option is passed to top level configure in WAF build we are trying to detect and use system-wide MIT krb5 libraries. As result, Samba 4 DC functionality will be disabled due to the fact that it is currently impossible to implement embedded KDC server with MIT krb5. Thus, --with-system-mitkrb5/--without-ad-dc build will only produce * Samba 4 client libraries and their Python bindings * Samba 3 server (smbd, nmbd, winbindd from source3/) * Samba 3 client libraries In addition, Samba 4 DC server-specific tests will not be compiled into smbtorture. This in particular affects spoolss_win, spoolss_notify, and remote_pac rpc tests.
* Avoid using Heimdal-specific tests in MIT buildAlexander Bokovoy2012-05-041-0/+2
|
* s4-torture: Add a samr privilege check.Andreas Schneider2011-10-271-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.
* s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett2011-06-061-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
* s4 torture: add new rpc torture tests for backup key remote protocolMatthieu Patou2011-02-051-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
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-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
* s4-torture Add tests for DES-only accounts PAC behaviour/validation.Andrew Bartlett2010-11-021-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
* s4-smbtorture: Added a torture test for forest trustsSumit Bose2010-08-251-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* smbtorture: Ensure that the RPC setup returns correct status.James Peach2010-08-171-4/+4
|
* s4-test: Move RPC-DSSYNC test in DRS-RPC test suiteKamen Mazdrashki2010-08-111-1/+0
|
* s4-smbtorture: add very simple RPC-BIND testsuite.Günther Deschner2010-07-141-0/+1
| | | | Guenther
* s4-smbtorture: add RPC-SPOOLSS-ACCESS.Günther Deschner2010-06-051-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
* s4-smbtorture: completely rework RPC-SPOOLSS-PRINTER.Günther Deschner2010-06-041-1/+0
| | | | | | | This is now a child testsuite to RPC-SPOOLSS. You can call simple tests via RPC-SPOOLSS-{addprinter,addprinterex}-testname. Guenther
* s4-smbtorture: convert RPC-SPOOLSS into a torture suite.Günther Deschner2010-06-031-1/+1
| | | | Guenther
* s4-smbtorture: add RPC-SPOOLSS-DRIVER test.Günther Deschner2010-04-231-0/+1
| | | | Guenther
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-141-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
* s4-smbtorture: rework RPC-DFS test a bit.Günther Deschner2010-03-191-1/+1
| | | | Guenther
* s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.Günther Deschner2010-03-191-17/+1
| | | | Guenther
* torture: add new test RPC-SAMR-PASSWORDS-LOCKOUTMichael Adam2010-01-201-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
* s4-drs: torture test for DsGetReplInfo() (RPC-DSGETINFO test).Erick Nogueira do Nascimento2010-01-161-0/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-smbtorture: add RPC-SAMR-PASSWORDS-BADPWDCOUNT torture test.Günther Deschner2010-01-121-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
* smbtorture4: Add rpc-samba3-getaliasmembership-0Volker Lendecke2009-12-151-0/+2
|
* s4/drs(tort): Convert DSSYNC test to a test case fixtureKamen Mazdrashki2009-11-171-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>
* s4-smbtorture: re-arrange netlogon LogonControl test.Günther Deschner2009-11-091-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
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-2/+0
| | | | This reduces compile time somewhat.
* s4/tort: RPC-DRSUAPI test case refactored to match torture architectureKamen Mazdrashki2009-09-111-1/+1
|
* tort: RPC-CRACKNAMES test case refactoredKamen Mazdrashki2009-09-081-1/+1
|
* s4-smbtorture: add RPC-NETLOGON-S3 to test samba3 netlogon server.Günther Deschner2009-08-261-0/+1
| | | | Guenther
* s4-smbtorture: move all privilege tests to RPC-LSA-PRIVILEGES.Günther Deschner2009-07-161-0/+1
| | | | Guenther
* s4-smbtorture: move all trusted domain tests to RPC-LSA-TRUSTED-DOMAINS.Günther Deschner2009-07-161-0/+1
| | | | Guenther
* s4-smbtorture: add RPC-SPOOLSS-PRINTER test.Günther Deschner2009-07-141-0/+1
| | | | Guenther
* s4-smbtorture: add RPC-SAMR-MACHINE-AUTH test.Günther Deschner2009-06-291-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
* s4-smbtorture: add torture_suite_add_machine_workstation_rpc_iface_tcase.Günther Deschner2009-06-291-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
* s4-smbtorture: add RPC-SAMR-LARGE-DC test.Günther Deschner2009-05-251-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
* s4-smbtorture: add RPC-SAMR-USERS-PRIVILEGES test.Günther Deschner2009-05-181-0/+1
| | | | | | | This test demonstrates the independence of the lsa and samr accounts while remove a samr users that still has privileges granted. Guenther
* s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.Günther Deschner2009-05-111-0/+1
| | | | Guenther
* s4-smbtorture: add LSA-LOOKUPSIDS to verify bug #6263.Günther Deschner2009-04-171-0/+1
| | | | Guenther
* s4-smbtorture: verify each password change via samlogon in ↵Günther Deschner2009-01-061-1/+1
| | | | | | SAMR-PASSWORDS-PWDLASTSET test. Guenther
* s4:torture: add simple RPC-BROWSER testStefan Metzmacher2008-12-061-0/+1
| | | | metze
* s4-smbtorture: move test to SAMR-PASSWORDS-PWDLASTSET.Günther Deschner2008-11-281-0/+1
| | | | Guenther
* s4-smbtorture: add very basic RPC-NTSVCS test.Günther Deschner2008-11-121-0/+1
| | | | Guenther
* Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij2008-11-021-2/+2
|
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* s4:torture/rpc: add RPC-OBJECTUUIDStefan Metzmacher2008-09-301-0/+1
| | | | | | | This test shows that object uuids should be ignored if they're present in a dcerpc request. metze