summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
AgeCommit message (Collapse)AuthorFilesLines
2003-11-26Implemented EnumForms and GetForm.Tim Potter1-0/+17
(This used to be commit 822750592cffb175aa7afb268bc7cb47bbab47e4)
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell2-77/+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-24added tests for epm_Map endpointer map callsAndrew Tridgell1-0/+3
(This used to be commit 570ad78525ffcc116842270b62ba41c86c2a018d)
2003-11-24added tests for the remaining calls on the rpc management interfaceAndrew Tridgell1-0/+32
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
2003-11-24added the dcerpc remote management interfaces as mgmt.idl, and wrote aAndrew Tridgell3-6/+38
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-23added a tool called 'ndrdump' that allows you to dump NDR dataAndrew Tridgell1-1/+1
according to the current IDL taking the data from a file. In combination with a little hack to ethereal to extract data this is a quite powerful IDL development tool. (This used to be commit 229a325c3cf0d4dc1e910ed32e1d7391040aeba1)
2003-11-23ooh, this is fun!Andrew Tridgell3-5/+75
I have recoded the core dcerpc packet structures (all the PDUs etc) in terms of IDL, which means we now use pidl to generate all the code for handling the most basic dcerpc packets. This is not normally possible as it isn't completely valid NDR, but pidl has a number of extensions that make it quite easy. This also means we get the server side dcerpc marshalling/unmarshalling code for free. (This used to be commit 92bcad02587c3c1b31b523ee9fa46658a6cef9ff)
2003-11-22 * fixed null terminated string handlingAndrew Tridgell2-3/+8
* fixed nested relative offsets in push functions the spoolss torture test now passes! (This used to be commit 60ced76160e4f4e2b511ebbeec31130c8ebcdd22)
2003-11-22 * fixed NDR flag inheritance across push subcontextsAndrew Tridgell1-0/+3
* 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-22a fairly major upgrade to the dcerpc systemAndrew Tridgell4-28/+244
* 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-22added some explanations for epmapper IDL and dom_sid2Andrew Tridgell1-1/+11
(This used to be commit 5962f1cffa9273cc06c8a3c4a112f3ce94b84dae)
2003-11-21cleaner handling of relative pointers to stringsAndrew Tridgell1-3/+3
(This used to be commit 4022e710755a61a3439f739a78fa6965b9b7788e)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell3-240/+270
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-21Start of winreg idl. Implement OpenHKLM, GetVersion and CloseKey.Tim Potter1-0/+1
(This used to be commit c8b87f5feb7756c7a5b38135517788c9f4ade36f)
2003-11-21avoid calling the print routines completely if debug level < 2Andrew Tridgell1-6/+7
(This used to be commit 63b9d2803c9e5b44680a72b127f6a58eb44a3c60)
2003-11-21only display really verbose packet dumps when smbtorture is run atAndrew Tridgell1-2/+6
debug level 2 or above. This is more useful for checking that something hasn't broken without swamping yourself with output. (This used to be commit 53ff3a572a23c2f45c5d503255bc6b535ca99134)
2003-11-21added 4 more levels to samr_QueryDisplayInfo()Andrew Tridgell2-46/+44
(This used to be commit f4cc593a5c7d75adaced2c33dd83c2ec741751be)
2003-11-20Add initial work on eventlog - doesn't quite work yet.Tim Potter1-0/+1
(This used to be commit 99fff7b1e24ee7231fa41ca9cb85382637f2b2b0)
2003-11-20* fixed libndr.h headerAndrew Tridgell2-33/+9
* "make clean" now removed the generated files (This used to be commit 683259a4dd30861ed24e8e5df918c8725ae13800)
2003-11-20moved the pidl auto-generated files out of CVSAndrew Tridgell18-27735/+0
(This used to be commit 49c72d42766a55e2833c004e721a47115000626b)
2003-11-20extensive samr_SetUserInfo/samr_QueryUserInfo testing, withAndrew Tridgell2-20/+20
cross-checking of all settable fields (This used to be commit 3337906d52e95c127d64f81f9fc99aeb8a8d1ce6)
2003-11-20 * fixed level2 of QueryUserInfoAndrew Tridgell10-8/+124
* added per-field testing of SetUserInfo * fixed strlen_m() (This used to be commit 26238b0f8a5752bb0f611c4aa492b964e419209a)
2003-11-20started on samr_SetUserInfo()Andrew Tridgell5-42/+589
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 srvsvc_NetShareEnumAll()Andrew Tridgell2-143/+20
(This used to be commit ab4056e25ccfde5136ff3a1cd5d1efa78f1eee1b)
2003-11-20Add a 1004 level for srvsvc.Richard Sharpe2-0/+159
(This used to be commit 9810e6f180564247dee584d197180d394b208c24)
2003-11-20Added ATSVC pipe.Tim Potter3-0/+520
(This used to be commit 274058486766f7a1094918702e7bc225aa938b2e)
2003-11-20added samr_LookupRids() and test codeAndrew Tridgell2-8/+84
(This used to be commit c32c33a791dd42676ca7fa47aae264e8d8ea8339)
2003-11-20added samr_LookupNames() and test codeAndrew Tridgell7-34/+66
(This used to be commit f8397cbc8554b721093b8ae6ac6fb26d0ee9a7cf)
2003-11-20make the echo idl match the win32 IDL againAndrew Tridgell2-5/+5
(This used to be commit 4b901bd717a48daae24d8f7738169ac3cc5ba7fa)
2003-11-20EnumPrinterData in spoolss now worksAndrew Tridgell3-3/+69
(This used to be commit af07ca7fbcb4118f2415218d0c48798119b7c6b2)
2003-11-20 * changed to midl syntax using [case(x)] instead of case(x)Andrew Tridgell4-235/+23
* use empty defaults instead of a dummy empty structure (This used to be commit 555a340d3c0697b147799bc0a6615e01e196daf6)
2003-11-19fixed wkssvc idl and test code for TransportEnumAndrew Tridgell2-72/+19
(This used to be commit 42639a8f66e8d4241b24935772552f235f863096)
2003-11-19switched to a new way of handling unions, so that we can handleAndrew Tridgell13-873/+310
alignment correctly for unions that have non-uint16 discriminants fixed the union handling in srvsvc.idl. (metze, please take a look at the changes, your IDL did match what was one the wire in most cases, but isn't the way IDL is usually coded) (This used to be commit 7b5d0287298e8505e0ec7b22d75d9f9a8a610031)
2003-11-19started to expand the echo tests to include more interesting testAndrew Tridgell2-24/+333
cases. We fail one of the alignment tests. (This used to be commit 5bb21e57b844e98cc8f1dc264bc45097c08329e3)
2003-11-19srvsvc IDL and test code from metze. Thanks!Andrew Tridgell3-0/+6940
(This used to be commit 54d3cb22dc0ddc46eb114aa104e0660b3a437cb2)
2003-11-19after discussions with lukeh, I think we found a alignment bug in oldAndrew Tridgell4-23/+111
versions of midl, as used to build LSA. Work around it here. (This used to be commit b3bd2bf10badd60d7c4952c6e1687568b413ee47)
2003-11-19removed an unused structureAndrew Tridgell2-10/+0
(This used to be commit 005614ef787d85499a3d970bce08549de0c2caab)
2003-11-19change to AuditEventsInfo struct from lukehAndrew Tridgell2-30/+14
(This used to be commit 670c0cbe034e1e2ac5aed751b6c4fbd925fe3221)
2003-11-19fixed country code field in samr_UserInfo5Andrew Tridgell2-3/+6
(This used to be commit d194247b1bac03fbe3fd8226b897fa6886c6ca4c)
2003-11-19possibly better handling of NULL secdesc (thanks to lukeh)Andrew Tridgell2-25/+50
(This used to be commit a1230f1b4b0b06d08bfe7c8a7e4863357db1ca5a)
2003-11-18added another wkssvc info levelAndrew Tridgell2-0/+153
(This used to be commit fb0aa83a2b27699bf47e1ade413b7f4738b5fa79)
2003-11-18added samr_CreateUser() samr_DeleteUser(). The test suite creates aAndrew Tridgell3-108/+23
test user called "samrtorturetest" and then deletes it. The next step is to do all possible user operations on that temporary user. (This used to be commit 41fc922954bd8ec461a79a22cc903e63902c7401)
2003-11-18changed wks to wkssvc (suggestion from metze). Started adding samr_CreateUser().Andrew Tridgell4-342/+545
(This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669)
2003-11-18added samr_QuerySecurity() call that displays the ACL for any handle.Andrew Tridgell2-0/+43
(This used to be commit 5bbeaaa3d13c838d014e7689b0fcf7374c8c7f57)
2003-11-18use the auto-generated UUID, version and name rather than listing themAndrew Tridgell7-253/+291
in the dcerpc core code (This used to be commit 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)
2003-11-18fill in skeletons for the rest of the function calls in wkssvc (basedAndrew Tridgell2-28/+1639
on function names in ethereal) implement TransportEnum - quite a cute call, you can ask for the workstations list of network transports, including its ethernet address. (This used to be commit 62d7e9819c95c906d1094f711bc60cf58def30f6)
2003-11-18* use the new auto-generated debug code method.Andrew Tridgell7-22/+468
* add a couple more info levels to wkssvc (This used to be commit c69161bdb13745f271b0cfa9a9af349f7a95edc6)
2003-11-17added wkssvc.idl and test codeAndrew Tridgell3-0/+191
I think this is our first complete pipe for Samba4 (albeit a simple one). Of course, there may be lots more info levels that Samba3 didn't do. Time to explore :) (This used to be commit 3305226140793f39af827b63c270486c1966718e)
2003-11-17 * add another WERR err codeAndrew Tridgell9-1/+4623
* use the top-level function argument printing to show more detail in RPC-* tests (This used to be commit 33bb8785625b1845750f28f2d810e7096afe9f8e)
2003-11-17use [subcontext] to make GetPrinter a bit easier in smbtortureAndrew Tridgell5-249/+22
(This used to be commit a5140985d8f57695b4165c72af217092da6fae5f)