summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/rpc.c
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.Jelmer Vernooij1-31/+26
(This used to be commit dadcc4708e1813c0b657f1d357c2ae202ea4ec5a)
2007-10-10r24850: Convert to torture API.Jelmer Vernooij1-1/+1
(This used to be commit 6c7a004b9d95e443d07307bbe94f691cc4b03490)
2007-10-10r24849: Add helper function for running tests as a member server.Jelmer Vernooij1-22/+143
(This used to be commit 61b2f0a405ea70203ea982b9a151643f28b1da7e)
2007-10-10r24835: Put all RPC tests in the list (skipping when necessary), warn if ↵Jelmer Vernooij1-1/+1
tests aren't there. (This used to be commit 1ff13ae254288afc56a3b19d00c7a20120eb4c74)
2007-10-10r24755: Use common code for finding the RPC binding in the torture tests.Jelmer Vernooij1-28/+42
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
2007-10-10r24751: Run more tests, remove empty testsuites, more small improvements.Jelmer Vernooij1-6/+5
(This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)
2007-10-10r24741: More use of the torture API.Jelmer Vernooij1-16/+30
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
2007-10-10r24736: Convert to using torture API.Jelmer Vernooij1-1/+35
(This used to be commit a0f11881546f6cd367d459e016956f76910a0a89)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-9/+9
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-2/+36
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.cStefan Metzmacher1-1/+1
and rename the containing functions to have a ndr_ prefix metze (This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-1/+1
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher1-4/+4
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23090: a test showing two netlogon pipes open at once, using the LogonEx opsAndrew Tridgell1-0/+1
(This used to be commit 576dbdc8eece5c2fef743835c7cc255f02050ad3)
2007-10-10r22580: remove not yet needed line...Stefan Metzmacher1-1/+0
metze (This used to be commit 57939600ee954c7510d8219200d3c759fbb69372)
2007-10-10r22579: disable progress printing in the build-farmStefan Metzmacher1-0/+1
metze (This used to be commit 93089ad5e8b6e20c4fa92bf13b0137765aeac689)
2007-10-10r21588: add a RPC-HANDLES-LSARPC-SHARED test, which demonstratesStefan Metzmacher1-1/+3
policy handles can be shared between connections metze (This used to be commit 874cb393666b950b379d07e6af5bcf41f2bf4746)
2007-10-10r21570: added a RPC-HANDLES test that tries to show that rpc policy handlesAndrew Tridgell1-0/+1
are not shared between connections. It tests three types of policy handles, on lsa, samr and drsuapi. You need to run on ncacn_ip_tcp with seal for drsuapi. Metze, can you have a look and see how this tallies with what you've seen? (This used to be commit c1f41ac045f6023da06c3dbd0a37f39edd8a62f8)
2007-10-10r21208: fix a crash bug caused by r21205Andrew Tridgell1-1/+1
please test patches, even if they look trivial! (This used to be commit 8134a628f06f0df2ee94612854e0fb3e2efc2eb8)
2007-10-10r21205: Fix warning.Jelmer Vernooij1-1/+1
Trivial patch from "Lunar Child <luch@etersoft.ru>" (This used to be commit 1b75a9ff2d7f91f13fbdfd136b40eca14867bf6f)
2007-10-10r20145: fix whitespacesStefan Metzmacher1-5/+3
metze (This used to be commit d2d9842914bb049189f9349ff96b32c088cd02a8)
2007-10-10r19549: fixed some indentationAndrew Tridgell1-2/+2
(This used to be commit ea1e4685d914c09d615bb7c4a5678b5de00da5f4)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-50/+123
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r19293: Add RPC-SAMBA3-WINREG, the start of a test of what Samba3 is able to ↵Volker Lendecke1-0/+1
perform right now. Volker (This used to be commit f381232c3ad032fcffb37d68d005e94cb2c95971)
2007-10-10r19247: Ok, figured out that wkssvc wksgetinfo also gives the server name. I ↵Volker Lendecke1-0/+1
thought I had tested that w2k3 copies the input server name to output. Volker (This used to be commit b7e54501f773a11892ab5ef3202ee4d57723725e)
2007-10-10r17205: Even if this makes me look foolish, at least start to scratch on the ↵Volker Lendecke1-0/+1
surface of spoolss. If snum is to be removed, then we should make at least the attempt to walk parts of the code before and after the changes. This walks GetPrinterInfo level 0-7. Volker (This used to be commit 0c05f571a0eda2412896f340b7c751cf7cbdbd2a)
2007-10-10r17187: Beginnings of a little lsa walker for Samba3, if only to prevent theVolker Lendecke1-0/+1
regression we had in 3.0.23... Volker (This used to be commit 0236f3b41a4f9015f8551ffb67db59fa48212bf5)
2007-10-10r17082: Add a test that walks and tests denying tconX access via the share ↵Volker Lendecke1-0/+2
security descriptor. This is something that W2k3 does _not_ pass and probably is not expected to, it seems the don't check access at tconX time. Thanks to metze for the hint how in the srvsvc_NetShareInfo1501 struct the length of the sd can be encoded in idl. As metze says, there's probably more to the share secdesc, this needs more testing. This one is here to walk the samba3 code. Volker (This used to be commit 67185508229a8d7f144c22cb194f573c932d6de5)
2007-10-10r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous ↵Volker Lendecke1-0/+2
login. Found that because I want to play around with setsharesecurity, for this I need the "whoami" call figuring out the SID of the currently connected user. Not activating this test yet until the build farm has picked up the new samba4 revision. Volker (This used to be commit 5603db30e7dfbb3d5c4599d36a50007a2b3cac75)
2007-10-10r16956: Walk some of the samba3 srvsvc codeVolker Lendecke1-0/+1
(This used to be commit bd84fde777366899391d122e0aa5034ba0b80037)
2007-10-10r16847: Add the parts of the SAMR test that pass back into 'make test'.Andrew Bartlett1-0/+2
I still need to figure out what causes the rest to fail... Andrew Bartlett (This used to be commit aa34bd46cb1446b9fb6fd8f1b8ffca5f81b3c052)
2007-10-10r16741: add a RPC-LSA-GETUSER test,Stefan Metzmacher1-0/+1
which is very useful for analysing a windows machine remotely with this I found that vista-beta2 doesn't have an 'administrator' account and mapps any not known user to MACHINENAME\Guest metze (This used to be commit 97ae93627527f65b6ecded9884a26d4cffa1409d)
2007-10-10r16331: Split out registering of multi fn tests, fix typo in name of pac suite.Jelmer Vernooij1-40/+40
(This used to be commit 9e8574ac6cd38d1ff388f0c9ff37d86b316a431e)