summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r7329: test some more PrinterData valuesStefan Metzmacher1-2/+9
metze (This used to be commit ad35bfb2250c97571334ab0e9b32b3080cba2e7f)
2007-10-10r7328: fix GetPrinterData and SetPrinterData, with zero length subcontextsStefan Metzmacher1-4/+7
metze (This used to be commit 73d597bacf83492ed3da2307dd6785548b903b39)
2007-10-10r7195: - Fix echo pipeJelmer Vernooij1-6/+3
- Don't allocate strings - Give higher preference to the [out] part of variables when they are being used by another [out] variable. Also make sure that [in] variables never use [out] variables (i.e. switch_is() on an [in] variable can no longer use an [out] variable). (This used to be commit 837c83d77a2d1990419c4f3e343616daf8da5799)
2007-10-10r7159: Improve the messages from pidl's validator module.Jelmer Vernooij1-2/+2
Change the IDL file for the echo interface to match the one we use for Windows. The only thing different between the two files currently is the names of the scalar types and the handling of strings. (This used to be commit b264c61061d222347919837600adf809fbadfb13)
2007-10-10r7120: make use of the new 'noopnum' property and get rid of handwrittenStefan Metzmacher1-18/+18
parsing code for the spoolss_Enum* functions, there still same handwritten code needed but just to stack the autogenerated code into the correct way metze (This used to be commit 155d18e8b78afebfb4a84e43e3b4d8fc6c9cc4e2)
2007-10-10r6961: Add RPC-WINREG to list of win2k3 testsJelmer Vernooij1-17/+26
Fix bug in test for QueryMultipleValues Ignore errors from CreateKey() and GetKeySecurity() for now (This used to be commit 7b6b8d6b34de01d2585b23ddb994d8e7403a21f6)
2007-10-10r6933: Add a couple of helper functions for creating nbt names.Tim Potter1-3/+1
(This used to be commit b896daf11c3efb1b3ca939575da9dab82b395777)
2007-10-10r6907: Unixinfo for samba4, not activated by default.Volker Lendecke1-0/+91
Volker (This used to be commit 81ddffde369c5b5e91bc130510f43c6841a789c4)
2007-10-10r6795: Make some functions static and remove some unused ones.Jelmer Vernooij1-3/+3
(This used to be commit 46509eb89980bfe6dabd71264d570ea356ee5a22)
2007-10-10r6793: Move auth_sam to use the dnsDomain rather than theAndrew Bartlett1-0/+6
soon-to-be-depricated 'realm'. Add torture test for this behaviour. Andrew Bartlet (This used to be commit 6b9020661a13fd5ec6c5d1e21344d9f654978987)
2007-10-10r6603: More work on the samdump puzzle. This implements a function pointerAndrew Bartlett1-1/+1
callback interface, so we can start dumping into more than just stdout soon. Also use the enums instead of uint32 where possible and valid. Andrew Bartlett (This used to be commit f0c67a4a24dbd7fc32fc864d61a21eeee587178e)
2007-10-10r6582: Remove the hack that metze needed because Samba4 didn't have a samdumpAndrew Bartlett1-9/+0
command. Andrew Bartlett (This used to be commit adb5a3093ea3ab82e01f488ea780106fee98733b)
2007-10-10r6565: Cludge, cludge, cludge...Andrew Bartlett3-11/+27
We need to pass the 'secure channel type' to the NETLOGON layer, which must match the account type. (Yes, jelmer objects to this inclusion of the kitchen sink ;-) Andrew Bartlett (This used to be commit 8ee208a926d2b15fdc42753b1f9ee586564c6248)
2007-10-10r6556: added BENCH-RPC test, useful for simple rpc load testingAndrew Tridgell1-0/+120
(This used to be commit d1e0b7a2e3078c9cc1baff2fd17222ebae94ada7)
2007-10-10r6544: Use common structures between SAMR, NETLGON and the Krb5 PAC.Andrew Bartlett2-2/+47
Fill out the group list for the SamLogon reply, so clients get the supplementary groups. Andrew Bartlett (This used to be commit d9c31e60a72c345e3a23a7eb742906bcfc18721c)
2007-10-10r6524: Fix the error we print when the RPC-ECHO test fails.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 4fc2a056cd38de7b3e2bc972958b5c104ba57ba7)
2007-10-10r6523: Another string that isn't filled in. I wonder why this is, but forAndrew Bartlett1-1/+4
now don't fail the test. Andrew Bartlett (This used to be commit 437aabf15ef7c5eead4bec45eb7e10a77f392b84)
2007-10-10r6451: Ensure we correctly initialise the credentials structure in the ↵Andrew Bartlett1-2/+3
schannel test. Andrew Bartlett (This used to be commit 7e554e31d93c6f0c3968dfcb774b3135573d97b1)
2007-10-10r6325: Rename aliasname -> alias_name in CreateDomAlias function.Tim Potter1-4/+4
(This used to be commit 63dfa9b80649928baf72687381fcfb6dd4d20032)
2007-10-10r6321: added IDL and test suite for NBT dgram 'sam logon' request (sent byAndrew Tridgell1-0/+11
clients when a user tries to login) (This used to be commit 08ded62156b387457bc56b5910e1ddc813b375bd)
2007-10-10r6286: Add back metze's test of setting a trust password to ''. I removedAndrew Bartlett1-5/+33
this because I don't want our torture suite to leave behind accounts with known passwords if it is stopped in the wrong place. It is now run behind the -X (dangerous) wrapper. Andrew Bartlett (This used to be commit 057a81d81ed8dfaf323be118e32df2cf1c92cc09)