summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2008-02-15Fix a pointer to int conversion warning: cast the int instead.Michael Adam1-1/+1
Michael (This used to be commit 3cace4b7aa87a2f5bc7b6efd095366699d939511)
2008-02-15Fix two const warnings.Michael Adam1-2/+2
Michael (This used to be commit 03db3bd0774e0435089eef15f88355133149d658)
2008-02-15Try to fix the build of smbiconv on systems without native iconv.Michael Adam1-1/+1
Use the smb_iconv_t instead of iconv_t. Michael (This used to be commit bdc00a05b95a7a629a6cbf2af21760b6ff874bd9)
2008-02-15Fix compiling torture/smbiconv.c: allow to use realloc directly by #undef ↵Michael Adam1-0/+1
realloc. Michael (This used to be commit 113377a7929975bf29c2cfff1652781fae24e826)
2008-02-15Remove torture/samtest.h - last trace of late samtest.Michael Adam1-37/+0
Michael (This used to be commit e846148116f84d1428b5c7e60a4181cc872cc3eb)
2008-01-30Fix some IBM checker warningsVolker Lendecke1-4/+4
(This used to be commit 0341b0be49fef5e6003a170100388b5c47a41e67)
2008-01-30ntlm_auth: test should honour configfile option to run on build farm.Kai Blin1-0/+6
(This used to be commit 11c9c1536b153047ba387b9804f34a6555a5ae26)
2008-01-30ntlm_auth: Add a blackbox test.Kai Blin1-0/+212
(This used to be commit f02b74fc067074d8e48e186a7b7255a244592f7d)
2008-01-23strtok -> strtok_rVolker Lendecke1-2/+3
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
2008-01-19Add "split_ntfs_stream_name()" together with a torture testVolker Lendecke1-0/+69
(This used to be commit d813bd9e02d9baf916eb96c478be89f0c435e07c)
2008-01-10Remove redundant parameter fd from SMB_VFS_WRITE().Michael Adam1-1/+1
Michael (This used to be commit c8ae7d095a2a6a7eac920a68ca7244e3a423e1b1)
2008-01-10Remove redundant parameter fd from SMB_VFS_READ().Michael Adam1-1/+1
Michael (This used to be commit a8fc2ddad8d5f7c6c00cb36c74a32a02d69d1d04)
2008-01-09Fix memory handling in torture/cmd_vfs.c:cmd_open and don't leak fsp_name.Michael Adam1-0/+13
Michael (This used to be commit f93fc818143a7442a6e8a90f16f60c536a5b8f9e)
2008-01-07Remove redundant parameter fd from SMB_VFS_LOCK().Michael Adam1-1/+1
Michael (This used to be commit 4f3ab2c406072e0b43581057e7e785e8ad454cfa)
2008-01-07Remove redundant parameter fd from SMB_VFS_FTRUNCATE().Michael Adam1-1/+1
Michael (This used to be commit 2ad66050a0452b8e7e08b1e7a01efa00c72fd451)
2008-01-07Remove redundant parameter fd from SMB_VFS_FCHOWN().Michael Adam1-1/+1
Michael (This used to be commit fbb193db3e0dc51cb000ae406a68bc547f31d9ab)
2008-01-07Remove redundant parameter fd from SMB_VFS_FCHMOD().Michael Adam1-1/+1
Michael (This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
2008-01-07Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam1-1/+1
Michael (This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
2008-01-07Remove redundant parameter fd from SMB_VFS_FSYNC().Michael Adam1-1/+1
Michael (This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)
2008-01-07Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam1-1/+1
Michael (This used to be commit df929796f2698698d2875227bda8500589cca2df)
2008-01-04Added -e option to smbtorture to test encrypted versionsJeremy Allison1-1/+60
of the tests. Jeremy. (This used to be commit e85b346f3d73f50d6dea19ffb6cca1180345e687)
2007-12-26Remove the sampwent interfaceVolker Lendecke1-18/+0
(This used to be commit 9e80b969fb40766de2c9b1a05d16bf4d4c6e46f7)
2007-12-18Add a in-memory cacheVolker Lendecke2-0/+89
This is a more general API that caches data with a LRU scheme. See include/cache.h. No comments yet, I'm still working on it. But Jeremy has given me a hint in one of his checkins that he would like to make use of this now. The idea is that we get rid of all our silly little caches and merge them all into one cache that we can then very easily trim, for example even with a smbcontrol message if someone decides memory is tight. The main user is the stat cache, this patch also converts the getwd cache. More caches to come. (This used to be commit 7a911b35713538d82001a3c9f34152e293fe1943)
2007-12-17Remove t_doschar.cVolker Lendecke1-41/+0
(This used to be commit b89f87242b9c949401f3fa9b352211906cb76895)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison7-9/+9
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-10dbwrap_rbtVolker Lendecke1-0/+83
This is meant as a replacement for the internal tdb. To me it seems a bit silly that for in-memory structures we do our own memory management. With this rbt based approach we can make use of the system-supplied malloc. (This used to be commit 54e5d4404619443caed32e2acff8921cdbff9ed1)
2007-12-10Tiny simplificationsVolker Lendecke1-1/+1
locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only) (This used to be commit 2f3c865707010bc7c463a02782dbee3dc2479da1)
2007-12-07Don't build rpctorture anymore - not maintained. Just remove.Jeremy Allison1-564/+0
Remove all vestiges of pstring (except for smbctool as noted in previous commit). Jeremy (This used to be commit 4c32a22ac50ada3275d2ffba3c1aa08bee7d1549)
2007-12-06Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2-5/+6
Mostly compiles.... Jeremy. (This used to be commit c87f3eba9aa52f4ab25d77e2167262bf5c43b1a6)
2007-12-05remove some staticsVolker Lendecke1-0/+34
(This used to be commit 97c9a4042d36178a728b5e0f8923091c7069366d)
2007-12-05add SESSSETUP_BENCHVolker Lendecke1-0/+41
(This used to be commit 3b057022a570a1fb68e03c477a6989e7d1e7cef2)
2007-12-04Ok, down to just the client/*.c code now.Jeremy Allison1-30/+52
Jeremy. (This used to be commit 7d3959f81a5439800b813ef052382e67424c90cd)
2007-12-04Remove tok pstring from util_str.cJeremy Allison1-42/+32
Do we even make rpctorture anymore ? Jeremy. (This used to be commit fecc3cc45af6145fad9a0570e6cae8422bd2443d)
2007-12-04pull_ascii_pstring is gone.Jeremy Allison3-14/+21
Jeremy. (This used to be commit 288aacce4b56d159218be311019cb951e5a232fd)
2007-12-04The usual !pstring...Jeremy Allison3-52/+51
Jeremy. (This used to be commit b676262a781363e7be49b21817668a53cca75c2d)
2007-11-30Remove pstring from clirap.c.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 6e27663cb44a79f729fa4366e000c43383f6d1b7)
2007-11-09Remove the silly "user_socket_options" global variableVolker Lendecke2-7/+3
This is better done with a 'lp_do_parameter(-1, "socket options", ..); (This used to be commit 814bed029efa391e664ac432d0d68dfeab26381f)
2007-11-08Remove more pstring/fstrings.Jeremy Allison2-3/+11
Jeremy. (This used to be commit 7a1de5b44e84a7474e78518c6ba33b3fedc42b5f)
2007-11-03Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison1-0/+5
I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
2007-11-03Remove more static data from lib/util_sock.c andJeremy Allison1-1/+1
callers. Jeremy. (This used to be commit 35aaa36f82c70964cee5d0778eb04547b226dd3f)
2007-10-27Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison3-5/+5
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 Allison3-15/+15
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 Allison13-170/+170
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 Allison3-5/+5
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-10r25055: Add file_id_string_tosVolker Lendecke2-2/+2
This removes file_id_string_static and file_id_string_static2 (This used to be commit 638c848c9afe374feb30e34c494f89b2a6c64f7b)
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 Tridgell19-38/+19
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)