summaryrefslogtreecommitdiffstats
path: root/source4/torture
Commit message (Collapse)AuthorAgeFilesLines
* added a --noeas option to gentest_smb2Andrew Tridgell2008-05-221-0/+6
| | | | (This used to be commit 9d523debb7ee59bdadf9865e023be370b7ab7b39)
* added testing of SMB2 setfileinfo in gentest_smb2Andrew Tridgell2008-05-221-19/+3
| | | | (This used to be commit c38658c6c05fd65d729693904d35886431582537)
* added EAs in the generated SMB2 create operationAndrew Tridgell2008-05-221-25/+19
| | | | (This used to be commit 607bf6a946ffd7f768bda44c461ee82fcfc101c1)
* added --maskindexing and qfileinfo testingAndrew Tridgell2008-05-221-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)
* minor cleanup in SMB2 getinfo testAndrew Tridgell2008-05-221-6/+6
| | | | (This used to be commit b139b471072f20288f126b5a9ee7613cc6c40681)
* added SMB2 gentest generation of SMB2 echo packetsAndrew Tridgell2008-05-221-0/+13
| | | | (This used to be commit 8f7cfa5d2e190ddb74ba859a3f68ec0ed33ae089)
* fixes to the SMB2 lock test after recent SMB2 locking changesAndrew Tridgell2008-05-221-8/+12
| | | | (This used to be commit de7626e1c29f04e54afb6d95f4051bc52b17dd80)
* fixed SMB2 flush call, and added flush to gentest_smb2Andrew Tridgell2008-05-211-11/+35
| | | | (This used to be commit c52fe1fe1c77636d87355d3c4baa66e052fe9008)
* fixed SMB2 lockingAndrew Tridgell2008-05-212-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)
* Correct an assertion in the testsuite.Andrew Bartlett2008-05-211-1/+1
| | | | | Andrew Bartlett (This used to be commit c3eeae2ea6a7562b43a436f20c110002ca4d1d2b)
* Extend the NBT-DGRAM torture test again.Andrew Bartlett2008-05-211-0/+1
| | | | | Andrew Bartlett (This used to be commit f4154846401b31d99c40b2ea53992262095366b0)
* Extend the 'netlogon' CLDAP and NBT implementation.Andrew Bartlett2008-05-212-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)
* smbtorture: Add RAW-BENCH-TCON benchmark.James Peach2008-05-203-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)
* Change wks password in rpc-bench-schannel1Volker Lendecke2008-05-201-0/+64
| | | | | | Prove that a workstation password change does not affect existing schannel connections (This used to be commit f72dc52ccc426c8057b91b4699dfeda7d9e9b864)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell2008-05-201-2/+1
|\ | | | | | | (This used to be commit e360be0b99b638afdfa789e217bf08f99d09be7a)
| * Revert addition of 'mailslot' parameter.Andrew Bartlett2008-05-201-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)
* | added read and write handlers. Fixed --analyseAndrew Tridgell2008-05-201-54/+40
| | | | | | | | (This used to be commit c05ed7bb9ae7211a7001fd0a3403744ba4f6dda0)
* | specify which server failed to deltreeAndrew Tridgell2008-05-201-1/+1
| | | | | | | | (This used to be commit aa9108374f0dda8510245a6e69a53189f55a81e3)
* | first version of gentest_smb2. Only generates create and close so far.Andrew Tridgell2008-05-202-0/+1983
| | | | | | | | (This used to be commit 634a4bbd98e1c281f8339073b90cb7696ac59baa)
* | moved these util functions into libcliAndrew Tridgell2008-05-201-26/+0
| | | | | | | | (This used to be commit b2f1154bc338fb56fc998f40159156cb6859075b)
* | Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell2008-05-203-82/+146
|\| | | | | | | (This used to be commit ffbd222d651dcddb19cacdc50cdbfeaefa816940)
| * Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2008-05-204-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)
| * \ Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett2008-05-173-2/+290
| |\ \ | | | | | | | | | | | | (This used to be commit 60579269d1e0bebce5b595ef95d68fd4bf781cfd)
| * | | Modify the LDAP-CLDAP test for better coverage.Andrew Bartlett2008-05-171-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes up some compiled in constants and checks a couple more NT versions. Andrew Bartlett (This used to be commit ca1b3fe3add06dc22361d5a5fe7e63a6abb1697c)
| * | | Show that the NTLOGON and NETLOGON mailslots are *very* similar.Andrew Bartlett2008-05-171-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)
| * | | Test the use of the domain SID on the NETLOGON mailslotAndrew Bartlett2008-05-171-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)
| * | | Rework the CLDAP and NBT netlogon requests and responses.Andrew Bartlett2008-05-163-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)
* | | | Merge commit 'origin/v4-0-test' into vfs_smb2Andrew Tridgell2008-05-197-80/+364
|\ \ \ \ | | |_|/ | |/| | | | | | (This used to be commit 733937e87a1adcc19492ea2bd138e705701901b6)
| * | | Move IDL build script to rpc directory, make various bits and pieces easier ↵Jelmer Vernooij2008-05-191-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | to use externally. (This used to be commit 8328ff76416df5a6e05461d3a19f510b76f2e902)
| * | | Fix a bunch of dependencies.Jelmer Vernooij2008-05-181-1/+1
| | | | | | | | | | | | | | | | (This used to be commit a63f458462d207d215a6e4ef8e480b0c8daedf6a)
| * | | Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-184-14/+14
| | | | | | | | | | | | | | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
| * | | Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-184-27/+23
| | | | | | | | | | | | | | | | | | | | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
| * | | Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-184-26/+26
| | |/ | |/| | | | | | | (This used to be commit c41bd3005f5f0b9cfd3709fc9217b4a401d265b4)
| * | Make rpc-bench-schannel1 use two wks accounts if --option=torture:multijoin=trueVolker Lendecke2008-05-161-10/+21
| | | | | | | | | | | | (This used to be commit fc3bc3c4a85b0e0ba853f3208a4e934a733cfdc4)
| * | Fix two C++ warningsVolker Lendecke2008-05-161-2/+4
| | | | | | | | | | | | (This used to be commit f75f95931c15d57b3111db4dff589be06710aea7)
| * | torture: add RPC-BENCH-SCHANNEL1 testStefan Metzmacher2008-05-162-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)
| * | In torture_leave_domain, say what account was deletedVolker Lendecke2008-05-161-2/+4
| |/ | | | | | | (This used to be commit a9a0f24f7299c1480d8047d97c703aca8e94c79f)
* | added mkdir to SMB2 proxyAndrew Tridgell2008-05-191-19/+5
| | | | | | | | (This used to be commit 1323aab11fbf346e19c4cef227d727ddfcaa7d60)
* | private -> private_data for struct smb2_requestAndrew Tridgell2008-05-161-1/+1
|/ | | | (This used to be commit 67290e0ad69df2f2fe651249c6550b8e32dd641b)
* Fix torture module initializion.Jelmer Vernooij2008-05-105-14/+14
| | | | (This used to be commit d5bf4e9065303b54421a6f35b213a22f062d27d4)
* Revert "Remove copy of torture file."Jelmer Vernooij2008-05-102-1/+72
| | | | | This reverts commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae. (This used to be commit c6c4349c44cb6479fa7aa129931ff9ac88068ba6)
* Remove copy of torture file.Jelmer Vernooij2008-05-102-72/+1
| | | | (This used to be commit 89bfca2da2b614e979a20c9a293b798ed7ae15ae)
* Merge branch 'v4-0-test' into v4-0-gmake3Jelmer Vernooij2008-05-1030-1037/+40
|\ | | | | | | | | | | | | | | | | Conflicts: source/auth/config.mk source/auth/gensec/config.mk source/torture/smbtorture.c (This used to be commit edfd02e59bba86b977bd60848f57a614691fff7a)
| * Fix installation of pidl perl files, torture pc file.Jelmer Vernooij2008-05-101-12/+0
| | | | | | | | (This used to be commit 32da606e3759026c2744f853cd8948333ed0579c)
| * torture: use dom_idx after determining it in samba3rpc.c:get_usr_handle()Michael Adam2008-05-061-1/+1
| | | | | | | | | | Michael (This used to be commit 334d76c3559870bd9dc9ef55c9b1a7ce21ee9d4c)
| * Tiago Batista posted a patch to fix the build:Tiago Batista2008-05-061-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)
| * Split up lcov target.Jelmer Vernooij2008-04-271-2/+7
| | | | | | | | (This used to be commit 38f455e0054acc1fdaea267e03f8aad337309cf2)
| * Move subunit infrastructure code into lib/torture.Jelmer Vernooij2008-04-2727-1021/+31
| | | | | | | | (This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-2568-541/+1241
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: source/Makefile source/auth/config.mk source/auth/gensec/config.mk source/build/m4/public.m4 source/build/make/python.mk source/build/make/rules.mk source/build/smb_build/header.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/dsdb/samdb/ldb_modules/config.mk source/kdc/config.mk source/lib/events/config.mk source/lib/events/events.c source/lib/ldb/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/util/config.mk source/libcli/smb2/config.mk source/libnet/config.mk source/librpc/config.mk source/nbt_server/config.mk source/ntptr/ntptr_base.c source/ntvfs/posix/config.mk source/ntvfs/sysdep/config.mk source/param/config.mk source/rpc_server/config.mk source/rpc_server/service_rpc.c source/scripting/ejs/config.mk source/scripting/python/config.mk source/smb_server/config.mk source/smbd/server.c source/torture/config.mk source/torture/smb2/config.mk source/wrepl_server/config.mk (This used to be commit 13bbd420681519894a4036729c43273912c9b402)
| * libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuidKai Blin2008-04-241-2/+4
| | | | | | | | (This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)