summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r12865: Upgrade the librpc and libnet code.Andrew Bartlett3-8/+5
In librpc, always try SMB level authentication, even if trying schannel, but allow fallback to anonymous. This should better function with servers that set restrict anonymous. There are too many parts of Samba that get, parse and modify the binding parameters. Avoid the extra work, and add a binding element to the struct dcerpc_pipe The libnet vampire code has been refactored, to reduce extra layers and to better conform with the standard argument pattern. Also, take advantage of the new libnet_Lookup code, so we don't require the silly 'password server' smb.conf parameter. To better support forcing traffic to be sealed for the vampire operation, the dcerpc_bind_auth() function now takes an auth level parameter. Andrew Bartlett (This used to be commit d65b354959842326fdd4bd7eb7fbeea0390f4afa)
2007-10-10r12812: speed up RPC-ECHO with validate some more, and re-enable it underAndrew Tridgell1-2/+9
valgrind in 'make valgrindtest' (This used to be commit b2030d527a75fecd907148d13860b4ba5193f218)
2007-10-10r12811: valgrind on RPC-ECHO with validate is extremely slow - speed it up ifAndrew Tridgell1-2/+16
torture:quick is set (This used to be commit b591b28567eba148509c5dec060efaef2fd95ff6)
2007-10-10r12767: Add some trusted lookupsVolker Lendecke1-5/+67
(This used to be commit 568fc8a3412e07ac3084f441e693bc82b9ea912b)
2007-10-10r12766: fix the buildVolker Lendecke1-1/+1
(This used to be commit d73c343904f32956ba97e4ad82af9c9a75f5d70c)
2007-10-10r12764: Add a test for lsa_lookup. This will be expanded when I get around ↵Volker Lendecke1-0/+264
to add trusted domains. Volker (This used to be commit 8b8bb85ad365721bfa1cf5309d53d851f2013c22)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij3-0/+3
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij32-0/+32
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12636: fixed some torture code for the changed lsa string typesAndrew Tridgell2-5/+5
(This used to be commit ce77c0e8bf4127027edd6291d2ae5d868e3372a1)
2007-10-10r12622: Move table.c prototypes to seperate header to prevent circular ↵Jelmer Vernooij5-0/+5
dependencies with proto.h (This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij12-17/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12597: One less void *Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit a328acc8fa73703bba72b94084063906ec63cdc3)
2007-10-10r12584: Move NDR tests from rpc/ to local/, add to list of testsJelmer Vernooij1-97/+0
to run for 'make all' (This used to be commit e71cd4778b9a872642619452e574f510e2491052)
2007-10-10r12558: Support [flag(NULLTERM)] on [charset()] arraysJelmer Vernooij1-0/+97
(This used to be commit 2e5a6eb219feab3208f63d727340a852bfdb0b3f)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12514: Move DCE/RPC interface table to a seperate fileJelmer Vernooij2-2/+2
Be a bit more strict when checking for duplicate interfaces (This used to be commit b1286a6d27e2b5aa26f288f6aff70601b0d8ae74)
2007-10-10r12512: Use GUID structs in API functions everywhere rather then converting ↵Jelmer Vernooij4-18/+16
back and forth between GUID structs and strings in several places. (This used to be commit 3564e2f967ef72d6301b4f7e9a311cebcded4d75)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij35-173/+61
dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table. (This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
2007-10-10r12505: Cope better with NT_STATUS_PASSWORD_RESTRICTION (due to minimumAndrew Bartlett1-7/+93
password age), and test for the incorrect password error case. Andrew Bartlett (This used to be commit 85b7e3c493c65a9e1ea88325cbeaeb9bffceb9e2)
2007-10-10r12502: A bit of work on the RPC-SAMR torture test. Prove that ridToSid isAndrew Bartlett1-10/+30
really as simple as it looks. Andrew Bartlett (This used to be commit a7e4062547470620b5b69dc295d5ac7dcec93116)
2007-10-10r12461: Some updates to the srvsvc IDL from Ronnie SahlbergJelmer Vernooij1-5/+4
(This used to be commit ff7ef98f34811952331e72095505a2eae430fec0)
2007-10-10r12405: I'm afraid I can't take care of the xplogin test in the near future, ↵Volker Lendecke1-2221/+0
so remove it. I'll add it again later when I have more time for it. Volker (This used to be commit 84ae166e9173e6f16a60503a3a996dfb4f085926)
2007-10-10r12127: add --option=rpc_login:samr_auth=yes, to work against w2k3Stefan Metzmacher1-13/+36
metze (This used to be commit d8902e3513e518827f827dbf4bf3e0f17da2a95c)
2007-10-10r12116: got rid of composite_trigger_done() and composite_trigger_error(), andAndrew Tridgell1-8/+8
instead make the normal composite_done() and composite_error() functions automatically trigger a delayed callback if the caller has had no opportunity to setup a async callback this removes one of the common mistakes in writing a composite function (This used to be commit f9413ce792ded682e05134b66d433eeec293e6f1)
2007-10-10r12085: wkssvc.idl updated based on work by Ronnie Sahlberg to bring theAndrew Tridgell1-1/+3
Samba4 and ethereal IDL into line, so ethereal doesn't lose any existing strucutres when switching to idl (This used to be commit afccf73ecf6cf85e72c04e28724096aa6da96a80)
2007-10-10r11968: More warning fixes. We're on track to getting to double digits forTim Potter2-3/+3
the number of warnings generated now. (This used to be commit d479f2d7607adc698d71c5ba26932c72a26dcaab)
2007-10-10r11967: Fix more 64-bit warnings.Tim Potter2-11/+13
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
2007-10-10r11884: Download ntconfig.polVolker Lendecke1-13/+171
(This used to be commit 9e6929c643d7dbc38a9faff59493778b96ec0bfe)
2007-10-10r11883: Also look up the membership in the domain local groups.Volker Lendecke1-8/+83
Volker (This used to be commit a67bc5117df6b933bf7303f8d067b766baca05c2)
2007-10-10r11868: Get the wks and user accounts from a file.Volker Lendecke1-2/+141
Abartlet, please don't break this again, it's too darn useful for near-realistic load tests on an RPC infrastructure and can be quite easily expanded to more weird things a workstation might do during a login. Yes, I promise I will document this test, but this must wait until the weekend. I might add simulating a profile download quite soon, we have the information available from the info3. Thanks, Volker (This used to be commit 15ca9e16bbc120a4a29bedaededc266097204ec5)
2007-10-10r11843: fixed a valgrind error in the RPC-SAMLOGON testAndrew Tridgell1-1/+1
(This used to be commit 61cabcd7f9010f708a55165f2ff855630f4b39df)
2007-10-10r11837: Add a timeout before starting a torture test. It's really fun to ↵Volker Lendecke1-9/+33
watch 50 simulated logins doing stuff simultaneously. This is where the async architecture *really* pays off. Volker (This used to be commit 4cca813dff1194546e85efb9aabd36f0139e5be2)
2007-10-10r11836: More work in progressVolker Lendecke1-100/+448
(This used to be commit 3f5ad1bd3f817d99df76678f3ad733e51c00c673)
2007-10-10r11834: More steps towards XP loginVolker Lendecke1-0/+622
(This used to be commit c10ccb2edb5e623def9bf167ff328a70a9a85841)
2007-10-10r11826: A few steps down the loginVolker Lendecke1-3/+242
(This used to be commit 47a91dae31d4f1de93579f705c9115cd44d4ca6e)
2007-10-10r11818: - changed the option torture:echo_TestSleep=yes/no to the more genericAndrew Tridgell1-5/+5
option torture:quick=yes/no. This should be used in all slow tests to enable a quick mode - enabled the test_rpc_quick.sh tests in 'make quicktest' (This used to be commit 180c209c1bb48f6421043de2d0d48c29fc7f9274)
2007-10-10r11809: Make dcerpc_bind_auth async.Volker Lendecke1-10/+10
This also removes dcerpc_bind_auth_password, the only user of dcerpc_bind_auth. And this was not only passwords anyway. Andrew Bartlett, as usual: Please take a close look. Thanks, Volker (This used to be commit 2ff2dae3d035af6cb0c131573cfd983fc9a58eee)
2007-10-10r11804: Asyncify the anonymous bind, convert the calls in xplogin.c.Volker Lendecke1-11/+35
Tridge et al, please take a close look at this. It survives my basic rpc-login test as well as rpc-lsa, but this is critical I think. Volker (This used to be commit bf1a55f44c84d9bb8b2f83f5d25727550ca8fcf2)
2007-10-10r11803: New start for RPC-LOGIN load test, this time async. It's gonna be ↵Volker Lendecke1-949/+454
fun to see hundreds of logins from a single process.... :-) Does not do all that is necessary yet. But as the old one was #ifdef'ed out, this does not hurt much I think. Volker (This used to be commit f7cbef3e593df0c75bfd9be5bea64f65042c4d05)
2007-10-10r11676: as tridge uses 0x%llx in his latest commits...Stefan Metzmacher2-7/+4
try to use it every where and see how portable it is metze (This used to be commit 66a94de5ddd09df858a515555c01aa3d4f7d3e96)
2007-10-10r11628: fixed a valgrind error in the rpc echo testAndrew Tridgell1-1/+1
(This used to be commit d340ea7906c091a1400d3e73a8f530174aa8a965)
2007-10-10r11626: Fix unhandled enum in case statement warnings by noting appropriatelyTim Potter1-0/+17
that some values aren't handled. The remaining warnings I think are actual bugs or required functionality that is missing (mostly lack of server side Unix extensions). (This used to be commit 03c7da27a06736f2a27d76e6a00a24ab54453af9)
2007-10-10r11624: Use enum names instead of magic numbers.Tim Potter1-2/+2
(This used to be commit f177c223e6b881a65ed49ceacf9106e42d2a7d0a)
2007-10-10r11479: fix compiler warningStefan Metzmacher1-2/+2
metze (This used to be commit 5f45d070208eedaef59bff5f7e05f37719285d84)
2007-10-10r11473: Based on work by Jelmer, implement the [async] flag for rpc ↵Volker Lendecke4-9/+90
requests. If it's not there (it's not yet on *any* call... :-)), the rpc client strictly sequences calls to an rpc pipe. Might need some more work on the exact sequencing semantics when a pipe with both sync and async calls is actually deployed, but I want it in for winbind simplification. Volker (This used to be commit b8f324e4f000971b7dafc263c16dd4af958ee7f9)
2007-10-10r11457: fixed the winreg IDL and torture code so key and value enumerationsAndrew Tridgell1-8/+8
work again. The automatic value() is fine for the length, but cannot be used for the size as the size is not the number of bytes being sent, but the number of bytes that the server is allowed to use in the reply (This used to be commit 46e91f269c83707863a726e716325eade38e1142)
2007-10-10r11453: Fix warning, for a case that just can't happen.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit c0ba414a38de7ffa7b2a59c664598e64e911fe7c)
2007-10-10r11407: Push 'recreate account' logic into libnet/libnet_join.c. We don'tAndrew Bartlett1-15/+0
return the pesky USER_EXISTS 'error' code any more, and it is much easier to handle this inline. Andrew Bartlett (This used to be commit a7eb796cf544db3fe16986d8e233d2defe7a7d1b)
2007-10-10r11406: Clean up uninitialised value warnings found by -01.Andrew Bartlett1-23/+17
The warnings were caused by the structure assignements, which we don't need to do. The actual values are filled in by the NDR layer later. Andrew Bartlett (This used to be commit f140117535c3281f0a0a7970ea4127498737d112)
2007-10-10r11405: Ensure we can never have secret4 be uninitialised. Found afterAndrew Bartlett1-3/+5
volker's urging on the use of -O1. Andrew Bartlett (This used to be commit 6a7bb391ba62a4f90f57aa76c5dcc0d35fca54a4)