summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
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 Tridgell2-4/+15
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-13added a basic dcerpc endpoint mapper to Samba4. Currently onlyAndrew Tridgell1-6/+6
implements the epm_Lookup() call, I'll add the other important calls soon. I was rather pleased to find that epm_Lookup() worked first time, which is particularly surprising given its complexity. This required quite a bit of new infrastructure: * a generic way of handling dcerpc policy handles in the rpc server * added type checked varients of talloc. These are much less error prone. I'd like to move to using these for nearly all uses of talloc. * added more dcerpc fault handling code, and translation from NTSTATUS to a dcerpc fault code * added data_blob_talloc_zero() for allocating an initially zero blob * added a endpoint enumeration hook in the dcerpc endpoint server operations (This used to be commit 3f85f9b782dc17417baf1ca557fcae22f5b6a83a)
2003-12-12Small cleanup of test code. Rename enum indexes to be the same nameTim Potter1-112/+86
for EnumKey and EnumValue. (This used to be commit 817a2fe2e5824e6bb9547697d27c66c0c8356181)
2003-12-12Got winreg_EnumValue working - what a mess!Tim Potter1-16/+62
(This used to be commit cc494086e796c0090a92ac36012727c67e3587d1)
2003-12-10 * removed some unused codeAndrew Tridgell1-2/+2
* updated tdb to latest version from Samba3 * removed some extraneous ';' in tdbutil.c (Thanks to Erlend Aasland for pointing this out) (This used to be commit f3eaf270e57d8d2e2157a6a36e260860c7f71c19)
2003-12-04removed an unused fileAndrew Tridgell1-325/+0
(This used to be commit 77c622c3acf8bc950afe23e30770a658d018406c)
2003-12-04* patch based on work by Jim Myers to unify the ioctl handling to beAndrew Tridgell4-28/+42
more like the other major SMB functions * added SMBntrename code (This used to be commit f2d3dc9893fa0e089c407fa16ce9ff13587e70cd)
2003-12-03My first stab at Samba4 IDL!Andrew Bartlett1-3/+139
This patch adds the samr_CreateUser2 function, which is create_user in Samba 3.0. This also adds a torture suite that checks for various valid and invalid account flags, and that they are persistant. Also, a patch by Anthony Liguori to fix the build Andrew Bartlett (This used to be commit 53e657b74572ab329d4598a85e6989547c324209)
2003-12-02added netr_LogonControl2Ex()Andrew Tridgell1-1/+85
I also added IDL for netr_DatabaseRedo() but I don't yet know how it works thats the last of the netlogon IDL ! (This used to be commit 387d8f25ff4858943d1389974127d03a58bf4c8f)
2003-12-02added netr_DatabaseSync2()Andrew Tridgell1-0/+55
(This used to be commit 0f6af0c4bde0eb3758192b74dab797b558c944a1)
2003-12-02added netr_LogonControl2() and netr_ServerAuthenticate2()Andrew Tridgell1-3/+145
(This used to be commit cc4123db4baec6a217500dc55113f89e1ea8ef61)
2003-12-02added netr_LogonControl() and netr_GetAnyDCName()Andrew Tridgell1-5/+70
(This used to be commit 17b2be4e859bd7f625214d7e7de9758b5ab5fb90)
2003-12-02added netr_GetDcName() - quite a useful callAndrew Tridgell1-5/+30
(This used to be commit 63f46b223e16a3495b4a4a48c6489f1f0d7d84c4)