summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2008-05-23Include test case name when reporting with subunit. This should make it ↵Jelmer Vernooij1-6/+21
possible to having a test fail against some test cases and success against other ones. (This used to be commit 0af138a85bba21a5009967e2610c898615fb536b)
2008-05-23RAW-STREAMS: better test the bahavior of streams on directoriesStefan Metzmacher1-10/+85
Note: this has a samba3 specific code path, which we should fixed. metze (This used to be commit 5c5c86683877337ff60526a40e7b689f604e40f8)
2008-05-22added a --noeas option to gentest_smb2Andrew Tridgell1-0/+6
(This used to be commit 9d523debb7ee59bdadf9865e023be370b7ab7b39)
2008-05-22added testing of SMB2 setfileinfo in gentest_smb2Andrew Tridgell1-19/+3
(This used to be commit c38658c6c05fd65d729693904d35886431582537)
2008-05-22added EAs in the generated SMB2 create operationAndrew Tridgell1-25/+19
(This used to be commit 607bf6a946ffd7f768bda44c461ee82fcfc101c1)
2008-05-22added --maskindexing and qfileinfo testingAndrew Tridgell1-124/+59
- added --maskindexing to mask the 0x2000 noindex bit in file attributes - added testing of qfileinfo in gentest_smb2 (This used to be commit 3883a7286fd32cd6c77269f67d1366c3b946b5a0)
2008-05-22minor cleanup in SMB2 getinfo testAndrew Tridgell1-6/+6
(This used to be commit b139b471072f20288f126b5a9ee7613cc6c40681)
2008-05-22added SMB2 gentest generation of SMB2 echo packetsAndrew Tridgell1-0/+13
(This used to be commit 8f7cfa5d2e190ddb74ba859a3f68ec0ed33ae089)
2008-05-22fixes to the SMB2 lock test after recent SMB2 locking changesAndrew Tridgell1-8/+12
(This used to be commit de7626e1c29f04e54afb6d95f4051bc52b17dd80)
2008-05-21fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell1-11/+35
(This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
2008-05-21fixed SMB2 lockingAndrew Tridgell2-100/+105
- SMB2 locking is different in several ways from SMB locking. To fix it properly we will need a new generic mapping structure for locking, but for now do a best effort mapping - added locking to gentest_smb2 (This used to be commit ea6d9cf602302adafe0f9d5f5f90a9b26d1ead6f)
2008-05-21Correct an assertion in the testsuite.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)
2008-05-21Extend the NBT-DGRAM torture test again.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit f4154846401b31d99c40b2ea53992262095366b0)
2008-05-21Extend the 'netlogon' CLDAP and NBT implementation.Andrew Bartlett2-20/+278
This now handles checking if the user exists, including validating the ACB mask on the user. This would be a nasty security hole, if Kerberos did not already expose this information anonymously... Andrew Bartlett (This used to be commit 441b286c00f9a7743cdefeb243545bdbd2c94c5e)
2008-05-20smbtorture: Add RAW-BENCH-TCON benchmark.James Peach3-0/+204
Add a simple test to benchmark the rate at which a server can accept new tree connections. You can tune the length of time to run the benchmark for and the number of parallel connections to make. (This used to be commit ea3f4b93057e85c4ea516cc77dd0f293016d520c)
2008-05-20Change wks password in rpc-bench-schannel1Volker Lendecke1-0/+64
Prove that a workstation password change does not affect existing schannel connections (This used to be commit f72dc52ccc426c8057b91b4699dfeda7d9e9b864)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell1-2/+1
(This used to be commit e360be0b99b638afdfa789e217bf08f99d09be7a)
2008-05-20added read and write handlers. Fixed --analyseAndrew Tridgell1-54/+40
(This used to be commit c05ed7bb9ae7211a7001fd0a3403744ba4f6dda0)
2008-05-20specify which server failed to deltreeAndrew Tridgell1-1/+1
(This used to be commit aa9108374f0dda8510245a6e69a53189f55a81e3)
2008-05-20first version of gentest_smb2. Only generates create and close so far.Andrew Tridgell2-0/+1983
(This used to be commit 634a4bbd98e1c281f8339073b90cb7696ac59baa)
2008-05-20moved these util functions into libcliAndrew Tridgell1-26/+0
(This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b)
2008-05-20Revert addition of 'mailslot' parameter.Andrew Bartlett1-2/+1
It turns out that the mailslot name (and a useful private prointer) is provided in the struct dgram_mailslot_handler. Andrew Bartlett (This used to be commit e17804b8857fdb3c182c5e886323b9d6c194c2ff)
2008-05-20Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell3-82/+146
(This used to be commit ffbd222d651dcddb19cacdc50cdbfeaefa816940)
2008-05-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett4-78/+74
Fix config.mk due to changing syntax. Conflicts: source/libcli/config.mk source/nbt_server/config.mk (This used to be commit 6a1c76f29f78183f44dfac6f468c5e728d2cb2cf)
2008-05-19Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell7-80/+364
(This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
2008-05-19added mkdir to SMB2 proxyAndrew Tridgell1-19/+5
(This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)
2008-05-19Move IDL build script to rpc directory, make various bits and pieces easier ↵Jelmer Vernooij1-25/+25
to use externally. (This used to be commit 8328ff76416df5a6e05461d3a19f510b76f2e902)
2008-05-18Fix a bunch of dependencies.Jelmer Vernooij1-1/+1
(This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij4-14/+14
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij4-27/+23
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij4-26/+26
(This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
2008-05-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett3-2/+290
(This used to be commit 60579269d1e0bebce5b595ef95d68fd4bf781cfd)
2008-05-17Modify the LDAP-CLDAP test for better coverage.Andrew Bartlett1-4/+8
This fixes up some compiled in constants and checks a couple more NT versions. Andrew Bartlett (This used to be commit ca1b3fe3add06dc22361d5a5fe7e63a6abb1697c)
2008-05-17Show that the NTLOGON and NETLOGON mailslots are *very* similar.Andrew Bartlett1-0/+25
Rework the mailslot infrustructure to cope, passing down the mailslot name so that we can implement both in the same callback function. Andrew Bartlett (This used to be commit 89fdd77891529aa74bb920994b8b5959aae8ac2d)
2008-05-17Test the use of the domain SID on the NETLOGON mailslotAndrew Bartlett1-4/+61
Interestingly, despite these packets being very similar, this fails on NTLOGON - no reply is received. Andrew Bartlett (This used to be commit 25ab0ad0a0216ef18e0aaeec27c7833d8c68ca30)
2008-05-16Make rpc-bench-schannel1 use two wks accounts if --option=torture:multijoin=trueVolker Lendecke1-10/+21
(This used to be commit fc3bc3c4a85b0e0ba853f3208a4e934a733cfdc4)
2008-05-16Fix two C++ warningsVolker Lendecke1-2/+4
(This used to be commit f75f95931c15d57b3111db4dff589be06710aea7)
2008-05-16torture: add RPC-BENCH-SCHANNEL1 testStefan Metzmacher2-0/+273
This tests SamLogonEx() calls on multiple (smb) connections in parallel. Sadly the smb connect needs to be serialized because of the reset on zero VC style behavior of windows. Call it like this: bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 RPC-BENCH-SCHANNEL or bin/smbtorture -U administrator%test ncacn_np:w2k3-101 -W W2K3 -k no RPC-BENCH-SCHANNEL \ --option="torture:nprocs=4" --option="torture:timelimit=1" \ --extra-user SUB1\\sub1user%testsecret --extra-user SUB1\\sub1user%testsecret or ... Later we should add more tests, maybe using only one smb connection and different netlogon pipes. We should also test using the DCERPC_PFC_FLAG_CONC_MPX flag and just one rpc connection. DCERPC_PFC_FLAG_CONC_MPX /* supports concurrent multiplexing of a single connection.*/ metze (This used to be commit 901426c24c74390f7b1c78bb7a07c020b6ef73eb)
2008-05-16In torture_leave_domain, say what account was deletedVolker Lendecke1-2/+4
(This used to be commit a9a0f24f7299c1480d8047d97c703aca8e94c79f)
2008-05-16private -> private_data for struct smb2_requestAndrew Tridgell1-1/+1
(This used to be commit 67290e0ad69df2f2fe651249c6550b8e32dd641b)
2008-05-16Rework the CLDAP and NBT netlogon requests and responses.Andrew Bartlett3-82/+60
This now matches section 7.3.3 of the MS-ATDS specification, and all our current tests pass against windows. There is still more testing to do, and the server implementation to complete. Andrew Bartlett (This used to be commit 431d0c03965cbee85691cd0dc1e2a509c1a2b717)
2008-05-10Fix torture module initializion.Jelmer Vernooij5-14/+14
(This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
2008-05-10Revert "Remove copy of torture file."Jelmer Vernooij2-1/+72
This reverts commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae. (This used to be commit c6c4349c44cb6479fa7aa129931ff9ac88068ba6)
2008-05-10Remove copy of torture file.Jelmer Vernooij2-72/+1
(This used to be commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae)
2008-05-10Merge branch 'v4-0-test' into v4-0-gmake3Jelmer Vernooij30-1037/+40
Conflicts: source/auth/config.mk source/auth/gensec/config.mk source/torture/smbtorture.c (This used to be commit edfd02e59bba86b977bd60848f57a614691fff7a)
2008-05-10Fix installation of pidl perl files, torture pc file.Jelmer Vernooij1-12/+0
(This used to be commit 32da606e3759026c2744f853cd8948333ed0579c)
2008-05-06torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()Michael Adam1-1/+1
Michael (This used to be commit 334d76c3559870bd9dc9ef55c9b1a7ce21ee9d4c)
2008-05-06Tiago Batista posted a patch to fix the build:Tiago Batista1-1/+1
Trying to compile the latest git tree, I got some errors "auth/pam_error.h not found" errors, it looks like it moved to auth/ntlm/pam_errors.h. Andrew Bartlett (This used to be commit 95831a015ae076b52256961f771f50dd9b278e33)
2008-04-27Split up lcov target.Jelmer Vernooij1-2/+7
(This used to be commit 38f455e0054acc1fdaea267e03f8aad337309cf2)
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij27-1021/+31
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)