summaryrefslogtreecommitdiff
path: root/source3/torture/torture.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-27Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison1-1/+1
zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy. (This used to be commit 2e92418a138bf2738b77b7e0fcb2fa37ad84fc0c)
2007-10-24This is a large patch (sorry). Migrate from struct in_addrJeremy Allison1-5/+5
to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-124/+124
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison1-1/+1
IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)
2007-10-10r25563: Show which local-substitute subtest failsVolker Lendecke1-28/+32
(This used to be commit 2b3392df1024539d326fb0f560ab2b0a29124a06)
2007-10-10r25538: Revert r25533Volker Lendecke1-3/+3
(This used to be commit 1e02208c43cb27ca4b43d268a7f0324f2a9b2cfd)
2007-10-10r25533: remove a pstringVolker Lendecke1-3/+3
(This used to be commit 0f2552e20fb66b0b80006a8a7b999ccf6f54c656)
2007-10-10r24733: Add support for storing DATA_BLOBs in gencache.tdb (including ↵Günther Deschner1-0/+41
torturetest). Mimir, please have a look. DATA_BLOBs will now just show up as "DATA_BLOB" values with "net cache list". Guenther (This used to be commit b8ad546d041a2a8cc85c7db8eba4d2d3b97df1a8)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison1-4/+7
Long overdue fix.... Jeremy. (This used to be commit 073fdc5a58139796dbaa7ea9833dca5308f11282)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher1-3/+3
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10r21963: Fix another uninitialized buffer used in test write - valgrindJeremy Allison1-0/+2
fix. Jeremy. (This used to be commit 0119d2c18348a9e0fcc79e247a9014d929af0ce7)
2007-10-10r21948: Fix valgrind error in build farm samba3 smbtorture. We wereJeremy Allison1-0/+2
using an uninitialized buffer for read/write tests. Jeremy. (This used to be commit e27d094620178f316bf79540164bbfe6ff3a3851)
2007-10-10r21609: Fix memory leaks in error code paths (and one in winbindd_group.c).Jeremy Allison1-0/+5
Patch from Zack Kirsch <zack.kirsch@isilon.com>. Jeremy. (This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51)
2007-10-10r18310: Add a little test for some gencache routinesVolker Lendecke1-0/+60
Remove unused gencache_set_only Use CONST_DISCARD instead of SMB_STRDUP Volker (This used to be commit 651e7e44e2e56eab81c5fe708f33e6d3918a39f9)
2007-10-10r18070: be more verbose when errors happenStefan Metzmacher1-0/+3
metze (This used to be commit 9d71a037b10325dd5a258f59b8434b9fa158462e)
2007-10-10r17853: Fix an uninitialized variable (m_time2). Jeremy, please check.Volker Lendecke1-2/+3
Thanks, Volker (This used to be commit 389910b2d376bc5795b0afacb86e45d7a6987491)
2007-10-10r17800: Start using struct timespec internally for file timesJeremy Allison1-11/+12
on the wire. This allows us to go to nsec resolution for systems that support it. It should also now be easy to add a correct "create time" (birth time) for systems that support it (*BSD). I'll be watching the build farm closely after this one for breakage :-). Jeremy. (This used to be commit 425280a1d23f97ef0b0be77462386d619f47b21d)
2007-10-10r17761: Handle times consistently across all client utils.Jeremy Allison1-6/+6
Fixes bugs reported in libsmbclient. Jeremy. (This used to be commit 42a417fb75313b093948602c3be8e2f386048b5f)
2007-10-10r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke1-13/+16
Volker (This used to be commit 94817a8ef53589011bc4ead4e17807a101acf5c9)
2007-10-10r17554: CleanupVolker Lendecke1-6/+1
(This used to be commit 761cbd52f0cff6b864c506ec03c94039b6101ef9)
2007-10-10r17457: Add a test to do some operations on group mapping.Volker Lendecke1-164/+5
Volker (This used to be commit 68db058fdf508d5b4d38731ece21f5d92feca00c)
2007-10-10r17425: Add the multi-key wrapper. If it's necessary to add general blobs as ↵Volker Lendecke1-0/+164
keys, this can trivially be added later. Volker (This used to be commit 6915adb9780052952e4a1d9e1c3e6cac06f48463)
2007-10-10r17338: Add support for multiple shares test inspired by Samba 4 torture's ↵Alexander Bokovoy1-44/+153
--unclist option. Triggered by -b sharelist_file option. Based on Peter Samogyi's work. I'm not sure what concept for fstring replacement is currently in place though (talloc-ed strings? or it was for pstring only?) (This used to be commit c9f8fafad698c5bc75df86ee8b611104d3fb65bc)
2007-10-10r17190: Remove a warning from "opi", a 64-bit machineVolker Lendecke1-1/+1
(This used to be commit 844c98eab475ea047aeaae3ef1250897413cc823)
2007-10-10r16960: Some warnings from host "opi"Volker Lendecke1-4/+5
(This used to be commit 083ef11cc9be8f1299f233bde194173e092e2c3c)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-44/+82
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
2007-10-10r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500Derrell Lipman1-1/+1
lp_load() could not be called multiple times to modify parameter settings based on reading from multiple configuration settings. Each time, it initialized all of the settings back to their defaults before reading the specified configuration file. This patch adds a parameter to lp_load() specifying whether the settings should be initialized. It does, however, still force the settings to be initialized the first time, even if the request was to not initialize them. (Not doing so could wreak havoc due to uninitialized values.) (This used to be commit f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
2007-10-10r13072: Fix segfault in vfstest and smbtorture.Deryck Hodge1-0/+2
deryck (This used to be commit 0fdb062f35b4c4b19bf4122d48a0b4edacfe74ca)
2007-10-10r11420: Fix issue pointed out by Dina Fine <dina@exanet.com>. We canJeremy Allison1-1/+5
only tell at parse time from the wire if an incoming name has wildcards or not. If it's a mangled name and we demangle the demangled name may contain wildcard characters. Ensure these are ignored. Jeremy. (This used to be commit 4cd8e2a96b98ff711905e8c6f416b22440c16062)
2007-10-10r10656: BIG merge from trunk. Features not copied overGerald Carter1-1/+0
* \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
2007-10-10r8653: Fix bug #2659.Lars Müller1-1/+1
(This used to be commit 2720c82a950a0afded25c2c161cda47ea412fea3)
2007-10-10r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter1-2/+0
(This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
2007-10-10r7902: Fix the buildVolker Lendecke1-7/+7
(This used to be commit 6d431eb676e1df4cfdcbeaed5fa81adfbfc77325)
2007-10-10r7390: Revision 7371 did not help :-(Volker Lendecke1-4/+0
(This used to be commit a405e7f479cb71be5634b79f2d7847fcf018f516)
2007-10-10r7371: On one build farm box dirtest1 does not return, I think this might be ↵Volker Lendecke1-0/+4
due to it being too slow. The build farm re-runs that with debuglevel 10, and this ends up with a 400MB logfile which is not synced. Lets see if with this change the machine pops up on build.samba.org.... Volker (This used to be commit b4a6ace00dbf1a6b6200704197df7ecd460412e9)
2007-10-10r6586: get rid of a few more compiler warningsHerb Lewis1-2/+3
(This used to be commit 173375f8d88bf8e8db8d60e5d5f0e5dcc28767d9)
2007-10-10r6575: use samba4 torture please message on samba 3 tortureSimo Sorce1-0/+3
(This used to be commit 36eb9aa48a3bee73962b66e21d1489187fd46977)
2007-10-10r6176: Fix a possibly uninitialised variable warning.Tim Potter1-1/+1
(This used to be commit 3cf5ad4e80f95c302a502a78e2ee1b23524625bf)
2007-10-10r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter1-3/+3
(This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
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-10r4268: Merge fix for bugzilla #2150.Tim Potter1-1/+1
(This used to be commit f00ae4ab0c36a623257861fb65373b39cf075921)
2007-10-10r4103: lock timeout is in milliseconds (as in reply.c)Herb Lewis1-1/+1
(This used to be commit 1feda3649fa5dd7233ea66057fc431948c87825b)
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-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-10r81: Make EA's case independent - fix smbtorture to test for this.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 0661357484a33329c75457527416667feaf57ef9)