summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2004-04-03added IDL and test for lsa_OpenSecret()Andrew Tridgell1-1/+23
(This used to be commit dd95cd141dc63f16e14f4c9392529653084b5a2a)
2004-04-03added IDL and test suite for lsa_CreateSecret()Andrew Tridgell1-0/+33
(This used to be commit 4de08b64ddb3851e90a8dadd7d0d0991e933abf5)
2004-04-03added idl and test suite for lsa_CreateTrustedDomain()Andrew Tridgell1-1/+45
(This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f)
2004-03-31added lsaCreateAccount() and a test in the RPC-LSA test suiteAndrew Tridgell1-21/+114
also tested lsa_Delete() to delete the newly created account (This used to be commit c4d5d0e9eba6b564e2ce6885d66d644b6612d721)
2004-02-10fixed a couple of uninitialised returns spotted by valgrindAndrew Tridgell1-2/+2
(This used to be commit ccce61287de07684159e2de990773f4098e07652)
2004-02-10don't force debug in the RPC-MGMT testAndrew Tridgell1-2/+0
(This used to be commit e0eb4b3cfb75385ff7a012ca0f8fad1278c195d9)
2004-02-03- add 'print' to the DCERPC binding stringsStefan Metzmacher12-24/+0
e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel >= 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze (This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
2004-01-20check for the correct fault code when the server fails a use of aAndrew Tridgell1-3/+9
incorrect policy handle (This used to be commit 8cd6e90eb8716ba43f5940245d7be580aab4ba83)
2004-01-20added code to the RPC-SPOOLSS test that demonstrates that policyAndrew Tridgell1-0/+41
handles are not shared between open dcerpc connections, even when those connections are on the same SMB socket. I have tested this with w2k3, w2k and NT4. It seems that policy handles have a strict scope of the dcerpc connection on which they were opened. I realise that this goes against existing folk-law in the team, but it seems that the previous testing (I'm not sure who did this?) was wrong. Perhaps clients do send us policy handles from other connections, but if they do then the correct thing to do is to fail the operation with a dcerpc fault. I suspect that failing it with exactly the right dcerpc fault code is important. (This used to be commit 2ed24d29bafd9055d5782acdd595cd0f378a651a)
2004-01-19Add test to set single fields in fields_present with info21.Simo Sorce1-37/+53
(This used to be commit 2372321eedb6d446c1555ed318bd98743cabaaa0)
2004-01-17make sure we initialise r.out.handle in openeventlogAndrew Tridgell1-0/+1
(This used to be commit 6319166420ba7cd7bb3a69d88510d8e6216c7c89)
2003-12-21minor updates to make the srvsvc test compileAndrew Tridgell1-5/+5
(This used to be commit 564e505e925d67be00ca2cbe21b2b9b33a1ac0c7)
2003-12-21wkssvc test updates from metzeAndrew Tridgell1-15/+21
(This used to be commit 9d3e06f0e312c5585701aa385132f23dfb2917eb)
2003-12-19addition of samr_SetSecurity() from kaiAndrew Tridgell1-0/+17
we needed to adjust the alignment of [relative] buffers for this to work. I wonder if they are always 4 byte aligned? (This used to be commit 9cd0a0b8b976e62c6da71b7e55cba5b38483620d)
2003-12-19fixed the AddAliasMem test codeAndrew Tridgell1-13/+21
(This used to be commit abe7ffcece5fcb75b0cf5633dd5871fa3e3c1723)
2003-12-19added a bunch of alias functions in samr.idl based on work by Kai.Andrew Tridgell1-14/+327
(This used to be commit f740b02ac36780740700909da2bcdf672cb146cb)
2003-12-17fixed a bug in the acct_flags checking on CreateUser2 in the RPC-SAMR testAndrew Tridgell1-5/+5
(This used to be commit 2c9a999c5421a07ae3059595f70d5533f2040a03)
2003-12-16fixed the RPC-MGMT and RPC-SCANNER tests to work with the newAndrew Tridgell2-26/+61
dcerpc_binding_string code (This used to be commit 1fa68c18facfb6c96d5a274cfd9560cb4b2956f6)
2003-12-16a fairly large commit!Andrew Tridgell3-9/+7
This adds support for bigendian rpc in the client. I have installed SUN pcnetlink locally and am using it to test the samba4 rpc code. This allows us to easily find places where we have stuffed up the types (such as 2 uint16 versus a uint32), as testing both big-endian and little-endian easily shows which is correct. I have now used this to fix several bugs like that in the samba4 IDL. In order to make this work I also had to redefine a GUID as a true structure, not a blob. From the pcnetlink wire it is clear that it is indeed defined as a structure (the byte order changes). This required changing lots of Samba code to use a GUID as a structure. I also had to fix the if_version code in dcerpc syntax IDs, as it turns out they are a single uint32 not two uint16s. The big-endian support is a bit ugly at the moment, and breaks the layering in some places. More work is needed, especially on the server side. (This used to be commit bb1af644a5a7b188290ce36232f255da0e5d66d2)
2003-12-15fixed srvsvc DiskEnum callAndrew Tridgell1-5/+7
strangely, the output doesn't seem to contain an info level. Some programmer stuffed up the IDL :) (This used to be commit a39ee5d00341e1dbde0b38474ba4d5e980e74538)
2003-12-15patch from metze with updates to srvsvc and changes to pidl to allowAndrew Tridgell1-6/+5
for the server rpc boilerplate to correctly generate for multiple interfaces on an endpoint (This used to be commit 56143689ecf623e8a6ef5c453e6ad1ca9404411c)
2003-12-14added auto-generation of the server side boilerplate code for eachAndrew Tridgell1-4/+4
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-13added a basic dcerpc endpoint mapper to Samba4. Currently onlyAndrew Tridgell1-6/+6
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-112/+86
for EnumKey and EnumValue. (This used to be commit 817a2fe2e5824e6bb9547697d27c66c0c8356181)
2003-12-12Got winreg_EnumValue working - what a mess!Tim Potter1-16/+62
(This used to be commit cc494086e796c0090a92ac36012727c67e3587d1)
2003-12-03My first stab at Samba4 IDL!Andrew Bartlett1-3/+139
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-1/+85
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-0/+55
(This used to be commit 0f6af0c4bde0eb3758192b74dab797b558c944a1)
2003-12-02added netr_LogonControl2() and netr_ServerAuthenticate2()Andrew Tridgell1-3/+145
(This used to be commit cc4123db4baec6a217500dc55113f89e1ea8ef61)
2003-12-02added netr_LogonControl() and netr_GetAnyDCName()Andrew Tridgell1-5/+70
(This used to be commit 17b2be4e859bd7f625214d7e7de9758b5ab5fb90)
2003-12-02added netr_GetDcName() - quite a useful callAndrew Tridgell1-5/+30
(This used to be commit 63f46b223e16a3495b4a4a48c6489f1f0d7d84c4)
2003-12-02added netr_AccountSync(), another NT_STATUS_NOT_IMPLEMENTED callAndrew Tridgell1-1/+40
according to w2k3 (This used to be commit b2ca00ebc57774000af2de6132c29db4c6daae28)
2003-12-02added netr_AccountDeltas(), which w2k3 givesAndrew Tridgell1-0/+41
"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-0/+72
the last two sequence numbers on each database. (This used to be commit f9377c860315a8a4f380d70ff97309d3ffdb5c26)
2003-12-02netr_DatabaseSync() now works fully for databases 0, 1 and 2Andrew Tridgell1-1/+1
(This used to be commit c4c09e9413d3886e030e98739121bbae81f80ca5)
2003-12-02netr_DatabaseSync() now works fully for database 0Andrew Tridgell1-13/+25
(This used to be commit 360d03bb56ec7d129ec0d62a701f4bf0ff3876af)
2003-12-02initial netlogon database sync partly works - needs some IDL tweaksAndrew Tridgell1-3/+3
(This used to be commit 75ea276c147e2b4b0617eb0b77276d5fb5da2043)
2003-12-02added netr_DatabaseSync(). It doesn't work as I haven't done schannelAndrew Tridgell1-0/+44
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-9/+23
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 Tridgell3-34/+84
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-9/+9
* 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-24/+16
(This used to be commit b7d748f499f79415b444e7cebe7d8de7186fbc94)
2003-12-01added netr_LogonSamLogon() and test codeAndrew Tridgell1-7/+59
(This used to be commit 4fa3ad3ecbfd8f8663fcdfaba9a7db481e303f2b)
2003-12-01added netr_ServerAuthenticate() and test codeAndrew Tridgell1-8/+35
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 Tridgell1-0/+58
(This used to be commit bb42107dccf3a384a4a5c029b4d2752e0898d7cb)
2003-12-01started adding netlogon IDL and test suiteAndrew Tridgell1-0/+72
(This used to be commit 3d64eefb464d09fb6e84d6139f801887a278cf86)
2003-11-30 * removed a bunch of unused codeAndrew Tridgell1-14/+14
* made some functions static (This used to be commit 829b87f30d5f4cc7174b716f3354982d84af4818)
2003-11-30Added EnumPrinterDriver, GetPrinterDriver (still in progress)Tim Potter1-10/+159
(This used to be commit a818439b5915fd70b8aa3d3045f658b3f59a6bea)
2003-11-28GetPrinterDataEx, SetPrinterDataEx, DeletePrinterDataEx.Tim Potter1-0/+41
(This used to be commit e8367f57356bc3da78a6217158f9d639ba4ca5fa)
2003-11-28Add SetPrinterData, DeletePrinterData.Tim Potter1-0/+54
(This used to be commit ea534f82d0620cbda5a960e492ec2fc1702fe975)