summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
AgeCommit message (Collapse)AuthorFilesLines
2003-12-14added auto-generation of the server side boilerplate code for eachAndrew Tridgell1-2/+2
pipe. The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and gets included in the pipe module (This used to be commit bd3dcfe5820489a838e19b244266bd9126af5eb4)
2003-12-14fixed fragmented signed connections to our rpc server over SMBAndrew Tridgell1-0/+1
(This used to be commit f5df126c254bcb96dfb42096d7247215c7e7a89a)
2003-12-13completed the linkage between the endpoint mapper and the dcerpcAndrew Tridgell1-2/+3
server endpoints. We can now successfully setup listening endpoints on high ports, then use our endpoint mapper redirect incoming clients to the right port. also greatly cleanup the rpc over tcp session handling. (This used to be commit 593bc29bbe0e46d356d001160e8a3332a88f2fa8)
2003-12-13dcerpc over tcp in the samba4 server now works to some extent. ItAndrew Tridgell1-0/+1
needs quite a bit more work to get it finished. The biggest missing feature is the lack of NTLMSSP which is needed for basic authentication over tcp (This used to be commit 9fb0f0369356909c99389e2cbc525be27c08793c)
2003-12-13rpcdump.exe now works fine against a Samba4 serverAndrew Tridgell1-2/+3
for some reason the epm_Lookup replies can't be parsed by ethereal, although w2k parses then fine as does the Samba4 NDR code. (This used to be commit 097e7ca99d947932df5674c36e628ca6b8f31d3a)
2003-12-13added the epm_Map() call.Andrew Tridgell1-0/+2
the RPC-EPMAPPER torture test now passes (This used to be commit fbdcf9ef548aefb1233cbb22a60bff3eacba996f)
2003-12-13added a basic dcerpc endpoint mapper to Samba4. Currently onlyAndrew Tridgell1-3/+4
implements the epm_Lookup() call, I'll add the other important calls soon. I was rather pleased to find that epm_Lookup() worked first time, which is particularly surprising given its complexity. This required quite a bit of new infrastructure: * a generic way of handling dcerpc policy handles in the rpc server * added type checked varients of talloc. These are much less error prone. I'd like to move to using these for nearly all uses of talloc. * added more dcerpc fault handling code, and translation from NTSTATUS to a dcerpc fault code * added data_blob_talloc_zero() for allocating an initially zero blob * added a endpoint enumeration hook in the dcerpc endpoint server operations (This used to be commit 3f85f9b782dc17417baf1ca557fcae22f5b6a83a)
2003-12-12Small cleanup of test code. Rename enum indexes to be the same nameTim Potter1-2/+2
for EnumKey and EnumValue. (This used to be commit 817a2fe2e5824e6bb9547697d27c66c0c8356181)
2003-12-12Got winreg_EnumValue working - what a mess!Tim Potter1-4/+24
(This used to be commit cc494086e796c0090a92ac36012727c67e3587d1)
2003-12-12added support for sending bind_nak replies in the rpc serverAndrew Tridgell1-1/+6
(This used to be commit 6e7c50bcd9929b6b1400b3155f55e6c9a4a730b3)
2003-12-12 * the RPC-ECHO pipe now works in smbd, as long as the data sizesAndrew Tridgell1-0/+4
don't cause fragmented pdus (I'll add fragments shortly) * change data_blob_talloc() to not zero memory when the 2nd argument is NULL. The zeroing just masks bugs, and can't even allow a DOS attack * modified pidl to ensure that [ref] arguments to the out side of functions are allocated when parsing the in side. This allows rpc backends to assume that [ref] variables are all setup. Doesn't work correctly for [ref] arrays yet * changed DLIST_ADD_END() to take the type instead of a tmp variable. This means you don't need to declare a silly tmp variable in the caller (This used to be commit 46e0a358198eeb9af1907ee2a29025d3ab23b6d1)
2003-12-07re-wrote pidl to use Parse::Yapp instead of Parse::RecDescent, ThisAndrew Tridgell2-4/+4
makes pidl about 3x faster, and also gives us much better error reporting and a more standard grammer definition that will be much easier to code in lex/yacc if we want to do so at a later date. (Parse::Yapp uses essentially the same grammer file as lex/yacc) It also means we no longer need Parse::RecDescent, which should make pidl much more portable. (This used to be commit 4bbaffeb44dca99ad8c0245beb1fddbe01557215)
2003-12-04we can't have two functions with the same nameAndrew Tridgell1-1/+1
(This used to be commit 5f1cdc4839a1ba0b18bcd4525847f9c284d181ca)
2003-12-03Updated some of the function names in the IDL.Tim Potter1-56/+57
(This used to be commit 718ee8bccc2357ffa7ea7cdec1bda6103e0fa24f)
2003-12-03My first stab at Samba4 IDL!Andrew Bartlett1-1/+11
This patch adds the samr_CreateUser2 function, which is create_user in Samba 3.0. This also adds a torture suite that checks for various valid and invalid account flags, and that they are persistant. Also, a patch by Anthony Liguori to fix the build Andrew Bartlett (This used to be commit 53e657b74572ab329d4598a85e6989547c324209)
2003-12-02added netr_LogonControl2Ex()Andrew Tridgell1-15/+15
I also added IDL for netr_DatabaseRedo() but I don't yet know how it works thats the last of the netlogon IDL ! (This used to be commit 387d8f25ff4858943d1389974127d03a58bf4c8f)
2003-12-02added netr_DatabaseSync2()Andrew Tridgell1-10/+10
(This used to be commit 0f6af0c4bde0eb3758192b74dab797b558c944a1)
2003-12-02added netr_LogonControl2() and netr_ServerAuthenticate2()Andrew Tridgell1-24/+28
(This used to be commit cc4123db4baec6a217500dc55113f89e1ea8ef61)
2003-12-02added netr_LogonControl() and netr_GetAnyDCName()Andrew Tridgell1-38/+39
(This used to be commit 17b2be4e859bd7f625214d7e7de9758b5ab5fb90)
2003-12-02added netr_GetDcName() - quite a useful callAndrew Tridgell1-5/+6
(This used to be commit 63f46b223e16a3495b4a4a48c6489f1f0d7d84c4)
2003-12-02added netr_AccountSync(), another NT_STATUS_NOT_IMPLEMENTED callAndrew Tridgell1-16/+16
according to w2k3 (This used to be commit b2ca00ebc57774000af2de6132c29db4c6daae28)
2003-12-02added netr_AccountDeltas(), which w2k3 givesAndrew Tridgell1-6/+13
"NT_STATUS_NOT_IMPLEMENTED" for (This used to be commit aaf776a1c134d7b6112932f880e09ba497e8ebcf)
2003-12-02netr_DatabaseDeltas() now works. We ask for the deltas associated withAndrew Tridgell1-20/+18
the last two sequence numbers on each database. (This used to be commit f9377c860315a8a4f380d70ff97309d3ffdb5c26)
2003-12-02 * made some field names more consistent, and worked out thatAndrew Tridgell1-11/+11
unknown1 is profile_path If we are going to use automatic backend database generation then we are going to have to move to really consistent field names in all our IDL. Thats the only way we are going to be able to automate it a lot. That will take a couple of days to do when we get to it. (This used to be commit 1732aae562927afc1ef4f30ef7787cf2d43063e2)
2003-12-02don't pollute the structure name space so muchAndrew Tridgell1-64/+64
(This used to be commit 107307b4c69000d2025f4463c72ee38172c48ec5)
2003-12-02netr_DatabaseSync() now works fully for databases 0, 1 and 2Andrew Tridgell2-2/+3
(This used to be commit c4c09e9413d3886e030e98739121bbae81f80ca5)
2003-12-02netr_DatabaseSync() now works fully for database 0Andrew Tridgell2-16/+11
(This used to be commit 360d03bb56ec7d129ec0d62a701f4bf0ff3876af)
2003-12-02initial netlogon database sync partly works - needs some IDL tweaksAndrew Tridgell1-0/+5
(This used to be commit 75ea276c147e2b4b0617eb0b77276d5fb5da2043)
2003-12-02added netr_DatabaseSync(). It doesn't work as I haven't done schannelAndrew Tridgell4-80/+85
yet, but at least the request is understood by w2k3 Also modified pidl to allow multiple branches in a union to have the same element. This is used in netlogon. (This used to be commit 983c0e9683fa9666a6e055d1776ebeef8cd2e700)
2003-12-02another big improvement in the credentials API. I think it nowAndrew Tridgell1-92/+193
actually makes sense, and as a nice side effect it matches the debug output of the w2k3 netlogon.log (This used to be commit 3c7287c24e5970e5b7447ad042848505537c7d3b)
2003-12-02 * netr_ServerPasswordSet() now works - the test suite changes theAndrew Tridgell1-13/+12
machine account password. * neater handling on value() options in IDL. The auto-print code will now display the right value so you don't need to initialise it in your C code (This used to be commit 3dd978b12bb5571fba4e1839c0f7ee60cf729aa2)
2003-12-01 * another small API change in the credentials codeAndrew Tridgell1-5/+5
* don't use static variables in the smbdes code (This used to be commit e6e09064646c347169852fa162c72fc0542c6d5c)
2003-12-01neater credentials handling in netlogon client codeAndrew Tridgell1-14/+21
(This used to be commit b7d748f499f79415b444e7cebe7d8de7186fbc94)
2003-12-01added netr_LogonSamLogon() and test codeAndrew Tridgell2-102/+102
(This used to be commit 4fa3ad3ecbfd8f8663fcdfaba9a7db481e303f2b)
2003-12-01added netr_ServerAuthenticate() and test codeAndrew Tridgell1-9/+5
I would like the netlogon test suite to eventually do a new domain join using a fake workstation name, then remove itself afterwards, but for now I'm assuming we are already joined to the domain when the testsuite runs. This means you need to use the Samba3 net command to do a join before running RPC-NETLOGON (This used to be commit 8c7a9446a0892a4f7722cced5019667f7a9fafdd)
2003-12-01added netr_ServerReqChallenge and cleaned up byte array printingAndrew Tridgell3-253/+294
(This used to be commit bb42107dccf3a384a4a5c029b4d2752e0898d7cb)
2003-12-01started adding netlogon IDL and test suiteAndrew Tridgell1-3/+628
(This used to be commit 3d64eefb464d09fb6e84d6139f801887a278cf86)
2003-11-30Added EnumPrinterDriver, GetPrinterDriver (still in progress)Tim Potter1-5/+65
(This used to be commit a818439b5915fd70b8aa3d3045f658b3f59a6bea)
2003-11-28GetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx.Tim Potter1-4/+20
(This used to be commit e8367f57356bc3da78a6217158f9d639ba4ca5fa)
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)