summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-04-17Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testAndrew Tridgell6-17/+262
Conflicts: source/ntvfs/ntvfs_generic.c (This used to be commit a626a9c69cb2c07c8de69dcfe45361f86d6de58d)
2008-04-17SMB2-PERSISTENT-HANDLES1: verify some more fieldsStefan Metzmacher1-32/+52
metze (This used to be commit ae0a7d0918cc15309a6d1166885f23531365007c)
2008-04-17torture/smb2: add SMB2-PERSISTENT-HANDLES1 testStefan Metzmacher3-1/+165
This demonstrates that the file seek position is still available on reconnected persistent handles. metze (This used to be commit 30e04ae3a02596de03d06874ff5dfc0ddc3bf902)
2008-04-17torture/smb2: add torture_suite_add_2smb2_test() helper functionStefan Metzmacher1-0/+55
metze (This used to be commit d70afbb0673184ed067e5f1c7608536025a3cca7)
2008-04-17torture/smb2: fix whitespacesStefan Metzmacher1-3/+3
metze (This used to be commit 66c0f331a231ea8897bd8f83658c86b1d2c85d62)
2008-04-17Avoid recursive make for code coverage.Jelmer Vernooij1-15/+18
(This used to be commit 2d1ca8cb7a1c39894e5f232f7e84936e6e1830ee)
2008-04-17Avoid using event_context_find where possible.Jelmer Vernooij2-4/+2
(This used to be commit 04420b4689bc223202d5bba871e3eea16301e8e9)
2008-04-17Fix the build.Jelmer Vernooij3-4/+4
(This used to be commit 40b7b0e503cff31ea4e3d4822f2263fbeb76c57a)
2008-04-17Use provided event context rather than looking for it.Jelmer Vernooij5-16/+13
(This used to be commit fd0bb96acea3d7949cf0574bb6f3568a90f67f4e)
2008-04-17Remove event context tracking from the credentials struct.Jelmer Vernooij3-13/+6
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-16Avoid event_find_context when a event context is already available.Jelmer Vernooij3-5/+4
(This used to be commit 4ca264679ecfd938c538a93f4efff1bfa23c3744)
2008-04-16Adjust the expectations of the struct based winbind test.Andrew Bartlett1-7/+14
These expectations (such as what happens when we have no trusted domains) were incorrect, compared with Samba3 (which is the reference for this protocol). Andrew Bartlett (This used to be commit 29d5de9e8fb69346e29a95c6fcaefabd018c9447)
2008-04-16fixed popt handling on 64bit boxes in gentestAndrew Tridgell1-7/+7
(This used to be commit 40c93ffbe9eb09a5b3dc02ba56d28bf50df8ed82)
2008-04-16Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett1-2/+0
(This used to be commit 18dd8120cc35fe3d1cd4455c1f6a32b503274d97)
2008-04-16Fix struct_based winbind test for 'check machine account'.Andrew Bartlett1-1/+1
The problem here was that we did not fill in the error strings in the success case, and the testsuite checked against the incorrect 'freindly' error string. Andrew Bartlett (This used to be commit df05f118831245bdb19573711545bdb1b01a0c50)
2008-04-16Remove policy library - it's now in a separate git repository.Jelmer Vernooij1-2/+0
(This used to be commit 9b364bf390524fa34db1b3d7e6f875a6b8f35f24)
2008-04-15Fix some of the winbind tests.Andrew Bartlett1-1/+2
Some of the test expectations were incorrect. Andrew Bartlett (This used to be commit bc0e94360edb99e967dac01a3ecff42de0c1c222)
2008-04-15Fix warnings.Jelmer Vernooij1-2/+2
(This used to be commit 88013ca9775a6ff5e5a393f9d8238dbcd197f26f)
2008-04-15Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables ↵Jelmer Vernooij1-5/+2
directly instead. (This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
2008-04-14Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4Jelmer Vernooij12-32/+32
(This used to be commit 1ef3830bb0d6e91e3b00e880784ca0741d9b4d49)
2008-04-14Fix unresolved symbols.Jelmer Vernooij1-4/+2
(This used to be commit 8573e828d1b68c47b3c1754e9be230b2e78d9d52)
2008-04-14Fix problems with event context not being the parent.Simo Sorce12-32/+32
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij4-197/+144
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14Remove prototypes from build.h in preparation of removing build.hJelmer Vernooij1-0/+12
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)