summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5641: Fix from James Peach @ SGI for oplock2 test.Jeremy Allison1-2/+3
Jeremy. (This used to be commit 69e99d97d1547ec8f8e7f9756b87f211c90557b6)
2007-10-10r5589: Ensure the torture code that uses cli_list and cli_list_oldJeremy Allison1-2/+2
matches the new MS-DFS function prototypes. Should fix the build farm tests. Jeremy. (This used to be commit 3d4d8bb6544abc4959f75bb962d8e1fb3d37a55e)
2007-10-10r5525: Add extra case to torture to test this (we currently fail with the wrongJeremy Allison1-2/+45
error message but we correctly deny the open). Jeremy. (This used to be commit 99b89867c33a2209c42b6610d62ead0cf2af05af)
2007-10-10r4645: patch from Rob to fix the build breakage in vfstest after the ↵Gerald Carter1-2/+5
reload_printers() cleanup (This used to be commit 054b64fb86328556288d097e1201a24d53d0bec9)
2007-10-10r4570: Replace cli->nt_pipe_fnum with an array of NT file numbers, one for eachVolker Lendecke1-1/+5
supported pipe. Netlogon is still special, as we open that twice, one to do the auth2, the other one with schannel. The client interface is completely unchanged for those who only use a single pie. cli->pipe_idx is used as the index for everything except the "real" client rpc calls, which have been explicitly converted in my last commit. Next step is to get winbind to just use a single smb connection for multiple pipes. Volker (This used to be commit dc294c52e0216424236057ca6cd35e1ebf51d0da)
2007-10-10r4268: Merge fix for bugzilla #2150.Tim Potter1-1/+1
(This used to be commit f00ae4ab0c36a623257861fb65373b39cf075921)
2007-10-10r4236: More *alloc fixes.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 6b25a6e088390d33314ca69c8f17c869cec3904b)
2007-10-10r4103: lock timeout is in milliseconds (as in reply.c)Herb Lewis1-1/+1
(This used to be commit 1feda3649fa5dd7233ea66057fc431948c87825b)
2007-10-10r3072: Fix for bug #1947 - incorrect use of getpwnam() etc. interface.Jeremy Allison1-6/+0
Jeremy. (This used to be commit aaab1120849efca11c68bdce9285bad25e05eecf)
2007-10-10r2824: restored the is_case_sensitive option to ms_fnmatch() in Samba3. It isAndrew Tridgell1-1/+1
very rarely used, but we sohuldn't be removing a feature in a minor release of this kind. (This used to be commit 4ce0505bc369243aa77013519ce4e4f6e50f5a48)
2007-10-10r2814: Exactly the same as "main" build fix.Rafal Szczesniak1-1/+1
rafal (This used to be commit 7fa94c38951fcd803a8e769a867a008e47f4129a)
2007-10-10r1492: Rework our random number generation system.Andrew Bartlett1-1/+1
On systems with /dev/urandom, this avoids a change to secrets.tdb for every fork(). For other systems, we now only re-seed after a fork, and on startup. No need to do it per-operation. This removes the 'need_reseed' parameter from generate_random_buffer(). Andrew Bartlett (This used to be commit 36741d3cf53a7bd17d361251f2bb50851cdb035f)
2007-10-10r1444: Another attempt to fulfil the 100% promise. There might be two dots ↵Volker Lendecke1-1/+1
at the end... Volker (This used to be commit 65518960e54f98e750c7e044004ce72a7503760b)
2007-10-10r1396: Give the build farm a chance to be clean before 3.0.5. We don't acceptVolker Lendecke1-0/+4
filenames ending in a dot. Volker (This used to be commit f17cb54a6f97b2ce0084d27ec219b4c3fe05c1fa)
2007-10-10r1328: Fix the buildVolker Lendecke1-1/+1
(This used to be commit 49f3f0412fc3ce0e735455e63b39143765fdde82)
2007-10-10r1325: Always use GetTimeOfDay() (wrapper). Ensure ldap replicationJeremy Allison1-2/+2
sleep time is not more than 5 seconds. Should fix issue reported by Chris Garrigues <cwg@deepeddy.com>. Jeremy. (This used to be commit fbc06831d3a7e8645409158ee1ae1f9f192913a7)
2007-10-10r1154: Change default setting for case sensitivity to "auto". If set to autoJeremy Allison1-1/+1
then is the client supports it (current clients supported are Samba and CIFSVFS - detected by the negprot strings "Samba", "POSIX 2" and a bare "NT LM 0.12" string) then the setting of the per packet flag smb_flag FLAG_CASELESS_PATHNAMES is taken into account per packet. This allows the linux CIFS client to use Samba in a case sensitive manner. Additional command in smbclient "case_sensitive", toggles the flag in subsequent packets. Docs to follow. Jeremy. (This used to be commit cf84c0fe1a061acc0313f7db124b8f947cdf623d)
2007-10-10r81: Make EA's case independent - fix smbtorture to test for this.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 0661357484a33329c75457527416667feaf57ef9)
2004-03-30Ensure we cope correctly with ea length of zero. Detect torture fail correctly.Jeremy Allison1-0/+12
Jeremy. (This used to be commit 43db249fb814cef99afecd22c20a824d2519faf9)
2004-03-29Setting EA's to zero length deletes them.Jeremy Allison1-1/+28
Jeremy. (This used to be commit 01fb8717628d1daad19725a97f6ae2d729afcac2)
2004-03-29Fix get/set of EA's in client library. Added torture test for it.Jeremy Allison1-4/+17
Jeremy. (This used to be commit 0d239a9c070bdc1ce2d2806fc02549c4750597aa)
2004-03-27Working (tested) client code for setting EA's by filename and fnum.Jeremy Allison1-0/+55
Now for parsing out the retrieved EA's. Jeremy. (This used to be commit 5eeeee302cec2cc1f6c130ed44be9df028f73cde)
2004-03-12Fix build after Jeremy -- yet another place where convert_string() wasn't ↵Alexander Bokovoy1-2/+2
updated (This used to be commit 9acd46ab462cb4aee9938658dda594ef8b8ddcbd)
2004-03-09Given how core this code is, I figure it should have it's own testsuite.Andrew Bartlett1-0/+35
Big thanks to tpot and mbp for showing how easy it can be to write a simple unit test, and for providing the STF. This also changes the strstr_m() code to use strstr_w() (avoiding duplication) and fixes it so that it passes the STF. (We now always restart before doing the unicode run, until sombody can show me why the testsuite is wrong). Andrew Bartlett (This used to be commit a893a324f37e6a171719db8ffffe66df31c2dbaa)
2004-02-26Merging Richard's rename test.Jeremy Allison1-6/+75
Jeremy. (This used to be commit 5646b6c989c6f13fe1149cf24bf8af87fa95b759)
2004-02-23Janitor for tpot...bugzilla #1098, msleep already exists on aixJim McDonough2-6/+6
(This used to be commit 4319df7fdc2d878c509381923cc1db4d731620ba)
2004-02-20Make SMB_FILE_ACCESS_INFORMATION call work correctly.Jeremy Allison1-6/+9
Jeremy. (This used to be commit 0ea0ada6c609e1bb0fb4aace24e1beb7197495b5)
2004-02-20Make us bug-for-bug compatible with W2K3 - to get delete on close semanticsJeremy Allison1-9/+17
on an initial open the desired_access field *must* contain DELETE_ACCESS, simply having it map from a GENERIC_ALL won't do. Fixes delete on close test. Jeremy. (This used to be commit 5c6f8b1053fd1f170fbb76640649653f8aa80f18)
2003-12-30Fix Bug # 924Volker Lendecke1-2/+11
Volker (This used to be commit 3663ed2b964cc306cfe6b4060b51d991405e720d)
2003-12-19A small fix to torture.c to cleanup the error handling and prevent crashes.Richard Sharpe1-6/+6
I really should clean up the comment as well. (This used to be commit 34351e457a0d9c494653179429fb71453d1d838e)
2003-12-02Two trivial warningsVolker Lendecke1-1/+3
Volker (This used to be commit a13e088493d91d39f730ba4b5138d5c4c5aa113a)
2003-11-06Final round of printf warnings fixes for the moment.Tim Potter3-13/+17
(This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
2003-10-22Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison1-1/+1
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy. (This used to be commit d7e35dfb9283d560d0ed2ab231f36ed92767dace)
2003-10-14Enclose usage of st_blksize and st_blocks struct stat members inTim Potter1-0/+12
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS, respectively. Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>. (This used to be commit 18adfdbe0c6ed79ba8ac07956b1e7abc226556c3)
2003-08-27Add CAP VFS module from Monyo. Primary purpose of this module is to provide ↵Alexander Bokovoy1-6/+9
CAP-compatible encoded file names for CJKV (This used to be commit e8a5a962ed2218144cbb9c593d8e996c7d034b0c)
2003-08-26Fix for #150.Alexander Bokovoy1-8/+8
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime. 1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5 2. Make CP850 charset module shared and build it by default Should fix Solaris run-time (This used to be commit e855dc8c9115fa11d315eb34d57722ff612daa11)
2003-08-20metze's autogenerate patch for version.hGerald Carter1-2/+2
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-12Fix for bugid #205 - work by Andrew Bartlet (modified to useJeremy Allison1-1/+1
fixed buffer by me). Jeremy. (This used to be commit 6f68b8de4760a2103eae0a51b2aca356990ea526)
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison2-3/+3
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-07-23convert snprintf() calls using pstrings & fstringsGerald Carter3-5/+5
to pstr_sprintf() and fstr_sprintf() to try to standardize. lots of snprintf() calls were using len-1; some were using len. At least this helps to be consistent. (This used to be commit 9f835b85dd38cbe655eb19021ff763f31886ac00)
2003-07-22Fixup a bunch of printf-style functions and debugs to use unsigned long whenTim Potter4-12/+15
displaying pid_t, uid_t and gid_t values. This removes a whole lot of warnings on some of the 64-bit build farm machines as well as help us out when 64-bit uid/gid/pid values come along. (This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)
2003-07-10i guess i'm the only one this ever annyoed...Gerald Carter1-2/+2
fix the confusion when we tdb_lock_bystring() but we retrieve an entry using tdb_fetch_by_string. It's now always tdb.*bystring() (This used to be commit 66359531b89368939f0e8f584a45844b5f2f99e7)
2003-07-04More conversions I missed. Thanks metze.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 4f78d747e66b38edcd2a5754681f9a01aeaf7864)
2003-07-04Fixed strlower changes I missed. Pointed out by metze.Jeremy Allison1-2/+2
Jeremy (This used to be commit da5ee2b765fc321b14e92eb27bde8ec8930b61d4)
2003-06-26Move up intialisation of logging, so we catch errors in handling 'preload ↵Jelmer Vernooij1-4/+4
modules' (This used to be commit 13b81d0d92b9e28eaab18f5437060e79f6075f9e)
2003-06-20Back out some of the changes to nsstest. I've kept the NULL pointerTim Potter1-138/+8
dereference bugfixes but left out the gethostbyname (wins) tests pending a nicer way to integrate it. (This used to be commit a7e67aaffe13b2828861046013b51d62aa1db057)
2003-06-16Update nsstest to cope with wins NSS module as well as winbind NSSTim Potter1-12/+183
module. Use "wins" as the nss name to invoke this behaviour. Also, fixed nsstest so it doesn't segfault when a nss function can't be dlopened(). Log an error and abort the test gracefully instead. (This used to be commit 66bafbe371359bbdec402ae47bc15024bec33f4e)
2003-06-10fixed smbtorture LOCK1 test to know about the correct multiplier forAndrew Tridgell1-2/+3
timed blocking locks (This used to be commit 24feb1afa621c4f93135f36e635af08abe8e7c24)
2003-06-04Fix compiler warnings for vfstest. Patch from Stefan Metzmacher ↵Alexander Bokovoy1-2/+3
<mezte@metzemix.de> (This used to be commit db255608f15c447596c336dbdafb56fb9308e9c5)
2003-05-14Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy1-33/+33
VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)