summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
AgeCommit message (Collapse)AuthorFilesLines
2003-11-28Add SetPrinterData, DeletePrinterData.Tim Potter1-2/+9
(This used to be commit ea534f82d0620cbda5a960e492ec2fc1702fe975)
2003-11-28the beginnings of an automated tool for working out IDL properties ofAndrew Tridgell1-0/+1
a pipe. I'm not sure how possible this will be without lots of human intervention, but its an interesting thing to try. (This used to be commit d5afe7c6a8651457da9438fcf0035c792701ac86)
2003-11-28Fix bug in EnumPrinterData test.Tim Potter1-3/+8
Implement GetPrinterData RPC. (This used to be commit 270c4fe389fb67ccbe0b9174267b40738ca43052)
2003-11-28 * added a bunch of placeholder IDL filesAndrew Tridgell11-0/+188
* allow for an interface to list its endpoints in the IDL file, so we can automatically make the server listen on the right pipes, and can scan pipes more easily (I don't take advantage of this yet, just putting the infrastructure in place) (This used to be commit c8b8480244b4ab6204403dc65e92e4317b410a84)
2003-11-28Added EnumJobs, GetJob, SetJob RPCs.Tim Potter1-3/+44
(This used to be commit a06cbbbf1fa1e873bb13bc86d14694b2af791e22)
2003-11-28 * support multiple interfaces in one IDL file in pidlAndrew Tridgell2-2/+2
* make far more generated functions static * get rid of gen_rpc, and include the client calls in ndr_*.c * added placeholder IDL for a number of intefaces (dcom, wzcsvc, browser etc) (This used to be commit a2bdf0be0119023df3c2b9ea515ed355020f2625)
2003-11-27Implemented SetForm RPC.Tim Potter1-1/+5
(This used to be commit bdb0dfc370b4deb9e7f5a381092538c3e502f191)
2003-11-27Add DeleteForm, start cleaning up tests.Tim Potter1-1/+3
(This used to be commit 10b31623fd421d341787d0769839ea5dca5ae7c0)
2003-11-27more epmapper and mgmt magicAndrew Tridgell1-4/+8
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-1/+19
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 Tridgell1-0/+6
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-27use EPMAPPER_PORT constant instead of 135Andrew Tridgell1-0/+2
(This used to be commit 953ab587dc5a625d0fb557fdcac122a3b2ed0224)
2003-11-27switched to WERROR return codes in the management IDLAndrew Tridgell1-19/+16
(This used to be commit a81f659e9e7d876b82fb7b5950b9fbfbf5478e03)
2003-11-26Implemented EnumForms and GetForm.Tim Potter1-4/+20
(This used to be commit 822750592cffb175aa7afb268bc7cb47bbab47e4)
2003-11-26added a link to opengroup PDU definitionsAndrew Tridgell1-0/+3
(This used to be commit 939d832e5eb49abf392cfee39631a157fc2168a4)
2003-11-26Add bind nak to dcerpc_payload.Tim Potter1-0/+1
(This used to be commit 0deb9179f07dead11e2fff247efe9e3d0879da58)
2003-11-26use the IDL defined NDR version numberAndrew Tridgell1-1/+1
(This used to be commit 00e0c14b76c9b001c7d7b6b18b2cb543a57fe082)
2003-11-26added auto-determination of the DCERPC over TCP port number by askingAndrew Tridgell2-1/+18
the servers endpoint mapper (This used to be commit 4abf5376b00f580eb69196e55a792cc7eb4c9880)
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell1-14/+56
* 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-25Spoolss functions return WERROR not NTSTATUS.Tim Potter1-187/+196
Start writing idl for forms RPCs. (This used to be commit 9274ef60b690c334d426dfa815fe472b2da19e2d)
2003-11-24added tests for epm_Map endpointer map callsAndrew Tridgell1-4/+4
(This used to be commit 570ad78525ffcc116842270b62ba41c86c2a018d)
2003-11-24give far more detail in the EPMAPPER resultsAndrew Tridgell1-19/+22
(This used to be commit 420301969820ffaa0a87b091c7a79372c99cb658)
2003-11-24added tests for the remaining calls on the rpc management interfaceAndrew Tridgell1-3/+17
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
2003-11-24added the dcerpc remote management interfaces as mgmt.idl, and wrote aAndrew Tridgell4-8/+81
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-1/+5
* added samr_Connect2() (This used to be commit 6b262ca37ca3fc0e3210b4379b2d9e46e1a2d336)
2003-11-23Add a strlen_m_term() function for returning the length of a stringTim Potter1-2/+2
including the termination. Using value(strlen_m((r->name)+1)*2) gives the wrong answer for the NULL string. (This used to be commit 7ae329e6630a07d29f83b6dd4572d26ab8a18c71)
2003-11-23fixed the handling of value() attributes on scalars in IDL thatAndrew Tridgell2-6/+6
reference other elements of the same structure (This used to be commit d8d17be290730670bad0fea91188d394160cb879)
2003-11-23Strings in the winreg pipe are terminated.Tim Potter1-3/+3
(This used to be commit 1f56d4cd04840b350b098e698d369cd6b047cfe4)
2003-11-23ooh, this is fun!Andrew Tridgell2-1/+124
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-22added support for enumerated types in IDL files. This makes unionsAndrew Tridgell1-4/+11
easier to work with. (This used to be commit 60be15d306e7b65efdd27df02250c0264996ccf3)
2003-11-22added support for 'const' in IDL files. This makes it easy to defineAndrew Tridgell1-8/+8
symbolic names for bitfields etc. (This used to be commit 344a6e1682cc1afab24735e73d05cf15f6eb9816)
2003-11-22 * fixed handling of relative subcontext unionsAndrew Tridgell1-19/+19
* fixed GetPrinter in spoolss after OpenPrinter (This used to be commit 4aea2d79dd6b14e0fdfafd2236849ece01839ce0)
2003-11-22dfs torture test now passesAndrew Tridgell1-7/+6
(This used to be commit 201cb6116df8ad74569d78827815855105a1ea11)
2003-11-22a fairly major upgrade to the dcerpc systemAndrew Tridgell1-5/+5
* 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-22 * you can't have two parameters with the same name (pidl doesn't enforceAndrew Tridgell1-3/+3
that currently, but will in a couple of hours when I've finished my NDR validator code) * only a pointer can be [ref] (This used to be commit 4e174564ae4e8f84053d23ac2d40a59926f7e9e3)
2003-11-22Convert all NTSTATUS return codes to WERROR.Tim Potter1-41/+107
Implement all OpenXXX calls, EnumKey, OpenKey, QueryInfoKey. Started EnumValue but it doesn't work yet. (This used to be commit 5cba48252a8b3338a296d7ec8fa8ccba43dd190e)
2003-11-22added some explanations for epmapper IDL and dom_sid2Andrew Tridgell1-0/+13
(This used to be commit 5962f1cffa9273cc06c8a3c4a112f3ce94b84dae)
2003-11-21don't ignore .h files hereAndrew Tridgell1-1/+1
(This used to be commit b1863f897ffeec551ff8b1bad91fcfeede30beef)
2003-11-21forgot to commit this, sorryAndrew Tridgell1-0/+41
(This used to be commit ff883d1cba4e998aa0a4b160d4fee118f79ca277)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell12-6/+179
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-6/+11
(This used to be commit 49f1654510f0ea7681b386296b67282791c4b319)
2003-11-21Start of winreg idl. Implement OpenHKLM, GetVersion and CloseKey.Tim Potter1-0/+206
(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 Tridgell2-5/+45
(This used to be commit f4cc593a5c7d75adaced2c33dd83c2ec741751be)
2003-11-20Todd Sabin pointed out that a couple of the values I marked as hyper_tAndrew Tridgell1-3/+10
are in fact 4 byte aligned. Create a ULONG8 type in samr for those. This type should probably be made global later. (This used to be commit e7dd116138ed21922c8578bebe0452f03221b3b7)
2003-11-20Add initial work on eventlog - doesn't quite work yet.Tim Potter1-0/+32
(This used to be commit 99fff7b1e24ee7231fa41ca9cb85382637f2b2b0)
2003-11-20added samr_QueryDisplayInfo() (only level 1 so far)Andrew Tridgell1-1/+29
(This used to be commit 8601305c8100f03ffaee4754eae12e9b332508a4)
2003-11-20extensive samr_SetUserInfo/samr_QueryUserInfo testing, withAndrew Tridgell1-5/+5
cross-checking of all settable fields (This used to be commit 3337906d52e95c127d64f81f9fc99aeb8a8d1ce6)
2003-11-20 * fixed level2 of QueryUserInfoAndrew Tridgell1-2/+1
* added per-field testing of SetUserInfo * fixed strlen_m() (This used to be commit 26238b0f8a5752bb0f611c4aa492b964e419209a)
2003-11-20started on samr_SetUserInfo()Andrew Tridgell1-3/+8
cope with the 'samrtorturetest' user already existing in the samr test (to cope with previously failed runs) (This used to be commit 47128b3d50b3481175a8b2580624316a4f7677db)