summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r128: Another registry update. Changes:Jelmer Vernooij1-20/+77
- Start with the LDB backend - The API is now more windows-like, which should make it easier to use in rpc_server - Added a GTK+ front-end - Added some more IDL More updates will follow, especially in the RPC field.. (This used to be commit 3adffa021779b26047a20f16a3c0b53d74751560)
2007-10-10r101: added lsa_SetSecret() and lsa_QuerySecret()Andrew Tridgell1-70/+80
this required some crypto infrastructure and some sid utilities (This used to be commit 37d0efa9c2af8532536bea88412f0dd3ed39ecfc)
2007-10-10r62: Fix the buildJelmer Vernooij1-3/+6
(This used to be commit 1396db85372af1824592ef66f963603e3f35803c)
2007-10-10r61: - Implement first call in the winreg rpc serverJelmer Vernooij1-1/+22
- Add some initial implementation of the ldb backend - More checks in the winreg torture test (This used to be commit ae2b63b6f1821bc4f693cb8e2a5f78718c483c24)
2007-10-10r46: Add CreateKey function (still working on it)Jelmer Vernooij1-6/+49
(This used to be commit 9f13b7c60cc7e6edd095eee96625ee02cd0dd73b)
2007-10-10r42: importing .cvsignore filesGerald Carter1-1/+0
(This used to be commit 11717ae912449bde596ff6cf7d8fddcc86548f15)
2007-10-10r33: Fix torture test after IDL changes.Jelmer Vernooij1-11/+2
(This used to be commit 8b9b992f6026a6b9ace7564d6aaac9060a54af7d)
2004-04-03added IDL and test for lsa_OpenSecret()Andrew Tridgell1-1/+23
(This used to be commit dd95cd141dc63f16e14f4c9392529653084b5a2a)
2004-04-03added IDL and test suite for lsa_CreateSecret()Andrew Tridgell1-0/+33
(This used to be commit 4de08b64ddb3851e90a8dadd7d0d0991e933abf5)
2004-04-03added idl and test suite for lsa_CreateTrustedDomain()Andrew Tridgell1-1/+45
(This used to be commit cdb47511531cb8ef19334088eecb14971e189a4f)
2004-04-02Added one more test for "dirname\."Jeremy Allison1-0/+5
Jeremy. (This used to be commit a7ca9620d50aa33e7125d280bc096f1a42438141)
2004-03-31added lsaCreateAccount() and a test in the RPC-LSA test suiteAndrew Tridgell1-21/+114
also tested lsa_Delete() to delete the newly created account (This used to be commit c4d5d0e9eba6b564e2ce6885d66d644b6612d721)
2004-03-26- moved some of the base tests into torture/basic/Andrew Tridgell10-5/+280
- 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-26- use a linked list for the ftable in the nbench load generator. ThisAndrew Tridgell1-35/+71
allows us to cope a little better with the async nature of open/close requests which implies a ordering on which handle to close. - request oplocks in NBENCH and add a oplock handler (This used to be commit 3bcd27e0f0a20f2d9923815a123044bda710693c)
2004-03-26use client1, client2 not client0, client1 to better match netbenchAndrew Tridgell1-1/+1
(This used to be commit 4bbc77fa0c3a91fd34e1966892782f5b2a441359)
2004-03-25fixed the handling of level II oplocks in samba4, especially whenAndrew Tridgell2-2/+2
acting as a cifs redirectory (using the cifs backend) (This used to be commit 06a8100e6a2f3f079af5b6ec32d87d1d25f56c3c)
2004-03-10nicer way of handling \clientsAndrew Tridgell2-3/+14
(This used to be commit 931138cc440f646671ec5e9b52eb3666b2ff014b)
2004-03-10as a special case don't check the status of the create of \clients -Andrew Tridgell1-1/+3
there is a race condition in the create (This used to be commit ddfddcbffd304b5ac51140dee048ead7137e293a)
2004-03-10make the warmup and execute phases clearerAndrew Tridgell1-4/+13
(This used to be commit d49e4407e59a25c8e887b552ed2a58de7a16b6d9)
2004-03-10added a 5% warmup time to NBENCH to make the results more consistentAndrew Tridgell2-10/+33
(This used to be commit df50911a9c71bf5b8a8988fdbf6c716f8343fa45)
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-09don't check return fields (like search count) on an expected failureAndrew Tridgell1-4/+4
(This used to be commit 6cbe8a6bd5998c67b74b989d13d3cb7863fee75d)
2004-03-09handle incomplete load filesAndrew Tridgell2-6/+7
change default timelimit to 600 secs (This used to be commit c5c75a6adab10e35584dca760586fda333ca5308)
2004-03-09greatly improved NBENCH netbench simulatorAndrew Tridgell5-448/+805
- 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-10fixed a couple of uninitialised returns spotted by valgrindAndrew Tridgell1-2/+2
(This used to be commit ccce61287de07684159e2de990773f4098e07652)
2004-02-10don't force debug in the RPC-MGMT testAndrew Tridgell1-2/+0
(This used to be commit e0eb4b3cfb75385ff7a012ca0f8fad1278c195d9)
2004-02-10Convert libcli routines to return NTSTATUS instead of BOOL. Again, theTim Potter20-246/+242
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 Potter29-1133/+1135
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-05add the TORTURE SUBSYSTEM to the config.m4 schemeStefan Metzmacher1-0/+24
tridge: I'll convert all stuff first to this scheme and then move to the scheme with two files per subsystems so we'll later something like config.m4 and config.mk... metze (This used to be commit 39e1a9b0c55138695e9736612b62ddada157d690)
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)
2004-02-03- add 'print' to the DCERPC binding stringsStefan Metzmacher12-24/+0
e.g. ncacn_np:myserver:[samr,sign,print] will now enable the packet debugging and the debugging is not bound anymore to the debuglevel >= 2 in the torture tests - also the dcesrv_remote module now supports debugging of the packets use the 'dcerpc_remote:binding' smb.conf parameter. metze (This used to be commit 40abf3c584efed7f977ddd688ea064540e5a5b13)
2004-01-24Remove testing utility for removed SAM systemJelmer Vernooij2-489/+0
(This used to be commit dee59bec8413799aa66b37d5baace7dd2e782801)
2004-01-21cope with a wider range of broken servers in the RAW-QFILEINFO testAndrew Tridgell1-8/+10
(This used to be commit eb6fc29caf5be8446c31668748a5cce387c71627)
2004-01-20check for the correct fault code when the server fails a use of aAndrew Tridgell1-3/+9
incorrect policy handle (This used to be commit 8cd6e90eb8716ba43f5940245d7be580aab4ba83)
2004-01-20added code to the RPC-SPOOLSS test that demonstrates that policyAndrew Tridgell1-0/+41
handles are not shared between open dcerpc connections, even when those connections are on the same SMB socket. I have tested this with w2k3, w2k and NT4. It seems that policy handles have a strict scope of the dcerpc connection on which they were opened. I realise that this goes against existing folk-law in the team, but it seems that the previous testing (I'm not sure who did this?) was wrong. Perhaps clients do send us policy handles from other connections, but if they do then the correct thing to do is to fail the operation with a dcerpc fault. I suspect that failing it with exactly the right dcerpc fault code is important. (This used to be commit 2ed24d29bafd9055d5782acdd595cd0f378a651a)
2004-01-19Add test to set single fields in fields_present with info21.Simo Sorce1-37/+53
(This used to be commit 2372321eedb6d446c1555ed318bd98743cabaaa0)
2004-01-17make sure we initialise r.out.handle in openeventlogAndrew Tridgell1-0/+1
(This used to be commit 6319166420ba7cd7bb3a69d88510d8e6216c7c89)
2003-12-22remove some unused filesAndrew Tridgell9-4386/+0
(This used to be commit a6f43de7f832fd1a9da8ccaadd293a4aa4647e6c)
2003-12-21minor updates to make the srvsvc test compileAndrew Tridgell1-5/+5
(This used to be commit 564e505e925d67be00ca2cbe21b2b9b33a1ac0c7)
2003-12-21wkssvc test updates from metzeAndrew Tridgell1-15/+21
(This used to be commit 9d3e06f0e312c5585701aa385132f23dfb2917eb)
2003-12-19addition of samr_SetSecurity() from kaiAndrew Tridgell1-0/+17
we needed to adjust the alignment of [relative] buffers for this to work. I wonder if they are always 4 byte aligned? (This used to be commit 9cd0a0b8b976e62c6da71b7e55cba5b38483620d)
2003-12-19fixed the AddAliasMem test codeAndrew Tridgell1-13/+21
(This used to be commit abe7ffcece5fcb75b0cf5633dd5871fa3e3c1723)
2003-12-19added a bunch of alias functions in samr.idl based on work by Kai.Andrew Tridgell1-14/+327
(This used to be commit f740b02ac36780740700909da2bcdf672cb146cb)
2003-12-17fixed a bug in the acct_flags checking on CreateUser2 in the RPC-SAMR testAndrew Tridgell1-5/+5
(This used to be commit 2c9a999c5421a07ae3059595f70d5533f2040a03)
2003-12-16fixed the RPC-MGMT and RPC-SCANNER tests to work with the newAndrew Tridgell2-26/+61
dcerpc_binding_string code (This used to be commit 1fa68c18facfb6c96d5a274cfd9560cb4b2956f6)
2003-12-16a fairly large commit!Andrew Tridgell3-9/+7
This adds support for bigendian rpc in the client. I have installed SUN pcnetlink locally and am using it to test the samba4 rpc code. This allows us to easily find places where we have stuffed up the types (such as 2 uint16 versus a uint32), as testing both big-endian and little-endian easily shows which is correct. I have now used this to fix several bugs like that in the samba4 IDL. In order to make this work I also had to redefine a GUID as a true structure, not a blob. From the pcnetlink wire it is clear that it is indeed defined as a structure (the byte order changes). This required changing lots of Samba code to use a GUID as a structure. I also had to fix the if_version code in dcerpc syntax IDs, as it turns out they are a single uint32 not two uint16s. The big-endian support is a bit ugly at the moment, and breaks the layering in some places. More work is needed, especially on the server side. (This used to be commit bb1af644a5a7b188290ce36232f255da0e5d66d2)
2003-12-15fixed srvsvc DiskEnum callAndrew Tridgell1-5/+7
strangely, the output doesn't seem to contain an info level. Some programmer stuffed up the IDL :) (This used to be commit a39ee5d00341e1dbde0b38474ba4d5e980e74538)
2003-12-15patch from metze with updates to srvsvc and changes to pidl to allowAndrew Tridgell1-6/+5
for the server rpc boilerplate to correctly generate for multiple interfaces on an endpoint (This used to be commit 56143689ecf623e8a6ef5c453e6ad1ca9404411c)
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)