summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison19-19/+19
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23662: According to simo, check_dos_char is neededVolker Lendecke1-0/+42
(This used to be commit c195eccefea69c17169c350a13bbfe845fc6fc44)
2007-10-10r23660: Anybody know what check_dos_char() was used for? It wasn't called atVolker Lendecke1-42/+0
all, so it's gone. With it 8k bss went away. (This used to be commit 7e9a4c39a5ce620f8eac74d0ae4dd80b96c81aca)
2007-10-10r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison3-6/+23
Long overdue fix.... Jeremy. (This used to be commit 073fdc5a58139796dbaa7ea9833dca5308f11282)
2007-10-10r23359: Fix bug #4537, fix from jens.nissen@gmx.net.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 6ea7127f8e592f989a6263e360e809dcfdf98ef0)
2007-10-10r23195: Add void *private_data to brl_forallVolker Lendecke2-6/+8
(This used to be commit c91b2bdc160d76bf0b0770fe7f92cbc7124d6c3c)
2007-10-10r23183: Check in a change made by Tridge:Volker Lendecke2-7/+6
This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker (This used to be commit 9b10dbbd5de8813fc15ebbb6be9b18010ffe8139)
2007-10-10r23055: Rewrite messages.c to use auto-generated marshalling in the tdb. I'mVolker Lendecke1-4/+4
doing this because for the clustering the marshalling is needed in more than one place, so I wanted a decent routine to marshall a message_rec struct which was not there before. Tridge, this seems about the same speed as it used to be before, the librpc/ndr overhead in my tests was under the noise. Volker (This used to be commit eaefd00563173dfabb7716c5695ac0a2f7139bb6)
2007-10-10r22908: All callers of message_init now also call messaging_init. Unify those.Volker Lendecke1-2/+0
(This used to be commit 330946ad2307ca34f0a8d068a0193fcb8a0d6036)
2007-10-10r22906: Some more message_send_pidVolker Lendecke1-14/+27
(This used to be commit 8abf9f396375b42d838e992b3a4e40e68e550ab2)
2007-10-10r22736: Start to merge the low-hanging fruit from the now 7000-line cluster ↵Volker Lendecke3-3/+3
patch. This changes "struct process_id" to "struct server_id", keeping both is just too much hassle. No functional change (I hope ;-)) Volker (This used to be commit 0ad4b1226c9d91b72136310d3bbb640d2c5d67b8)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher1-2/+2
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher2-4/+4
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10r21965: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit cde58ee97ff0de1eb37f62fbf2d52134419dcb5f)
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-10r21755: Memory leak fixes from Zack Kirsch <zack.kirsch@isilon.com>.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 02d08ca0be8c374e30c3c0e665853fa9e57f043a)
2007-10-10r21715: Fix torture utime code.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 10430bf75accc71045ed359314dc2711fea8df01)
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-10r21116: Fix the build -- sorry!Volker Lendecke1-4/+8
(This used to be commit f4b073d8c85070290f475e7e2575c1233b9a9c4e)
2007-10-10r21090: Add some helper routinesVolker Lendecke1-0/+11
(This used to be commit 985dde8ed0a7e6da5adf9c55654a4fd362b22acb)
2007-10-10r21064: The core of this patch isVolker Lendecke1-2/+3
void message_register(int msg_type, void (*fn)(int msg_type, struct process_id pid, - void *buf, size_t len)) + void *buf, size_t len, + void *private_data), + void *private_data) { struct dispatch_fns *dfn; So this adds a (so far unused) private pointer that is passed from message_register to the message handler. A prerequisite to implement a tiny samba4-API compatible wrapper around our messaging system. That itself is necessary for the Samba4 notify system. Yes, I know, I could import the whole Samba4 messaging system, but I want to do it step by step and I think getting notify in is more important in this step. Volker (This used to be commit c8ae60ed65dcce9660ee39c75488f2838cf9a28b)
2007-10-10r20846: Before this gets out of control...Volker Lendecke1-0/+10
This add a struct event_context and infrastructure for fd events to smbd. This is step zero to import lib/events. Jeremy, I rely on you to watch the change in receive_message_or_smb() closely. For the normal code path this should be the only relevant change. The rest is either not yet used or is cosmetic. Volker (This used to be commit cd07f93a8aecb24c056e33b1ad3447a41959810f)
2007-10-10r20630: Fix some trivial memleaks.Günther Deschner1-0/+3
Guenther (This used to be commit 3bb94a081888eca69796b14057b551b078ee9a77)
2007-10-10r20261: merge 20260 from samba_3_0_24Herb Lewis3-6/+6
clean up a bunch of no previous prototype warnings (This used to be commit c60687db112405262adf26dbf267804b04074e67)
2007-10-10r20245: merge 20244 from samba_3_0_24Herb Lewis3-7/+10
get rid of more nested extern declarations warnings (This used to be commit e9df051f5201843e3428ddbed7a719553c2e799a)