summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2003-11-24added tests for the remaining calls on the rpc management interfaceAndrew Tridgell1-33/+2
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
2003-11-24added the dcerpc remote management interfaces as mgmt.idl, and wrote aAndrew Tridgell1-2/+5
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-0/+17
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 Tridgell2-537/+111
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 Tridgell1-7/+7
* 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/+8
* 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 Tridgell2-6/+160
* 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-20moved the pidl auto-generated files out of CVSAndrew Tridgell9-6265/+0
(This used to be commit 49c72d42766a55e2833c004e721a47115000626b)
2003-11-20started on samr_SetUserInfo()Andrew Tridgell1-6/+6
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-20Added ATSVC pipe.Tim Potter1-0/+88
(This used to be commit 274058486766f7a1094918702e7bc225aa938b2e)
2003-11-20added samr_LookupRids() and test codeAndrew Tridgell1-6/+6
(This used to be commit c32c33a791dd42676ca7fa47aae264e8d8ea8339)
2003-11-20added samr_LookupNames() and test codeAndrew Tridgell1-6/+6
(This used to be commit f8397cbc8554b721093b8ae6ac6fb26d0ee9a7cf)
2003-11-20EnumPrinterData in spoolss now worksAndrew Tridgell1-0/+2
(This used to be commit af07ca7fbcb4118f2415218d0c48798119b7c6b2)
2003-11-19started to expand the echo tests to include more interesting testAndrew Tridgell1-0/+21
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 Tridgell1-0/+858
(This used to be commit 54d3cb22dc0ddc46eb114aa104e0660b3a437cb2)
2003-11-19separate the reason and result codes in a bind_ack. This is needed forAndrew Tridgell2-2/+4
interop with the opengroup dcerpc code (This used to be commit 8d9061dcd097ed7eee8d9ec531db65b1df8ac8e6)
2003-11-18added samr_CreateUser() samr_DeleteUser(). The test suite creates aAndrew Tridgell1-1/+0
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 Tridgell2-204/+204
(This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669)
2003-11-18use the auto-generated UUID, version and name rather than listing themAndrew Tridgell3-40/+23
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 Tridgell1-1/+600
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 Tridgell8-899/+2521
* add a couple more info levels to wkssvc (This used to be commit c69161bdb13745f271b0cfa9a9af349f7a95edc6)
2003-11-17added wkssvc.idl and test codeAndrew Tridgell1-0/+18
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-17security descriptors are no longer a "special" type, they are handledAndrew Tridgell1-0/+4
using the [relative] property this also fixes level3 of PrinterInfo (a relative secdesc) (This used to be commit d5a15257fdd5f6cfe2706765a7c29f623ec1c6f8)
2003-11-17call OpenPrinterEx on each printer on the server, and then callAndrew Tridgell1-30/+12
GetPrinter with all info levels on each printer (This used to be commit 136b3cfc0460315e924c3d9c8328c1850fc21fba)
2003-11-17added OpenPrinter and a test function. Note that the Samba3 structureAndrew Tridgell2-11/+12
for OpenPrinter was wrong. (This used to be commit 186ddbbf8774d0960852ea9186c8e4e6f7be7a0f)
2003-11-17* more info levels for EnumPrinterAndrew Tridgell1-10/+4
* use WERROR return type in spoolss EnumPrinter (This used to be commit 8301a6b6ad45f76a42d0fcab6347c187eee615a9)
2003-11-16added support for level1 of EnumPrinters in spoolss. This uses aAndrew Tridgell1-24/+24
number of "magic" add-ons to IDL to make it less painful, hopefully this will make IDL generation useful for horrible systems like spoolss (This used to be commit e18dba7d5a957ef82e8f91733a0bf95d579dcd7a)
2003-11-16Commit autogenerated code for EnumPrinters and ClosePrinter.Tim Potter1-8/+8
(This used to be commit 1a0271fc3402ab7bd7bb004be8f833dfb8a1724f)
2003-11-15added OpenAlias and QueryAliasInfo levels 1 to 3Andrew Tridgell1-8/+8
(This used to be commit 2ed8cfdf6662f74808df67e3e9d03cf03f765569)
2003-11-15added OpenGroup and QueryGroupInfo levels 1 to 4Andrew Tridgell1-8/+8
(This used to be commit ffe4fcaab0fe4f6e0f64fb2d57c77442aa2e1f6f)
2003-11-15added samr_OpenUser, samr_EnumDomainAliases and samr_QueryUserInfo level 1Andrew Tridgell1-12/+12
(This used to be commit e7edeec60e274c1460f7c8cc0fb4121b37e1bcd7)
2003-11-15added samr_EnumDomainGroups and samr_EnumDomainUsersAndrew Tridgell1-8/+8
(This used to be commit f8d690fb2bc0afcc8267caa4edcbeed9463594e5)
2003-11-15added samr_OpenDomain() and samr_QueryDomainInfo() level 1Andrew Tridgell1-8/+8
(This used to be commit 2d9c055c1be7187ae890e46edba74bf4fedbc9db)
2003-11-15run LookupDomain on each domain returned from EnumDomains in samrAndrew Tridgell1-3/+3
(This used to be commit 947b9f8ced486d34ee6710a921fb985ea14e2bb1)
2003-11-15added the first couple of calls from samr as IDLAndrew Tridgell1-0/+956
samr_EnumDomains() works nicely (This used to be commit 7c162eaf3bb0195f9a2da05d6acd3c8e620f08d1)
2003-11-15Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterExTim Potter1-0/+1348
works but without a devicemode. (This used to be commit 35e889cf339f4ed62d4953b4cb5da2f21cf249a2)
2003-11-14it turns out that all MS servers ignore the artifact struct_len fieldsAndrew Tridgell1-4/+4
in OpenPolicy and OpenPolicy2, so we don't in fact need the [struct_len] attribute. This makes our IDL much closer to the MS IDL. (This used to be commit f0a8f063a680b5d0a68c5ac7cccf9c9a13adfb81)
2003-11-14added the dfs_GetInfo all - all levelsAndrew Tridgell1-4/+4
(This used to be commit 638eae6bae76eba5494e75fb7f3da8b1c205f892)
2003-11-14* added levels 4, 200 and 300 to NetDfsEnum. 200 and 300 don't workAndrew Tridgell1-2/+2
properly, I'm still investigating that. * changed dcerpc fault status code to NT_STATUS_NETWORK_WRITE_FAULT, which I think is a better mapping (This used to be commit 9ad28f6ddbb777de7cac11e71c392b508c81b741)
2003-11-14we can now do a level1 NetDfsEnum()Andrew Tridgell1-0/+2
(This used to be commit f32641f73f7ff12b797378b3b533603ff1d526b5)
2003-11-13* fixed conformant arrays in structuresAndrew Tridgell3-0/+92
* expanded the rpcecho test * started adding the NETDFS pipe (This used to be commit 095ab42cbdd5c1c5ab753e2eb275742ba822c8b9)
2003-11-11automatically generate ndr_print_*() functions for every IDLAndrew Tridgell1-0/+2
structure. This allows easy debug and test tool writing without having to write functions that print every element of complex structures. (This used to be commit 81d6181172e36c6fbae0907550a29511ce708574)
2003-11-11started adding support for lsa_QueryInfoPolicyAndrew Tridgell1-0/+2
(This used to be commit 5b2d577969103ed5c633ea993d476787af14fa93)
2003-11-10added idl and test code for lsa_LookupPrivName()Andrew Tridgell1-4/+4
(This used to be commit c742227ec31cbf9b0093b5259095c9812b341d8d)
2003-11-10added IDL and test for lsa_EnumAccountRights()Andrew Tridgell1-4/+4
interestingly, win2000 doesn't return the same list of rights via lsa_EnumAccountRights() and lsa_EnumPrivsAccount() (This used to be commit 447c5f13d40d05a49b8bfa1c28c2797371ff5352)
2003-11-10added IDL and test for lsa_EnumPrivsAccount()Andrew Tridgell1-4/+4
(This used to be commit f8bbce69bf43984ddf35c22cb6a9e6ef22f8f6f4)
2003-11-09- fixed lsa_EnumTrustDomAndrew Tridgell2-4/+8
- added lsa_OpenAccount - handle STATUS_SOME_UNMAPPED (This used to be commit e5d93cf996b3e9647ef0ca45f6aab7601369936b)
2003-11-09- added the rest of the LSA calls as stubsAndrew Tridgell2-97/+605
- auto-generate the client calls with 'make idl' (This used to be commit 8e52381313fc5a603b6d7e6ff090896c772096e9)
2003-11-09converted the rpcecho pipe to use IDLAndrew Tridgell1-101/+28
(This used to be commit 1b7a7bc4641e4f0e604bc20699c094fa5f49315d)
2003-11-09use a more consistent style for the client stubsAndrew Tridgell1-74/+14
(This used to be commit 9946532f97bf8c820e8615dc6697f740144cd9d8)