summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc
AgeCommit message (Collapse)AuthorFilesLines
2003-11-28the beginnings of an automated tool for working out IDL properties ofAndrew Tridgell1-0/+14
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-28 * added a bunch of placeholder IDL filesAndrew Tridgell1-0/+6
* 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-27more epmapper and mgmt magicAndrew Tridgell2-1/+43
protocol 0x1f is interesting - its ncacn_http ! (This used to be commit e3d40e3da6e15407162c1d0a29d2cbe86842228e)
2003-11-27added an rpc scanner. This prints messages like this:Andrew Tridgell2-1/+4
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 Tridgell2-4/+4
(This used to be commit 953ab587dc5a625d0fb557fdcac122a3b2ed0224)
2003-11-27a couple of tidyupsAndrew Tridgell4-3/+23
* don't try to map the epmapper uuid ! * some preliminary support for alter context pdus (This used to be commit f9857e56850cabfac06534fb33ff7a7a04346a9b)
2003-11-26by default sign RPC over TCP but not RPC over SMB. I will add command line ↵Andrew Tridgell3-15/+72
control soon (This used to be commit 215852116c1fb8c0d8ef559155a3dd55346f0c31)
2003-11-26transfer syntax V2 isn't as magic as I thoughtAndrew Tridgell1-4/+2
(This used to be commit bb3bb5dc8d494afd077fa613d064767d7aad90cd)
2003-11-26use the IDL defined NDR version numberAndrew Tridgell1-1/+2
(This used to be commit 00e0c14b76c9b001c7d7b6b18b2cb543a57fe082)
2003-11-26added auto-determination of the DCERPC over TCP port number by askingAndrew Tridgell2-5/+158
the servers endpoint mapper (This used to be commit 4abf5376b00f580eb69196e55a792cc7eb4c9880)
2003-11-26fixed some memory leaks in the dcerpc use of ntlmssp signingAndrew Tridgell2-4/+27
(This used to be commit abbc9993b8f7eb9f57e079db1d0b170d0b9aa443)
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell5-53/+349
* 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 Tridgell1-0/+5
* 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 Tridgell3-4/+206
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 Tridgell3-102/+172
* fixed a uninitialised variable bug in pidl (found by valgrind) (This used to be commit 8bce61b8af6351c72c0dd84dc61b49d8aeb1fbbd)
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)