summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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 Tridgell14-20/+21
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-10r7628: Unused variables.Tim Potter1-4/+0
(This used to be commit b2529307aaf1e47ce74632b4e516494ac71fe8d1)
2007-10-10r7626: a new ldap client library. Main features are:Andrew Tridgell2-93/+81
- hooked into events system, so requests can be truly async and won't interfere with other processing happening at the same time - uses NTSTATUS codes for errors (previously errors were mostly ignored). In a similar fashion to the DOS error handling, I have reserved a range of the NTSTATUS code 32 bit space for LDAP error codes, so a function can return a LDAP error code in a NTSTATUS - much cleaner packet handling (This used to be commit 2e3c660b2fc20e046d82bf1cc296422b6e7dfad0)
2007-10-10r7593: simplified the memory management in the ldap code. Having a mem_ctxAndrew Tridgell1-4/+4
element in a structure is not necessary any more. (This used to be commit 912d0427f52eac811b27bf7e385b0642f7dc7f53)
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-10r7530: Simply calling convention of lp_load().Andrew Bartlett5-5/+5
This always loads all the services, as we now don't have an easy way to split out smbd. Andrew Bartlett (This used to be commit 990e061939c76b559c4f5914c5fc6ca1b13e19dd)
2007-10-10r7528: cleaned up the QueryDisplayInfo_continue testAndrew Tridgell1-4/+2
(This used to be commit a977dcef030605d0be1b7ce2a6500b202e35eaac)
2007-10-10r7527: - added a ldb_search_bytree() interface, which takes a ldb_parse_treeAndrew Tridgell1-1/+2
instead of a search expression. This allows our ldap server to pass its ASN.1 parsed search expressions straight to ldb, instead of going via strings. - updated all the ldb modules code to handle the new interface - got rid of the separate ldb_parse.h now that the ldb_parse structures are exposed externally - moved to C99 structure initialisation in ldb - switched ldap server to using ldb_search_bytree() (This used to be commit 96620ab2ee5d440bbbc51c1bc0cad9977770f897)
2007-10-10r7525: Unify lp_load(), load_interfaces and logging setup into popt().Andrew Bartlett2-9/+0
There is now a new --debug-stderr option to enable debug to STDERR. popt isn't perfect, but the callbacks are used in all the main Samba binaries, and should be used in the rest. This avoids duplicated code, and ensures every binary is setup correctly. This also ensures the setup happens early enough to have -s function, and have a correct impact on the credentials code. (Fixing a bug that frustrated tridge earlier today). The only 'subtle' aspect of all this is that I'm pretty sure that the SAMBA_COMMON popt code must be above the CREDENTIALS code, in the popt tables. Andrew Bartlett (This used to be commit 50f3c2b3a22971f40e0d3a88127b5120bfc47591)
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-10r7494: added --maximum-runtime to smbtorture as well. I have seen smbtortureAndrew Tridgell1-0/+19
get stuck waiting on no file descriptors, with no timeout, so it sits forever. I need to fix that bug separately, but to prevent build farm machines being totally stuck, this timeout will be used. (This used to be commit 5cccf0a770e0c1069f940fa8f4853f64327dc90c)
2007-10-10r7491: libnet functions used in tests have different names now.Rafal Szczesniak3-24/+24
rafal (This used to be commit d54bf09701b1085451479a32569849998c53c811)
2007-10-10r7487: check both files before and after setting the attribs on file1Stefan Metzmacher1-0/+7
metze (This used to be commit 376c0560e0cb453fa8a378ff2983b34310956ae8)
2007-10-10r7482: Rename smbcli_send_tconX() to smbcli_tconX() so as not to get itTim Potter1-2/+2
confused with an async function. (This used to be commit 340ad67cada15329051c205c5b094ad641718c72)
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-10r7431: this should fix the bug that mkaplan and I noticed which is thatAndrew Tridgell1-0/+8
BENCH-NBENCH sometimes incorrectly reports that it failed. (This used to be commit 167c29bec6f28e58b5d36325b4285748a47adc58)
2007-10-10r7426: add an option to disable progress outputStefan Metzmacher1-2/+6
torture:progress=no metze (This used to be commit 820e5a1270d8bd308f03fc96161396fb4b95da61)
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-10r7384: I've forgotten to commit test source.Rafal Szczesniak1-0/+131
Fix the build and get some sleep... rafal (This used to be commit 966d148ecaa66987832df6dc8da4c53bfb04d18d)
2007-10-10r7383: Add CreateUser test to torture suite.Rafal Szczesniak2-1/+3
rafal (This used to be commit bac24d9774f6f9298278a1dd9ab7718d8ab6c87c)
2007-10-10r7369: allow no entries returned by Enum*()Stefan Metzmacher1-5/+20
metze (This used to be commit 3778da9d17778cb215ac08e1dcd6ad8c0fa13dfd)
2007-10-10r7365: Remove unused variables.Tim Potter1-2/+0
(This used to be commit aa3dd5e8cf21d3502e10686ce94c802ebaa41ee8)
2007-10-10r7358: make the irpc test use two messaging contexts, not one, so it betterAndrew Tridgell1-10/+15
matches the LOCAL-MESSAGING test (This used to be commit 5883ce16d0b98c9c23ee60fe6089e0adf2ce8d15)
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-10r7325: Add composite domain open test.Rafal Szczesniak2-1/+3
rafal (This used to be commit 2614aa69341f21fc02a9b08fc1657364f78aafbd)
2007-10-10r7324: Torture test for composite domain open function.Rafal Szczesniak1-0/+116
rafal (This used to be commit 482ff6a78078b62041ba69947048ed96dee13144)
2007-10-10r7321: add nbtd statistics serving over irpcAndrew Tridgell1-1/+1
(This used to be commit 4c0ed7328b14969ea34790b0e80fa714c44ccc5f)
2007-10-10r7295: added an irpc benchmark. It gets about 16k messages/sec on my laptop,Andrew Tridgell1-3/+73
compared to about 20k messages/sec for the raw messaging layer. I think that is quite acceptable given the extra functionality. (This used to be commit a05d38d1d91f1f54d3e3794a596b468992594852)
2007-10-10r7294: implemented the irpc messaging system. This is the core of theAndrew Tridgell4-1/+95
management system I proposed on samba-technical a couple of days ago. Essentially it is a very lightweight way for any code in Samba to make IDL based rpc calls to anywhere else in the code, without the client or server having to go to the trouble of setting up a full rpc service. It can be used with any of our existing IDL, but I expect it will mostly be used for a new set of Samba specific management calls. The LOCAL-IRPC torture test demonstrates how it can be used by calling the echo_AddOne() call over this transport. (This used to be commit 3d589a09954eb8b318f567e1150b0c27412fb942)
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-10r7180: Missed fixing the shutdown for 1 process...Jeremy Allison1-1/+6
Jeremy. (This used to be commit 997e1405cbd4535e18c4729c77ec5de4237f78d7)
2007-10-10r7178: If we're using one process in NETBENCH simultion only open oneJeremy Allison1-5/+14
connection to the server. Makes valgrind/cachegrind on the server easier. Jeremy. (This used to be commit fba9462591864a4efcfae653e1cef81f08299f92)
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-10r7117: Move more manpages to the source repositoryJelmer Vernooij4-0/+626
(This used to be commit b00355bf0ce241a1223dbdbb2f3b5059a2bb4204)
2007-10-10r6975: Test opening filenames with control characters in failsJeremy Allison1-0/+26
with INVALID_NAME. Jeremy. (This used to be commit ec72d7d614caf9504d98c96c86906ed598f8be78)
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-10r6951: Fix all calls to setup_logging() that use 'True' as a second argument.Tim Potter1-1/+1
In Samba4 this is now an enum. Possibly by accident, True just happens to map to the right value in this case. (-: (This used to be commit affacc539864435cbc749a4c1a6b848c61b7182b)
2007-10-10r6933: Add a couple of helper functions for creating nbt names.Tim Potter9-34/+11
(This used to be commit b896daf11c3efb1b3ca939575da9dab82b395777)
2007-10-10r6907: Unixinfo for samba4, not activated by default.Volker Lendecke3-1/+94
Volker (This used to be commit 81ddffde369c5b5e91bc130510f43c6841a789c4)
2007-10-10r6875: added a BENCH-CLDAP test. Speed of the cldap server isn't all that ↵Andrew Tridgell3-1/+132
important, but it does help find memory leaks (and in fact, there was one, fixed in next commit) (This used to be commit ab19e38c236366f2a93ea1f44911c56519779c9d)