summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2003-11-27Implemented SetForm RPC.Tim Potter1-3/+24
(This used to be commit bdb0dfc370b4deb9e7f5a381092538c3e502f191)
2003-11-27Add DeleteForm, start cleaning up tests.Tim Potter1-20/+64
(This used to be commit 10b31623fd421d341787d0769839ea5dca5ae7c0)
2003-11-27more epmapper and mgmt magicAndrew Tridgell3-51/+64
protocol 0x1f is interesting - its ncacn_http ! (This used to be commit e3d40e3da6e15407162c1d0a29d2cbe86842228e)
2003-11-27Implemented AddForm RPC. The mystery of the useless_ptr has beenTim Potter1-0/+20
solved. It was a pointer in a union member. RPC-SPOOLSS tests a bit messy and could do with a cleanup. (This used to be commit cf8cd4485261e861b16b98fb918758ff11282f1d)
2003-11-27added an rpc scanner. This prints messages like this:Andrew Tridgell3-2/+239
uuid 82273fdc-e32a-18c3-3f78-827929dc23ea version 0x0000:0x0000 'eventlog' 24 calls available WARNING: local IDL defines 4 calls when all the WARNINGs are gone then we know we have all the calls :) (This used to be commit f5821b2468a0c46d0e5590de59562926d746c349)
2003-11-27switched to WERROR return codes in the management IDLAndrew Tridgell1-22/+28
(This used to be commit a81f659e9e7d876b82fb7b5950b9fbfbf5478e03)
2003-11-26by default sign RPC over TCP but not RPC over SMB. I will add command line ↵Andrew Tridgell1-4/+5
control soon (This used to be commit 215852116c1fb8c0d8ef559155a3dd55346f0c31)
2003-11-26Implemented EnumForms and GetForm.Tim Potter1-0/+106
(This used to be commit 822750592cffb175aa7afb268bc7cb47bbab47e4)
2003-11-26show an error when the epmapper fails to find an interfaceAndrew Tridgell1-0/+2
(This used to be commit 448dead14dc9db2c429c78f0eed303c4513f5a47)
2003-11-26added auto-determination of the DCERPC over TCP port number by askingAndrew Tridgell1-7/+13
the servers endpoint mapper (This used to be commit 4abf5376b00f580eb69196e55a792cc7eb4c9880)
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell2-3/+38
* moved ntlmssp code into libcli/auth/, and updated to latest ntlmssp code from samba3 (thanks Andrew! the new interface is great) * added signing/ntlmssp support in the dcerpc code * added a dcerpc_auth.c module for the various dcerpc auth mechanisms (This used to be commit c18c9b5585a3e5f7868562820c14f7cb529cdbcd)
2003-11-24 * fixed byte order in epmapper parsingAndrew Tridgell2-36/+72
* allow rpc transport to be specified on command line in smbtorture (This used to be commit 8a82050fd6f45bcdb31c2c365eaed5fc12599e4f)
2003-11-24initial implementation of dcerpc over tcp. RPC-EPMAPPER works, now toAndrew Tridgell2-4/+28
add epm_Map calls and support the rest of the pipes (This used to be commit 39add481582609ddb9d0b3bae45fde3226ece481)
2003-11-24 * prepared the dcerpc subsystem for adding the RPC over TCP transportAndrew Tridgell1-15/+3
* fixed a uninitialised variable bug in pidl (found by valgrind) (This used to be commit 8bce61b8af6351c72c0dd84dc61b49d8aeb1fbbd)
2003-11-24added tests for epm_Map endpointer map callsAndrew Tridgell1-23/+55
(This used to be commit 570ad78525ffcc116842270b62ba41c86c2a018d)
2003-11-24give far more detail in the EPMAPPER resultsAndrew Tridgell1-9/+82
(This used to be commit 420301969820ffaa0a87b091c7a79372c99cb658)
2003-11-24added tests for the remaining calls on the rpc management interfaceAndrew Tridgell1-1/+114
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
2003-11-24added the dcerpc remote management interfaces as mgmt.idl, and wrote aAndrew Tridgell2-0/+99
test suite. The test suite dumps all of the interfaces available on all pipes. There sure are a lot more interfaces on w2k3 than w2k ! (This used to be commit f94bc079902d725b63155d8d2de5bf408c6e7335)
2003-11-23 * better diagnostics in ndrdumpAndrew Tridgell1-3/+15
* added samr_Connect2() (This used to be commit 6b262ca37ca3fc0e3210b4379b2d9e46e1a2d336)
2003-11-23Modify WINREG test program to recursively enumerate keys in all knownTim Potter1-64/+47
hives. Limit the recursion depth to ensure the test doesn't run too long. (This used to be commit 152af383b8fdaa41be97356f9c55b9a5824edecf)
2003-11-23Check NT_STATUS code from dcerpc call function before checking theTim Potter1-2/+2
WERROR code. (This used to be commit b4792b7b316f8cb665b5a698f348c7c033702934)
2003-11-23Actually call right function name.Tim Potter1-1/+1
(This used to be commit 634ea437201fbf61f3157a4b0ebabfcb15507166)
2003-11-23Call enumkey for tridge.Tim Potter1-0/+4
(This used to be commit cc71bd2a903ba1f12f08758e885f1f07e61f7c86)
2003-11-23String termination fix.Tim Potter1-30/+87
Re-arrange winreg tests - currently it's failing with an input validation error on tridge's test pull/push test code. (This used to be commit 8f154f8b9f0bb8d9c7915945d4a0b1c20a206999)
2003-11-23reduced the number of magic types we need in mkproto.plAndrew Tridgell1-1/+1
In general I prefer "struct foo" to just "foo" for most structures. There are exceptions. (This used to be commit 04eb12b56c653f98801ab29411f47564ab32fa58)
2003-11-22 * fixed null terminated string handlingAndrew Tridgell1-1/+1
* fixed nested relative offsets in push functions the spoolss torture test now passes! (This used to be commit 60ced76160e4f4e2b511ebbeec31130c8ebcdd22)
2003-11-22 * fixed handling of relative subcontext unionsAndrew Tridgell1-2/+2
* fixed GetPrinter in spoolss after OpenPrinter (This used to be commit 4aea2d79dd6b14e0fdfafd2236849ece01839ce0)
2003-11-22 * fixed NDR flag inheritance across push subcontextsAndrew Tridgell1-2/+2
* don't consider not doing lsa_QueryInfoPolicy level 11 a failure (w2k3 doesn't have this level, w2k does) * on a NDR validation failure dump the failed data at level 3 (This used to be commit 9d5078962f0f8aef3360dea4c4774cf8de1fdc26)
2003-11-22 * enable RPC/NDR validation in all smbtorture codeAndrew Tridgell3-2/+5
* allow us to distinguish between null arrays and zero length arrays, by making the allocation size a minimum of 1 on array pull (This used to be commit 11c0fe548ecfb03424f51e1354b86d4692e8f07c)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell11-4/+24
* added a NDR validator. The way it works is that when the DCERPC_DEBUG_VALIDATE_* flags are set the dcerpc system will perform NDR buffer validation. On sending a request the packet is first marshalled, then unmarahslled, then marshalled again, and it is confirmed that the two marshalling results are idential. This ensures that our pull and push routines are absolutely in sync, so that we can be very confident that if a routine works in the client then the corresponding routine must work on the server side. A similar validation is performed on all replies. * a result of this change is that pidl is fussier about the [ref] tag. You can only use it on pointers (which is the only place it makes sense) * fixed a basic alignment bug in the push side of the NDR code * added server side pull/push support. Our dcerpc system is now fully ready to be used on the server side. * fixed the relative offset pointer list. It must be traversed in reverse order on push * added automatic value setting for the size parameter in outgoing SdBuf structures. * expanded the ndr debugging code to always give a message on any failure * fixed the subcontext push code * fixed some memory leaks in smbtorture RPC tests (This used to be commit 8ecf720206a2eef3f8ea7cbdb1f460664a5dba9a)
2003-11-22Convert all NTSTATUS return codes to WERROR.Tim Potter1-12/+227
Implement all OpenXXX calls, EnumKey, OpenKey, QueryInfoKey. Started EnumValue but it doesn't work yet. (This used to be commit 5cba48252a8b3338a296d7ec8fa8ccba43dd190e)
2003-11-21fix a smbtorture memory leakAndrew Tridgell1-7/+2
(This used to be commit 0eff7c519b87d9c69da61a7dfeecd0483f1ad7e9)
2003-11-21print out the UUIDs from the end point mapperAndrew Tridgell1-0/+7
(This used to be commit f90e5db8f9d1fa7062762af0ab3e0696998bf8bb)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell3-0/+116
interface. We now support an arbitrary set of flags to each parser, and these can be used to control the string types. I have provided some common IDL string types in librpc/idl/idl_types.h which needs to be included in every IDL file. * added IDL for the endpoint mapper. Added a test suite that enumerates all endpoints on the server. (This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
2003-11-21Implement DeleteKey, DeleteValue, FlushKey.Tim Potter1-0/+52
(This used to be commit 49f1654510f0ea7681b386296b67282791c4b319)
2003-11-21Start of winreg idl. Implement OpenHKLM, GetVersion and CloseKey.Tim Potter2-0/+125
(This used to be commit c8b87f5feb7756c7a5b38135517788c9f4ade36f)
2003-11-21More work on eventlog - still doesn't work. (-:Tim Potter1-5/+19
(This used to be commit 9109cb832a3807b3eee9e52c8c533e2bf0c8007a)
2003-11-21added 4 more levels to samr_QueryDisplayInfo()Andrew Tridgell1-11/+17
(This used to be commit f4cc593a5c7d75adaced2c33dd83c2ec741751be)
2003-11-20Add initial work on eventlog - doesn't quite work yet.Tim Potter2-0/+94
(This used to be commit 99fff7b1e24ee7231fa41ca9cb85382637f2b2b0)
2003-11-20added samr_QueryDisplayInfo() (only level 1 so far)Andrew Tridgell1-0/+28
(This used to be commit 8601305c8100f03ffaee4754eae12e9b332508a4)
2003-11-20extensive samr_SetUserInfo/samr_QueryUserInfo testing, withAndrew Tridgell1-10/+34
cross-checking of all settable fields (This used to be commit 3337906d52e95c127d64f81f9fc99aeb8a8d1ce6)
2003-11-20 * fixed level2 of QueryUserInfoAndrew Tridgell1-13/+91
* added per-field testing of SetUserInfo * fixed strlen_m() (This used to be commit 26238b0f8a5752bb0f611c4aa492b964e419209a)
2003-11-20started on samr_SetUserInfo()Andrew Tridgell1-2/+83
cope with the 'samrtorturetest' user already existing in the samr test (to cope with previously failed runs) (This used to be commit 47128b3d50b3481175a8b2580624316a4f7677db)
2003-11-20fixed a commentAndrew Tridgell1-1/+1
(This used to be commit d996c880f49c89c22775ad7e048dec6d5d5f82c9)
2003-11-20fixed srvsvc_NetShareEnumAll()Andrew Tridgell1-5/+8
(This used to be commit ab4056e25ccfde5136ff3a1cd5d1efa78f1eee1b)
2003-11-20Add a 1004 level for srvsvc.Richard Sharpe1-1/+1
(This used to be commit 9810e6f180564247dee584d197180d394b208c24)
2003-11-20Added ATSVC pipe.Tim Potter2-0/+166
(This used to be commit 274058486766f7a1094918702e7bc225aa938b2e)
2003-11-20added samr_LookupRids() and test codeAndrew Tridgell1-1/+16
(This used to be commit c32c33a791dd42676ca7fa47aae264e8d8ea8339)
2003-11-20added samr_LookupNames() and test codeAndrew Tridgell1-2/+44
(This used to be commit f8397cbc8554b721093b8ae6ac6fb26d0ee9a7cf)
2003-11-20make the echo idl match the win32 IDL againAndrew Tridgell1-1/+1
(This used to be commit 4b901bd717a48daae24d8f7738169ac3cc5ba7fa)