summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11868: Get the wks and user accounts from a file.Volker Lendecke1-2/+141
Abartlet, please don't break this again, it's too darn useful for near-realistic load tests on an RPC infrastructure and can be quite easily expanded to more weird things a workstation might do during a login. Yes, I promise I will document this test, but this must wait until the weekend. I might add simulating a profile download quite soon, we have the information available from the info3. Thanks, Volker (This used to be commit 15ca9e16bbc120a4a29bedaededc266097204ec5)
2007-10-10r11850: added a test suite for the SMB2 find callsAndrew Tridgell3-1/+215
(This used to be commit 3ac32d802bba96e5cbcebc4b536258eb0981a9e4)
2007-10-10r11843: fixed a valgrind error in the RPC-SAMLOGON testAndrew Tridgell1-1/+1
(This used to be commit 61cabcd7f9010f708a55165f2ff855630f4b39df)
2007-10-10r11838: lower the default numops in smbtorture. When people want lots ofAndrew Tridgell1-1/+1
repeated operations they should manually specify --num-ops=XX this should speed up a few of the build farm tests (This used to be commit d91506e1ceafc95c497973b0ecfd362f9bea3187)
2007-10-10r11837: Add a timeout before starting a torture test. It's really fun to ↵Volker Lendecke1-9/+33
watch 50 simulated logins doing stuff simultaneously. This is where the async architecture *really* pays off. Volker (This used to be commit 4cca813dff1194546e85efb9aabd36f0139e5be2)
2007-10-10r11836: More work in progressVolker Lendecke1-100/+448
(This used to be commit 3f5ad1bd3f817d99df76678f3ad733e51c00c673)
2007-10-10r11834: More steps towards XP loginVolker Lendecke2-1/+623
(This used to be commit c10ccb2edb5e623def9bf167ff328a70a9a85841)
2007-10-10r11831: add some SGROUP not active vs. SGROUP any testsStefan Metzmacher1-0/+119
metze (This used to be commit be622259ab1976abb800f55d5d8d329359e082db)
2007-10-10r11829: remove unused #if 1Stefan Metzmacher1-2/+0
metze (This used to be commit 80f2e50387eedecfe661f0e48e7287017a34a508)
2007-10-10r11827: add more sgroup vs sgroup testsStefan Metzmacher1-33/+531
metze (This used to be commit 28a065064ef4ed60eb7d260ba02d939cfaba0bb9)
2007-10-10r11826: A few steps down the loginVolker Lendecke1-3/+242
(This used to be commit 47a91dae31d4f1de93579f705c9115cd44d4ca6e)
2007-10-10r11818: - changed the option torture:echo_TestSleep=yes/no to the more genericAndrew Tridgell1-5/+5
option torture:quick=yes/no. This should be used in all slow tests to enable a quick mode - enabled the test_rpc_quick.sh tests in 'make quicktest' (This used to be commit 180c209c1bb48f6421043de2d0d48c29fc7f9274)
2007-10-10r11809: Make dcerpc_bind_auth async.Volker Lendecke1-10/+10
This also removes dcerpc_bind_auth_password, the only user of dcerpc_bind_auth. And this was not only passwords anyway. Andrew Bartlett, as usual: Please take a close look. Thanks, Volker (This used to be commit 2ff2dae3d035af6cb0c131573cfd983fc9a58eee)
2007-10-10r11804: Asyncify the anonymous bind, convert the calls in xplogin.c.Volker Lendecke1-11/+35
Tridge et al, please take a close look at this. It survives my basic rpc-login test as well as rpc-lsa, but this is critical I think. Volker (This used to be commit bf1a55f44c84d9bb8b2f83f5d25727550ca8fcf2)
2007-10-10r11803: New start for RPC-LOGIN load test, this time async. It's gonna be ↵Volker Lendecke1-949/+454
fun to see hundreds of logins from a single process.... :-) Does not do all that is necessary yet. But as the old one was #ifdef'ed out, this does not hurt much I think. Volker (This used to be commit f7cbef3e593df0c75bfd9be5bea64f65042c4d05)
2007-10-10r11802: - add copyrightStefan Metzmacher1-4/+10
- fix crash bug when running as non root - add extra comments in the output metze (This used to be commit ffc3cd73474722d60a781fb758105f665e73c0ca)
2007-10-10r11801: - added basic SMB2 find supportAndrew Tridgell3-4/+53
- added SMB2-SCANFIND test - cleaned up continue flags in EAs and find requests (This used to be commit 8792bc07d927e6470874230153177748afae3ee8)
2007-10-10r11800: - filled in unknown fields in SMB2 all_info levelAndrew Tridgell3-22/+68
- allow setting of the ALL_EAS flags bits in SMB2 getinfo (This used to be commit 8c7c54a46dfb91c053d07a5e606892a41213c605)
2007-10-10r11780: it turns out that the MxAc tag isn't a security descriptor, its aAndrew Tridgell1-13/+1
request that the server return its own MxAc blob which contains the maximum allowed access_mask for the returned file handle (This used to be commit c0288aa8cd46ca384074f89430c226d725c39475)
2007-10-10r11779: fix crash bugStefan Metzmacher1-1/+1
metze (This used to be commit b35e43a67b7b9ccb25c8f4ed62b8415e82aaf1c7)
2007-10-10r11777: display the security_descriptor in torture_smb2_all_info()Andrew Tridgell1-0/+10
(This used to be commit d1067fc25df57b1b6ef59a69f979ed76df5c46cd)
2007-10-10r11776: no need to call out to SMB to setup test files for SMB2 any moreAndrew Tridgell3-48/+69
(This used to be commit dae70c5baed7d5613d793dca15dda3007c1a690a)
2007-10-10r11775: added support for creating files on SMB2 with initial EA lists and ↵Andrew Tridgell5-40/+75
an ACL (This used to be commit ff197092988cee64742f83df23c43ae664a196f9)
2007-10-10r11773: added a SMB2-SETINFO test suite. This tests the following levels:Andrew Tridgell4-1/+378
BASIC_INFORMATION DISPOSITION_INFORMATION ALLOCATION_INFORMATION END_OF_FILE_INFORMATION POSITION_INFORMATION MODE_INFORMATION (This used to be commit 8804b6a7eb59ab0a9088f89d191194fba71befe3)
2007-10-10r11758: unified the parse code for the SMB and SMB2 qfsinfo and qfileinfo callsAndrew Tridgell2-84/+146
(This used to be commit ba897e537b9a1544dc214e9d5504c87fee6fced2)
2007-10-10r11755: added names for all of the SMB2 qfs info levels (they all map exactlyAndrew Tridgell2-7/+15
to equivalent SMB qfs levels) (This used to be commit 4ce48d02aa12d6fa699bf8b250b14851870f0096)
2007-10-10r11753: change the getinfo scanner to scan with both a file and a directory, ↵Andrew Tridgell1-53/+32
and to use files that have streams and EAs (This used to be commit f739431927e9600e914204930f1e862a367a7368)
2007-10-10r11741: - the buffer code (first 2 bytes in the SMB2 body) seem to be the lengthStefan Metzmacher3-18/+23
of the fixed body part, and +1 if there's a dynamic part - there're 3 types of dynamic blobs with uint16_t offset/uint16_t size with uint16_t offset/uint32_t size with uint32_t offset/uint32_t size /* aligned to 8 bytes */ - strings are transmitted in UTF-16 with no termination and packet into a uint16/uint16 blob metze (This used to be commit 79103c51e5c752fbdb4d25a0047b65002828df89)
2007-10-10r11738: test larger read/write calls. If you run smbtorture with -X (to enableAndrew Tridgell1-2/+9
'dangerous' tests) then it does a write of 160k, which causes vista to blue screen. Otherwise it does a 120k write which works fine. (This used to be commit b4c5d7d0173b94ade4c16d47ef774ad9f3c17bc8)
2007-10-10r11736: display EAs and streams in smb2 torture testsAndrew Tridgell1-0/+28
(This used to be commit 2baea9a5ec0a805b90c8b48454e395ce40a35a74)
2007-10-10r11730: added parsing and tests for a bunch more SMB2 getinfo levelsAndrew Tridgell7-58/+450
(This used to be commit ca65bf0235cbfab451e5d5ceac9f714acc0cd46c)
2007-10-10r11716: added a read/write testAndrew Tridgell1-0/+48
(This used to be commit 7c229e5b9fc8774207b647214b9d03d26a60aae3)
2007-10-10r11699: use create_complex_file() to setup a file with a wide range ofAndrew Tridgell1-0/+29
different attributes before running the getinfo level scanner, making it easier to recognise levels (This used to be commit 5d0cd9d041af71cb1bfb9cb3e0c45e0bbd8193cb)
2007-10-10r11697: - added a generic SMB2 getinfo callAndrew Tridgell3-21/+100
- added a SMB2-SCANGETINFO test for scanning for available info levels - added names for the info levels I recognise to smb2.h (This used to be commit fe5986067e2aaca039d70393ccc8761434f18fe6)
2007-10-10r11695: added SMB2-SCAN torture test for scanning for active SMB2 opcodesAndrew Tridgell4-15/+81
(This used to be commit aa3bcf952c4436b488e461a3686955d70c672ce4)
2007-10-10r11693: added a full async composite function for SMB2 that does:Andrew Tridgell1-104/+7
- name resolution - socket connect - negprot - multi-stage session setup - tcon (This used to be commit c1a8e866fe6a0544b7b26da451ea093cdcacdd8f)
2007-10-10r11692: added a full composite (async) spnego session setup for SMB2. ThisAndrew Tridgell1-66/+10
simplies the torture code a lot. (This used to be commit 7bf1046fbb7fd83fecb2fa645628ba9a17aab037)
2007-10-10r11691: added reply buffer code checks and oplock flags for create request/replyAndrew Tridgell1-6/+9
(This used to be commit 26ed781375c03958241d8c93324e04e948944d01)
2007-10-10r11687: filled in 3 more fields in the close replyAndrew Tridgell1-0/+3
(This used to be commit 3a0abb3ff0b532179780ed95f8fcb4bca6e040b1)
2007-10-10r11681: filled in a few more smb2_create() fieldsAndrew Tridgell1-29/+40
(This used to be commit a95413568f1e45691524dfd8e9159a3bafe358ea)
2007-10-10r11680: added smb2_close(). This also demonstrates that file handles are 16Andrew Tridgell1-7/+45
bytes, not 20 bytes (metze, you were right!) (This used to be commit d3bcc6628cde9ddedf0fd408cbee573f133ce582)
2007-10-10r11679: opening/creating files in SMB2 now works. Lots of unknown parametersAndrew Tridgell1-3/+35
in the call tho. (This used to be commit 548fbd86b3b114493943b50669bdcba2f4ed87f2)
2007-10-10r11678: - add suport for sgroup,replica vs. sgroup,replica testsStefan Metzmacher1-158/+114
- add some sgroup,replica vs. sgroup,replica tests metze (This used to be commit 7a1b41452448fbb18170a7ca75c69f31cd7d89a8)
2007-10-10r11677: print leading zerosStefan Metzmacher1-2/+2
metze (This used to be commit 19fb79b35d6d0b20d01f3722754cdd734bebc2ba)
2007-10-10r11676: as tridge uses 0x%llx in his latest commits...Stefan Metzmacher2-7/+4
try to use it every where and see how portable it is metze (This used to be commit 66a94de5ddd09df858a515555c01aa3d4f7d3e96)
2007-10-10r11674: SMB2 tree connect now works. We do 2 session setups and 2 treeAndrew Tridgell1-2/+36
connects, giving the following output: Running SMB2-CONNECT Negprot reply: current_time = Fri Nov 11 20:10:42 2005 EST boot_time = Sat Nov 12 10:34:33 2005 EST Session setup gave UID 0x40000000071 Session setup gave UID 0x140000000075 Tree connect gave tid = 0x7500000001 Tree connect gave tid = 0x7500000005 SMB2-CONNECT took 0.049024 secs (This used to be commit a24a4c311005dec4c5638e9c7c10e5e2f9872f4d)
2007-10-10r11673: - update the max_version of the owner when we get some recordsStefan Metzmacher1-3/+196
in the sgroup_merge test, so that we don't see old records as new ones - finish the owned,sgroup,active vs. sgroup * section metze (This used to be commit 534e34a1a1c822e72bf863e8acc396168b849b93)
2007-10-10r11672: - add support for special group merge testsStefan Metzmacher1-2/+170
- add owned,sgroup,active vs. replica,sgroup,active test metze (This used to be commit 938853dc5078a0d647d41177375ec8d35d61628b)
2007-10-10r11668: yay! we get a successful session setup with SMB2, and get back a ↵Andrew Tridgell1-10/+30
64bit uid (This used to be commit 72b34a7c1b66af6be02f66639efc55a19c73e387)
2007-10-10r11666: filled in the basic session setup. Vista happily accepts the firstAndrew Tridgell1-6/+48
stage of the session setup, and waits for more. (This used to be commit 804c229c3ba7f866a7f3d66684e268d5ddc820ce)