summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-04-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij68-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)
2008-04-24libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuidKai Blin1-2/+4
(This used to be commit 5f3a70f285ad8a412105c0e498e486f93fc279bc)
2008-04-22Fix more failing tests to pass the event context.Simo Sorce4-10/+10
(This used to be commit d6c5d8baf0c48a6078a47bba33993a841ff526d9)
2008-04-21Fix buildSimo Sorce1-0/+1
(This used to be commit c16d1d430a0f1e3643c1e769b10e9d88b4719d17)
2008-04-21Remove more event_context_init() uses from function calls within deep down ↵Simo Sorce29-91/+134
the code. Make sure we pass around the event_context where we need it instead. All test but a few python ones fail. Jelmer promised to fix them. (This used to be commit 3045d391626fba169aa26be52174883e18d323e9)
2008-04-21smbtorture: Add RAW-BENCH-LOOKUP micro-benchmark.James Peach3-0/+322
This test samples the lookup rate for a non-existant filename in a directory, while varying the number of files in the directory. The lookup rate should continue to approximate the lookup rate for the empty directory case. (This used to be commit ca7e4d9166a7cb10495cf3ecd9c4e72103fbec30)
2008-04-19SMB2-PERSISTENT-HANDLES1: close the handle before deleting itStefan Metzmacher1-0/+2
This means we no longer have a oplock break timing out for the "delete". metze (This used to be commit 50f6a72b674f58a24c1a6c42e4dd56dc4e9f5a1e)
2008-04-19torture/smb2: add a simple SMB2-OPLOCK-BATCH1 testStefan Metzmacher3-1/+181
metze (This used to be commit 914f0ac83bc396be0ca34c43e2ea01ecc1c3b826)
2008-04-17Fix build not to always use code coverage.Andrew Bartlett1-4/+6
Somehow, the way this was structured before always did a gcov build. Andrew Bartlett (This used to be commit 052edb786418f161272a41025f8b6eee93bb433d)
2008-04-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij4-11/+250
(This used to be commit ece878c1f9251b83598508e23ce0015b4db72f0a)
2008-04-17Fix the build.Jelmer Vernooij1-3/+3
(This used to be commit 5632fe8c61cfd7d69ebdc263dcb5740e72f25b95)
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij5-8/+5
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)