summaryrefslogtreecommitdiff
path: root/source4/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2004-03-26- moved some of the base tests into torture/basic/Andrew Tridgell1-0/+1
- added a CHARSET set of tests, which determines how the server deals with some specific charset issues related to UTF-16 support. Interestingly, Samba3 already passes all but one of these tests, because our incorrect UCS-2 and UTF-8 implementations where we don't check the validity of characters actually matches what Windows does! This means that adding UTF-16 support to Samba is going to be _much_ easier than we expected. (This used to be commit c8497a42364d186f08102224d5062d176ee81f5b)
2004-03-09added the -C option to smbtortureAndrew Tridgell1-16/+79
this option takes a filename containing a list of UNC names. When supplied to a torture test that uses multiple client connections the test will distribute the load across the listed UNC names. This allows you to use NBENCH effectively against a server that has multiple IP addresses, and spread the load among them. (This used to be commit e0d9502aa20e2e9a343274cd7f12e6ef2f49c104)
2004-03-09greatly improved NBENCH netbench simulatorAndrew Tridgell1-159/+29
- more accurate request simulation using Samba4 raw client library - now checks for correct status on all requests - timelimit based benchmarking, default of 600 seconds (This used to be commit a46c009c0459658784d7d7b3b0502dc20958043a)
2004-02-21added the simple HOLDCON torture test. This is used to establishAndrew Tridgell1-0/+56
hundreds of idle connections to the server, which can be used to simulate environments with large numbers of idle connections. (This used to be commit cfce9458a22e8b6da1a10bb338b287c3eab9a1fc)
2004-02-10Convert libcli routines to return NTSTATUS instead of BOOL. Again, theTim Potter1-191/+187
only users are smbclient and smbtorture. (This used to be commit 54cb508c78e5c1faa3ade46b46b165983c880d10)
2004-02-08Convert libcli routines to use cli_tree instead of cli_state. PortTim Potter1-657/+657
smbtorture to use the new interface. Part 2 will be to eliminate cli_state from smbtorture as this is now the only place where it is used. (This used to be commit db1cc96af62ea42837d60592877fc3f93cef143b)
2004-02-03This would appear to restore smbtorture to be able to use the syntaxAndrew Bartlett1-1/+3
documented in it's self-help for RPC tests. Andrew Bartlett (This used to be commit 49b52cdbfe26dd7afe74aeb4596a4fd34806dabe)
2003-12-15allow the specification of full dcerpc endpoint binding strings on theAndrew Tridgell1-125/+10
command line. This allows you to (for example) control signing/sealing of smbtorture RPC sessions (This used to be commit a73825eb496d5924012ea926fcbac8c956fe081e)
2003-12-15switch off the default of ntlmssp on rpc on smb as some windows pipesAndrew Tridgell1-1/+1
can't handle it (I'd switched it on while experimenting, and forgot to switch it off before committing) (This used to be commit 837d8f73a9601329cec0f885df84648a2a3c196d)
2003-12-14added auto-generation of the server side boilerplate code for eachAndrew Tridgell1-0/+11
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-13add the ntlmssp calls back into smbtorture on rpc over tcp. The samba4Andrew Tridgell1-1/+1
rpc server doesn't do ntlmssp yet, so this breaks the tests, but that is the next step. (This used to be commit ebe29305af82553ef0197d1950b57f8ff8efa78b)
2003-12-13completed the linkage between the endpoint mapper and the dcerpcAndrew Tridgell1-1/+1
server endpoints. We can now successfully setup listening endpoints on high ports, then use our endpoint mapper redirect incoming clients to the right port. also greatly cleanup the rpc over tcp session handling. (This used to be commit 593bc29bbe0e46d356d001160e8a3332a88f2fa8)
2003-12-04* patch based on work by Jim Myers to unify the ioctl handling to beAndrew Tridgell1-6/+5
more like the other major SMB functions * added SMBntrename code (This used to be commit f2d3dc9893fa0e089c407fa16ce9ff13587e70cd)
2003-12-01started adding netlogon IDL and test suiteAndrew Tridgell1-0/+1
(This used to be commit 3d64eefb464d09fb6e84d6139f801887a278cf86)
2003-11-28the beginnings of an automated tool for working out IDL properties ofAndrew Tridgell1-0/+1
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-28added auto-generation of the IDL interface tables. This makes two lessAndrew Tridgell1-0/+4
places that need to be edited when someone adds a new IDL file. (This used to be commit ccd9ddeed679baa6cbb05ac728b381b50420e00f)
2003-11-27added an rpc scanner. This prints messages like this:Andrew Tridgell1-0/+5
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-26by default sign RPC over TCP but not RPC over SMB. I will add command line ↵Andrew Tridgell1-4/+5
control soon (This used to be commit 215852116c1fb8c0d8ef559155a3dd55346f0c31)
2003-11-26show an error when the epmapper fails to find an interfaceAndrew Tridgell1-0/+2
(This used to be commit 448dead14dc9db2c429c78f0eed303c4513f5a47)
2003-11-26added auto-determination of the DCERPC over TCP port number by askingAndrew Tridgell1-7/+13
the servers endpoint mapper (This used to be commit 4abf5376b00f580eb69196e55a792cc7eb4c9880)
2003-11-26signed DCERPC over TCP now works !Andrew Tridgell1-3/+30
* 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-29/+65
* 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-0/+24
add epm_Map calls and support the rest of the pipes (This used to be commit 39add481582609ddb9d0b3bae45fde3226ece481)
2003-11-24 * prepared the dcerpc subsystem for adding the RPC over TCP transportAndrew Tridgell1-15/+3
* fixed a uninitialised variable bug in pidl (found by valgrind) (This used to be commit 8bce61b8af6351c72c0dd84dc61b49d8aeb1fbbd)
2003-11-24added the dcerpc remote management interfaces as mgmt.idl, and wrote aAndrew Tridgell1-0/+1
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-22 * enable RPC/NDR validation in all smbtorture codeAndrew Tridgell1-0/+3
* allow us to distinguish between null arrays and zero length arrays, by making the allocation size a minimum of 1 on array pull (This used to be commit 11c0fe548ecfb03424f51e1354b86d4692e8f07c)
2003-11-21fix a smbtorture memory leakAndrew Tridgell1-7/+2
(This used to be commit 0eff7c519b87d9c69da61a7dfeecd0483f1ad7e9)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell1-0/+1
interface. We now support an arbitrary set of flags to each parser, and these can be used to control the string types. I have provided some common IDL string types in librpc/idl/idl_types.h which needs to be included in every IDL file. * added IDL for the endpoint mapper. Added a test suite that enumerates all endpoints on the server. (This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
2003-11-21Start of winreg idl. Implement OpenHKLM, GetVersion and CloseKey.Tim Potter1-0/+1
(This used to be commit c8b87f5feb7756c7a5b38135517788c9f4ade36f)
2003-11-20Add initial work on eventlog - doesn't quite work yet.Tim Potter1-0/+1
(This used to be commit 99fff7b1e24ee7231fa41ca9cb85382637f2b2b0)
2003-11-20Added ATSVC pipe.Tim Potter1-0/+1
(This used to be commit 274058486766f7a1094918702e7bc225aa938b2e)
2003-11-19srvsvc IDL and test code from metze. Thanks!Andrew Tridgell1-0/+1
(This used to be commit 54d3cb22dc0ddc46eb114aa104e0660b3a437cb2)
2003-11-18use the auto-generated UUID, version and name rather than listing themAndrew Tridgell1-4/+7
in the dcerpc core code (This used to be commit 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)
2003-11-17added wkssvc.idl and test codeAndrew Tridgell1-0/+1
I think this is our first complete pipe for Samba4 (albeit a simple one). Of course, there may be lots more info levels that Samba3 didn't do. Time to explore :) (This used to be commit 3305226140793f39af827b63c270486c1966718e)
2003-11-15added the first couple of calls from samr as IDLAndrew Tridgell1-0/+1
samr_EnumDomains() works nicely (This used to be commit 7c162eaf3bb0195f9a2da05d6acd3c8e620f08d1)
2003-11-15Skeleton IDL for SPOOLSS pipe. For this inital version, only OpenPrinterExTim Potter1-0/+1
works but without a devicemode. (This used to be commit 35e889cf339f4ed62d4953b4cb5da2f21cf249a2)
2003-11-13* fixed conformant arrays in structuresAndrew Tridgell1-0/+1
* expanded the rpcecho test * started adding the NETDFS pipe (This used to be commit 095ab42cbdd5c1c5ab753e2eb275742ba822c8b9)
2003-11-04yipee! we can now do lsaOpenPolicy() via the new interfaces, withoutAndrew Tridgell1-47/+5
using any of the old lsa code (This used to be commit f5bd301ff7befa223a1d761a37ae8f7ce7f1fcd1)
2003-11-04added support for fragmented sendsAndrew Tridgell1-1/+2
(This used to be commit f51a216136b7cc7d4d07d4acb80e0a710d82841a)
2003-11-03started adding RPC-ECHO torture casesAndrew Tridgell1-0/+1
(This used to be commit 8cff335dab438aa2dbcca91a717e14ef5a8288dd)
2003-11-03a major revamp of the low level dcerpc code in samba4, We can now do aAndrew Tridgell1-82/+84
successful LSA OpenPolicy using smbtorture (This used to be commit e925c315f55905060fcca1b188ae1f7e40baf514)
2003-10-29much better synchronised startup in smbtorture - this allows us to runAndrew Tridgell1-2/+8
massive NBENCH runs without killing the client (This used to be commit 3f20041bb930ff1e4d9c0709008174faa5f690d5)
2003-10-28Add RPC-OPEN test as an example for using the new dcerpc client code.Tim Potter1-0/+79
It's a bit icky so I suspect it won't last long. (-: (This used to be commit bc17a4a8ade1b003acb5681471568a94e81aad08)
2003-10-10fixed snprintf.c for systems that have only some of the *printf() family of ↵Andrew Tridgell1-2/+2
functions cope with servers that return bogus (too large) values in max_xmit cope with a couple more error conditions in RAW-SFILEINFO better startup time heuristics in NBENCH (This used to be commit 89f7261ba589e5760b3cf9c3594eab9d7198dd7e)
2003-09-29better child synchronisation at startup in NBENCHAndrew Tridgell1-8/+18
(This used to be commit 4559208c80e0368ff677bfe0e6cde0abb8b9b2c0)
2003-08-15more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell1-8/+2
(This used to be commit 02d068ba7d81d6db25122144981c63f74ad44025)
2003-08-15more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell1-1/+1
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
2003-08-13- added a raw smb scannerAndrew Tridgell1-0/+1
- its not a root_fid in ntrename (This used to be commit 74be55efdc77d4ba7e70d0554cbd72472522abff)
2003-08-13- added SMBntrename test suiteAndrew Tridgell1-22/+24
- allow username of form DOMAIN\username or DOMAIN/username - added ntrename to gentest (This used to be commit 2b464472c17b791eb5b117f89d5aaea2bf60f6ad)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+4183
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)