summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2003-04-04Test harness that exercises check_dos_char()Martin Pool1-0/+42
(This used to be commit 346c763fd1f5d7ef51ca3f748a276d9982275bfe)
2003-04-01reversed the sense of the TCON test, now that we know that win2003Andrew Tridgell1-10/+10
fixes this. This means that TCON fails on win2000, but passes on Samba and win2003 (This used to be commit 591a500ed77870bc72acb94f2fd24070b7d617b6)
2003-03-30This changes our handling of invalid service types that theVolker Lendecke1-0/+100
client requested on tconx. We now return the same error code like NT4SP6 and W2kSP3 return. TCONDEV is a little test for this. Volker (This used to be commit 6ab88f31d6773f16baff8421ec9e530461cc8f93)
2003-03-30added simple tests for SMBchkpath and SMBioctlAndrew Tridgell1-0/+142
(This used to be commit ca982a9f1d6485e2d388d4b2e9c13806736ad91e)
2003-03-29updated the TCON test so that win2000 passes. Samba now fails thisAndrew Tridgell1-32/+63
test. It is an interesting test because it shows that win2000 completely ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to do this as we check the VUID and TID fields before we call the SMB specific reply functions. The test also shows that the list of open files must be global to the socket, not specific to a tcon. (This used to be commit be98069c4e5bbfbe3ce66c20f796c2d2324e7511)
2003-03-29added a simple test for the old SMBtcon interfaceAndrew Tridgell1-0/+38
(This used to be commit c95ae394c5dfe5e0fcc658119213b17bcb95fab5)
2003-03-24Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij2-45/+13
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
2003-03-19Run test 10000 times to make measurement easier.Martin Pool1-2/+7
(This used to be commit e051789ac6cc05f8a643ea81e887d3b969cf3a27)
2003-03-18The new string macros catch a bug at compile that previously onlyMartin Pool1-0/+7
trapped at runtime, which is great. So we have to try a little harder to provoke an overflow -- which is still caught nicely in developer mode. (This used to be commit cea126f62ad411f5efbebc7c5d39297fd8ef9efb)
2003-03-13show which files we fail to create in the casetable testAndrew Tridgell1-2/+5
(This used to be commit d40e3747cfa2994349aa84568f7b79457341a058)
2003-03-12Update usage message.Martin Pool1-1/+2
(This used to be commit 17f01f6959fb79ba11a56d6869ec9789e3ee2f74)
2003-03-12Add example of string overflow which is now caught in developer mode.Martin Pool1-0/+16
(This used to be commit dcf1705782f5d589120624c90b695b81a0332e6b)
2003-03-11having sticky create times is not a bugAndrew Tridgell1-1/+0
(This used to be commit f283f71104319fa9f1e7d22fc91b8d7224ae157a)
2003-03-11fixed the MANGLE smbtorture test with the new paranoid string codeAndrew Tridgell1-1/+1
(This used to be commit 7be44dbe009a8d831c0720a2649fc871b067beef)
2003-03-11make sure we have an empty directory when we start the utable testAndrew Tridgell1-1/+5
(This used to be commit af415842b80f024ca26b4e3bc52fd73fce0a28f3)
2003-03-10fixed use_oplocks and the timeout in smbtorture startupAndrew Tridgell1-6/+16
(This used to be commit cec1ef09e5009cdac22e6c9ca101a49c5ef36b1a)
2003-03-10added -i option for ignoring dot errors in masktestAndrew Tridgell1-2/+9
(This used to be commit 0f4d1172a6add3f490fca22a45975d2588485146)
2003-03-06Make smbtorture use the same cli_full_connection() framework as the rest ofAndrew Bartlett4-865/+842
Samba. This fixes things like not doing *SMBSERVER etc. Andrew Bartlett (This used to be commit 8863ff863c1da42aa6b8718f315c608d9d9067c6)
2003-03-06FIXME about crash on failure case.Martin Pool1-2/+5
(This used to be commit a387c4209735f8e4c826cad7cb10c5349b2041ec)
2003-03-05Add *SMBSERVER fallback code to smbtorture ...Richard Sharpe1-3/+17
(This used to be commit 460339db2246b0213252ee34f507eb8e55ecbecb)
2003-03-05Add code to allow us to specify the port to connect on when performingRichard Sharpe1-6/+14
a test ... (This used to be commit 1128a2fb4c16681e669efe605ff7d7161a2f7acd)
2003-02-28Add simple test harness that exposes StrCaseCmp for testing.Martin Pool1-0/+20
(This used to be commit ab77beca041595bc3bd70de3a6e1b49159a4964b)
2003-02-25More const fixes and flow on fixes from yesterday's const-fest.Tim Potter2-2/+2
(This used to be commit 018733eedd7897e6811e8461c07e3acf418c0e09)
2003-02-22Add staticAndrew Bartlett1-1/+1
(This used to be commit d0365f20c242bcfc4f5d8286c6c5654e310a9d45)
2003-02-22New locktest7 code based on patch from "Srikanta Shivanna" ↵Jeremy Allison1-0/+134
<sshivanna@pillardata.com> Jeremy. (This used to be commit caf298c3808cbdd683e884b32b7a0538505a3066)
2003-02-19correct init for vfs.conn, thanks StefanSimo Sorce1-1/+2
(This used to be commit 162683d2b5c15016fe1423876589573b48b9f5a6)
2003-02-18Add -V option (to print out version) to utilities where possibleJelmer Vernooij2-0/+2
(pdbedit already has a -V option..) (This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
2003-02-15Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett2-2/+7
users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available at: http://www.itcollege.ee/~aandreim/samba This is a list of changes in general: 1. When creating machine account do not fail if SD cannot be changed. setting SD is not mandatory and join will work perfectly without it. 2. Implement KPASSWD CHANGEPW protocol for changing trust password so machine account does not need to have reset password right for itself. 3. Command line utilities no longer interfere with user's existing kerberos ticket cache. 4. Command line utilities can do kerberos authentication even if username is specified (-U). Initial TGT will be requested in this case. I've modified the patch to share the kinit code, rather than copying it, and updated it to current CVS. The other change included in the original patch (local realms) has been left out for now. Andrew Bartlett (This used to be commit ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)
2003-02-11Fixup delete on close torture.Jeremy Allison1-10/+4
Jeremy. (This used to be commit b031e81f4f4d5dc10e792c216d269b49569f5af9)
2003-02-07Samba janitors: applying mbp's redundant umask fix.Jeremy Allison1-4/+0
Jeremy. (This used to be commit 45d4e58ca5da1c01f135470257bb17a5257e6fb2)
2003-02-03Got complete (I hope) coverage of the OPEN TRUNCATE ATTRIBUTES test.Jeremy Allison1-122/+91
Now to make Samba pass it :-). Jeremy. (This used to be commit 510cd30a6ec72544d24b79c13fc8a7d1c9415757)
2003-01-31Added first part of attribute matrix tests. Not run and compiled in right now...Jeremy Allison1-0/+101
Jeremy. (This used to be commit fdc14aa6f67b95350796cd1075a3910e3e5d84b6)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett4-20/+20
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-02BIG patch...Andrew Bartlett8-64/+66
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison1-1/+1
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
2002-11-23Please compile with :Jeremy Allison1-20/+26
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual if you're using gcc. It really does help ! Jeremy. (This used to be commit 41b56d975bc37434a4bff9188970346010dc6e1c)
2002-11-18Added HIDDEN/NORMAL attribute test.Jeremy Allison1-1/+49
Jeremy. (This used to be commit 657aa857a5615d953a3f68dd0ded6d4a95e5545e)
2002-11-07Fix the build.Jim McDonough1-1/+4
Build farm! Build farm! Please check the build farm! ...or at least run make torture. (This used to be commit 163ac344012d4520000f2ca91da50a379c7f288d)
2002-10-18Fix build. Extra parm was added to cli_full_connection, but not in locktest2.c.Jim McDonough1-1/+2
(This used to be commit 51e0f5c2dd469c59a41822dbda293e59794a7dc4)
2002-10-07forgot some bits from previous rpc_secdesc.h rework patchSimo Sorce1-3/+3
(This used to be commit 738b9237eda8fdb8adb534ab1a84070923f352f1)
2002-09-30Fix the compile issue in bin/samtest, and make the 'system' token just have theAndrew Bartlett1-2/+2
System sid. This avoids comparing with ACEs that we don't yet support in the ADS Domain security descriptor. (This used to be commit ace7738e123b28f69c290f9f1de50011d230e14b)
2002-09-29Remove sam/api.c.Andrew Bartlett2-14/+14
In order to reduce complexity, this patch removes the upper layer of the SAM API. Also, we remove the function pointers on the sam context - there really is no point making these replaceable - that's for the modules. Move a number of functions in include/interface.c around to allow for use of 'static' and to keep the external API in one chunk, at the bottem. All these functions were renamed to remove the context_sam -> sam Consequential changes in the samtest module, and back out metze's change for ACB filtering, becouse I think it belongs in the SAM backeds. (But I will take debate on this one). Changes to the lib/util_sid.c code to create a 'system' token, and make it a SAM_ASSERT() enforced requirement to have a token on those calls that specify it. samtest now uses this. We should have a samtest call to set your own token. We also need to extend our se_access code to cover the things that Win2k is returning in it's access tokens. Currently our system token doesn't pass, due to unexpected flags. (When running sam_ads against Win2k) Andrew Bartlett (This used to be commit b9036900d0bb227ec16c6a5792c18ef943dcf015)
2002-09-28Fix 'plugin' commandJelmer Vernooij1-2/+2
(This used to be commit b01c55ed5bbf4903a87fd17d70ae9acd832d60fe)
2002-09-28Patch from metze to fix enum_accountsJelmer Vernooij1-13/+56
(This used to be commit 9d529256c55e5a5099f69471ed1357cff06003fe)
2002-09-28Add the beginings of sam_ads to the tree.Andrew Bartlett1-3/+3
This module, primarilly the work of "Stefan (metze) Metzmacher" <metze@metzemix.de>, uses the Active Directory schema to store the user/group/other information. I've been testing it against a real AD server, and it is intended to work with OpenLDAP as well. I've moved a few functions around in our other libads code, which has made it easier to tap into that existing code. Also, I've made some changes to the SAM interface, I hope there are not too many objections... To ensure we don't get silly bugs in the skel module, it is now in the default compile. This way you should not forget to update it :-) Andrew Bartlett (This used to be commit 24fb0cde2f0b657df1c99474cd694438c94a566e)
2002-09-25notify user when no {domains,accounts} were foundJelmer Vernooij1-0/+10
(This used to be commit ee3b497962a28c7c58e866b8536b1d2ae6f9b23a)
2002-09-25Add samtest command 'enum_accounts' + few typo fixes in sam/interface.cJelmer Vernooij1-1/+29
(This used to be commit 81156d6556dab2ea23dea69da6940a0482d79d9b)
2002-09-25add samtest commands:Jelmer Vernooij1-1/+134
- show_domain - context (This used to be commit e969b1897269ebd27650c2192cd19ebda47e042e)
2002-09-25remove extern for AllowDebugChange since we don't use itJelmer Vernooij1-1/+0
(This used to be commit 70d9b71ceaeba95712fa61e601376ff5cc8e7714)