summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-11-28fixed some warningsAndrew Tridgell1-1/+1
(This used to be commit 1c2b8a93c50e3d5485732a2f06847166e883f939)
2003-11-28the beginnings of an automated tool for working out IDL properties ofAndrew Tridgell1-0/+155
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-1/+39
Implement GetPrinterData RPC. (This used to be commit 270c4fe389fb67ccbe0b9174267b40738ca43052)
2003-11-28 * added a bunch of placeholder IDL filesAndrew Tridgell2-3/+13
* 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-0/+137
(This used to be commit a06cbbbf1fa1e873bb13bc86d14694b2af791e22)
2003-11-28 * support multiple interfaces in one IDL file in pidlAndrew Tridgell1-14/+19
* 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-3/+24
(This used to be commit bdb0dfc370b4deb9e7f5a381092538c3e502f191)
2003-11-27Add DeleteForm, start cleaning up tests.Tim Potter1-20/+64
(This used to be commit 10b31623fd421d341787d0769839ea5dca5ae7c0)
2003-11-27more epmapper and mgmt magicAndrew Tridgell3-51/+64
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-0/+20
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 Tridgell2-2/+234
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-27switched to WERROR return codes in the management IDLAndrew Tridgell1-22/+28
(This used to be commit a81f659e9e7d876b82fb7b5950b9fbfbf5478e03)
2003-11-26Implemented EnumForms and GetForm.Tim Potter1-0/+106
(This used to be commit 822750592cffb175aa7afb268bc7cb47bbab47e4)
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell1-0/+8
* 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-7/+7
* 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 Tridgell1-4/+4
add epm_Map calls and support the rest of the pipes (This used to be commit 39add481582609ddb9d0b3bae45fde3226ece481)
2003-11-24added tests for epm_Map endpointer map callsAndrew Tridgell1-23/+55
(This used to be commit 570ad78525ffcc116842270b62ba41c86c2a018d)
2003-11-24give far more detail in the EPMAPPER resultsAndrew Tridgell1-9/+82
(This used to be commit 420301969820ffaa0a87b091c7a79372c99cb658)
2003-11-24added tests for the remaining calls on the rpc management interfaceAndrew Tridgell1-1/+114
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
2003-11-24added the dcerpc remote management interfaces as mgmt.idl, and wrote aAndrew Tridgell1-0/+98
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-3/+15
* added samr_Connect2() (This used to be commit 6b262ca37ca3fc0e3210b4379b2d9e46e1a2d336)
2003-11-23Modify WINREG test program to recursively enumerate keys in all knownTim Potter1-64/+47
hives. Limit the recursion depth to ensure the test doesn't run too long. (This used to be commit 152af383b8fdaa41be97356f9c55b9a5824edecf)
2003-11-23Check NT_STATUS code from dcerpc call function before checking theTim Potter1-2/+2
WERROR code. (This used to be commit b4792b7b316f8cb665b5a698f348c7c033702934)
2003-11-23Actually call right function name.Tim Potter1-1/+1
(This used to be commit 634ea437201fbf61f3157a4b0ebabfcb15507166)
2003-11-23Call enumkey for tridge.Tim Potter1-0/+4
(This used to be commit cc71bd2a903ba1f12f08758e885f1f07e61f7c86)