summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r9422: Include crypto.h header.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 340955220443533cc70dcb0ef9bae4815f30e6c5)
2007-10-10r9391: Convert all the code to use struct ldb_dn to ohandle ldap like ↵Simo Sorce1-2/+2
distinguished names Provide more functions to handle DNs in this form (This used to be commit 692e35b7797e39533dd2a1c4b63d9da30f1eb5ba)
2007-10-10r9338: fixed the winreg IDL to be correct for the EnumKey and EnumValueAndrew Tridgell1-21/+26
calls. The previous IDL was just a workaround for the limitations of our older rpc infrastructure. Now that Jelmer has added much improved string support using the charset keyword we can correctly implemenent the unusual winreg string buffers. Jelmer, note the little comment I put on winreg_StringBuf() about why I couldn't use [value()] for the length field. This also fixes EnumKey() and EnumValue() to use NTTIME fields for the last_changed_time. I don't know why we were using a pair of uint32's, as it is just a NTTIME. (This used to be commit 8354b016122cc4f3cff042b3ada1de07e1614eb7)
2007-10-10r9238: Some test code to do user-unmarshalling of eventlog_Record data.Tim Potter1-0/+26
(This used to be commit d0225f10797eaeeb6d10cf753578703e144ee8dd)
2007-10-10r9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw functionTim Potter2-22/+26
names. (This used to be commit 26b191b3c9529b2dae5d004819dab46657064408)
2007-10-10r9166: This checks more of auth subsystem in the PAC test.Andrew Bartlett2-100/+30
Andrew Bartlett (This used to be commit 1fa87223eb66825ef2dd93966652fa84de6b0b2f)
2007-10-10r9156: Add IDL and test for FlushEventLog() but it always seems to returnTim Potter1-10/+40
NT_STATUS_ACCESS_DENIED. (This used to be commit f18d1f539e4fd434dfc519e45f4c356c5cd4d73a)
2007-10-10r9155: Fix ReadEventLog() test so it now works.Tim Potter1-11/+5
(This used to be commit b76d35e7e2207f4da294a7cd1b5636b954162be2)
2007-10-10r9145: Some work on eventlog since jerry is doing some in Samba3. (-:Tim Potter1-6/+33
- Convert to use lsa_String instead of eventlog_String. - Copy across some constants. - Implement idl and testcase for ClearEventLog() function (This used to be commit 352b21af3f0a84ee31d0eecaa76abf2134d044de)
2007-10-10r8939: Do an open domain in the schannel SAMR test. This should test some ofAndrew Bartlett1-0/+27
the win2k3 SP1 interactions. Andrew Bartlett (This used to be commit ebd96e68d6d7f92b781df0c43970e0dab4a30d6e)
2007-10-10r8876: check the result of AddOne and test some more valuesStefan Metzmacher1-12/+28
metze (This used to be commit 6918e9c5a3e2f9cd69569037bbdfed4e7eed94d5)
2007-10-10r8875: Rename timeval_diff to timeval_until and revert the arguments. ↵Volker Lendecke1-1/+1
timeval_diff is not strictly a subtraction function, there can't be negative timevals. Volker (This used to be commit 525d75dd24f6a8810f1ed2043d170c70b060f1f0)
2007-10-10r8854: #if 0 out the right things this time. (Sorry about the build breakage)Andrew Bartlett1-5/+3
Use "" for the no domain case. Andrew Bartlett (This used to be commit 4989ffe870408e9d9a9427b3cc79d756c94ed803)
2007-10-10r8852: fixed the buildAndrew Tridgell1-0/+2
andrew, please check (This used to be commit 0dda73add315e837defd7a705af988aca4cd4556)
2007-10-10r8846: Test yet more NTLMv2 combinations.Andrew Bartlett1-30/+134
I can't get a few of the session key values right (and these tests are #if 0'ed out), but this expands the testing. Andrew Bartlett (This used to be commit e947c8a8f2a5cb458c708e902eabfca94d24d0f3)
2007-10-10r8824: Fix indentation, and don't send 'invalid' LM password.Andrew Bartlett1-3/+7
Andrew Bartlett (This used to be commit a1c1aecc7e4688cb377ca9322238c27de8fdc69c)
2007-10-10r8823: I don't know why I added this test, it appears bogus.Andrew Bartlett1-1/+0
Andrew Bartlett (This used to be commit 640c086f8e5fe37bbd151a045d0fa20088cbda02)
2007-10-10r8811: Fix the build..Jelmer Vernooij1-0/+1
(This used to be commit fac77f5fa267da57a55e88cad8993897e80741a0)
2007-10-10r8559: Couple of (D)COM updates:Jelmer Vernooij2-5/+8
- Fixes annoying array-of-pointers bug in pidl. - No longer "inherit" alignment thru subcontexts - Use "Image Object" as example DCOM object, rather then the "My Computer" object, which is built-in and can't be accessed remotely as far as I can see (This used to be commit bd706d496405d274b68c1ee560211837a8e63009)
2007-10-10r8520: fixed a pile of warnings from the build farm gcc -Wall output onAndrew Tridgell2-4/+4
S390. This is an attempt to avoid the panic we're seeing in the automatic builds. The main fixes are: - assumptions that sizeof(size_t) == sizeof(int), mostly in printf formats - use of NULL format statements to perform dn searches. - assumption that sizeof() returns an int (This used to be commit a58ea6b3854973b694d2b1e22323ed7eb00e3a3f)
2007-10-10r8430: readd my hack to display the hashes with -d 100Stefan Metzmacher1-0/+9
metze (This used to be commit b3f01ef0df2579decbbb67586157d089f528dd13)
2007-10-10r8235: fix the buildStefan Metzmacher1-1/+1
metze (This used to be commit 5933b00461e6e7c7f0ab60d61f9be215aa68c317)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher4-41/+41
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r8171: According to Samba 3 and Ethereal, the winreg_OpenUnkown stuff isTim Potter1-16/+4
actually a uint16 * without the [string] attribute, a la the the system_name argument to samr_Connect(). Initialising the pointer to NULL is sufficient and we still pass the RPC-WINREG test against win2k3. (This used to be commit 407d962dacf7c833b36cb739e48fe97226968a34)
2007-10-10r8054: add OSVersion, OSVersionEx, DNSMachineName PrintServerDataStefan Metzmacher1-0/+3
metze (This used to be commit 47781fccbc9a4fc3867e4c3959a17765c7e4dc71)
2007-10-10r8050: - make use of more [value()] propertiesStefan Metzmacher1-9/+0
- the out subcontext's need to have a fixed size of r->in.offered, to make windows clients happy metze (This used to be commit 054e1ca434b2f81de199eeb41cb6233524fc5779)
2007-10-10r8046: - add somemore failure checks in the RPC-SPOOLSS testStefan Metzmacher1-4/+29
- test AddForm on the PrintServer object - GetForm() isn't allowed on the PrintServer object so remove NTPTR function for it - accept the dns name as servername in the spoolss server metze (This used to be commit d8c308a4653d59514915021607fe55c5f2b38749)
2007-10-10r7993: Further work on the Krb5 PAC.Andrew Bartlett1-2/+2
We now generate the PAC, and can verifiy both our own PAC and the PAC from Win2k3. This commit adds the PAC generation code, spits out the code to get the information we need from the NETLOGON server back into a auth/ helper function, and adds a number of glue functions. In the process of building the PAC generation code, some hints in the Microsoft PAC specification shed light on other parts of the code, and the updates to samr.idl and netlogon.idl come from those hints. Also in this commit: The Heimdal build package has been split up, so as to only link the KDC with smbd, not the client utils. To enable the PAC to be veified with gensec_krb5 (which isn't quite dead yet), the keyblock has been passed back to the calling layer. Andrew Bartlett (This used to be commit e2015671c2f7501f832ff402873ffe6e53b89466)
2007-10-10r7757: Add NTLMv2 support to the NT1 Session setup (ie, not SPNEGO/NTLMSSP)Andrew Bartlett1-2/+4
Session Setup code. Add a mem_ctx argument to a few of the NTLMv2 support functions, and add smb.conf options to control client NTLMv2 behaviour. Andrew Bartlett (This used to be commit 3f35cdb218a3dae08a05e77452ca9f73716ceb28)
2007-10-10r7686: Check for a type of invalid account name.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 7520879bb08d191f0ab97508f14f525886b1b48b)
2007-10-10r7685: Simply the test for session key logic, so we pass against NT4.Andrew Bartlett2-34/+191
Now, to try and figure out why this logic failed for jra... Andrew Bartlett (This used to be commit a32066a9ecf7cd82f66eb8381e07d014f5ac5eff)
2007-10-10r7684: Add a test aimed at checking we have agreement between client andAndrew Bartlett1-0/+34
server as to the CIFS session key. JRA had pain with this being wrong against NT4 (without spnego), hence this specific test. Andrew Bartlett (This used to be commit 47f433708ba38db9bf569567cc048e65f2786ebe)
2007-10-10r7657: test addone again after request timeout and destruction to ensure the ↵Andrew Tridgell1-3/+2
pipe is still OK (This used to be commit 9f7f70124fc67109bc9ace7a57490851341ad759)
2007-10-10r7656: added testing of rpc request timeouts and destructionAndrew Tridgell1-0/+62
(This used to be commit eddf41d5e4ca43073b96f96b96dbadf7b8b91df5)
2007-10-10r7650: fixed a typoAndrew Tridgell1-1/+1
(This used to be commit 331afee4ca5bc6a6f7e4fe3333846881424314fe)
2007-10-10r7642: - test NULL server_name in GetPrinterDriverDirectory() too, (same ↵Stefan Metzmacher1-2/+12
result as "") - test EnumForms() on the PrintServer (NT4 returns WERR_BADFID) (jerry: how do it get the lists of forms in the printserver gui) metze (This used to be commit fddfe1f04b3ae594e75d702aba4d17ee4d103b8e)
2007-10-10r7633: this patch started as an attempt to make the dcerpc code use a givenAndrew Tridgell6-8/+9
event_context for the socket_connect() call, so that when things that use dcerpc are running alongside anything else it doesn't block the whole process during a connect. Then of course I needed to change any code that created a dcerpc connection (such as the auth code) to also take an event context, and anything that called that and so on .... thus the size of the patch. There were 3 places where I punted: - abartlet wanted me to add a gensec_set_event_context() call instead of adding it to the gensec init calls. Andrew, my apologies for not doing this. I didn't do it as adding a new parameter allowed me to catch all the callers with the compiler. Now that its done, we could go back and use gensec_set_event_context() - the ejs code calls auth initialisation, which means it should pass in the event context from the web server. I punted on that. Needs fixing. - I used a NULL event context in dcom_get_pipe(). This is equivalent to what we did already, but should be fixed to use a callers event context. Jelmer, can you think of a clean way to do that? I also cleaned up a couple of things: - libnet_context_destroy() makes no sense. I removed it. - removed some unused vars in various places (This used to be commit 3a3025485bdb8f600ab528c0b4b4eef0c65e3fc9)
2007-10-10r7580: - add GetPrinterDriverDirectory() idl, torture test and server codeStefan Metzmacher1-5/+79
- add EnumMonitors() server code and return "Standard TCP/IP Port" - add parsing for opening Ports and Monitors with OpenPrinterEx() metze (This used to be commit 08e6de37bc293e2f000d03b51642964d92d6e95e)
2007-10-10r7574: - seperate [in] and [out] buffers and buf_sizesStefan Metzmacher1-90/+50
- use the same names as etherel (offered,needed) for the buffer sizes (and they are really independently used) metze (This used to be commit f5532a5b74e972f44ed8aa19ee9c5851a4b40f65)
2007-10-10r7528: cleaned up the QueryDisplayInfo_continue testAndrew Tridgell1-4/+2
(This used to be commit a977dcef030605d0be1b7ce2a6500b202e35eaac)
2007-10-10r7521: Remove useless loops from SAMLOGON test, which speeds it up a lot.Andrew Bartlett1-16/+17
Andrew Bartlett (This used to be commit d74b7c20b6e547dba039992f69cea31b46d92286)
2007-10-10r7507: fixed the problem with users being shown too many times in aclAndrew Tridgell1-0/+45
editors, and added a test for it. (This used to be commit 9e428881f6fc0a422ac9011d847e8f692284397a)
2007-10-10r7479: ifdef out some more stuff to fix compiler warnings.Tim Potter1-1/+3
(This used to be commit c4d10a98ff991cc48d065c4373570aedc37dccf3)
2007-10-10r7464: add newline to printfStefan Metzmacher1-7/+7
metze (This used to be commit 7123cd1116a464057bfaa0b3fcb881ee96f684cc)
2007-10-10r7401: add config option to disable the TestSleep() testStefan Metzmacher1-1/+5
torture:echo_TestSleep=no metze (This used to be commit 74bb55f3ae90871749f34f17a79eabe38d6b437a)
2007-10-10r7369: allow no entries returned by Enum*()Stefan Metzmacher1-5/+20
metze (This used to be commit 3778da9d17778cb215ac08e1dcd6ad8c0fa13dfd)
2007-10-10r7346: use StartPagePrinter(), WritePrinter() and EndPagePrinter() to print ↵Stefan Metzmacher1-0/+49
a few test pages on each printer (we don't actually print because we have paused the printer before...) metze (This used to be commit 6bccf55ab9dcdd8590684ab46c5b101e2969e7f7)
2007-10-10r7342: submit a test job for each printer and delete this jobStefan Metzmacher1-3/+55
metze (This used to be commit b71d57709733b33e553022271de4ec51f9049a66)
2007-10-10r7340: fix the buildStefan Metzmacher1-5/+9
and some more error checks metze (This used to be commit da6263d4211d85872a232349164e669c33234d6f)
2007-10-10r7333: Pause and resume each printerStefan Metzmacher1-0/+72
metze (This used to be commit 191375f41708503e62e14132f691a9b6ec149a1b)