Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-01-16 | s3:cluster: fix ctdb ipv6 support | Stefan Metzmacher | 1 | -10/+20 | |
We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD. CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions: - with struct ctdb_control_tcp it only supports ipv4. - with struct ctdb_control_tcp_addr it supports ipv4 and ipv6. You need new header files which defines struct ctdb_control_tcp_addr, but at runtime it should be fine to work against older ctdb versions (<= 1.0.68). metze | |||||
2009-01-15 | Allow reinit_after_fork to be called safely from within swat and other ↵ | Jeremy Allison | 1 | -10/+14 | |
binaries that don't have an event context or a msg context. Fixes crash bug in swat. Jeremy. | |||||
2009-01-16 | s3-util: for convenience, provide format comments in tdb_unpack(). | Günther Deschner | 1 | -7/+7 | |
Guenther | |||||
2009-01-15 | s3: make better use of ccache by not including version.h in every C-file. | Michael Adam | 4 | -4/+4 | |
version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael | |||||
2009-01-15 | Fix bug #6040 - Calling Samba print server with an aliased DNS-name fails. | Jeremy Allison | 1 | -4/+5 | |
Jeremy. | |||||
2009-01-14 | Remove smbclient globals that bled into clidfs.c. Now we only have | Jeremy Allison | 1 | -1/+2 | |
the connections list and authentication structures to worry about. Jeremy | |||||
2009-01-14 | Fix build of netapi. | Jeremy Allison | 1 | -1/+2 | |
Jeremy. | |||||
2009-01-13 | Fix bug noticed by Volker - if sendfile returns zero then | Jeremy Allison | 1 | -4/+12 | |
we might have to handle a short send by filling with zeros. Jeremy. | |||||
2009-01-13 | Fix bug #6019 File corruption in Clustered SMB/NFS environment managed via CTDB | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2009-01-12 | Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.c | Steven Danneman | 2 | -14/+66 | |
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2009-01-12 | Even for srclen == 0 we have to return something | Volker Lendecke | 1 | -0/+6 | |
This fixes a regression reported by Corinna Vinschen <corinna@vinschen.de> Thanks, Volker | |||||
2009-01-09 | s3:events: debug sys_select() errors | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2009-01-09 | s3:events: install a tevent debug handler that calls DEBUG() | Stefan Metzmacher | 1 | -1/+42 | |
metze | |||||
2009-01-08 | Fix race condition in alarm lock processing noticed by Richard Sharpe ↵ | Jeremy Allison | 1 | -1/+1 | |
<realrichardsharpe@gmail.com>. "It seems to me that if the lock is already held by another process when we enter this code, there is a race between the timeout and the granting. If the lock is subsequently granted, the process releasing the lock will signal the wait variable (or whatever) and our process will be scheduled. However, if the timeout occurs before we are scheduled, the timeout will be delivered first. We will have the lock but will forget we have the lock, and never release it." Jeremy. | |||||
2009-01-07 | Several fixes to our use of splice | Volker Lendecke | 1 | -4/+6 | |
The splice manpage explicitly requires loff_t as offset. Copy "offset" there. Probably not required, but I wanted to make sure it's as required. Splice blocks with large buffers. For me it worked with 16k and blocked with 32k and beyond. It would be nice to see a clarification in the manpage of splice for this behaviour. Splice if used with an offset increments the offset. From the manpage this was at least not entirely obvious :-) I haven't yet activated this (try_splice_call ist still false by default), it needs more testing. Volker | |||||
2009-01-06 | s3-samr: avoid all init_samr_user* functions. | Günther Deschner | 1 | -29/+35 | |
Guenther | |||||
2009-01-05 | s3:events: use more tevent_common_* functions | Stefan Metzmacher | 1 | -158/+6 | |
metze | |||||
2009-01-05 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 5 | -201/+186 | |
2009-01-05 | s3:events: register as tevent backend | Stefan Metzmacher | 1 | -137/+172 | |
metze | |||||
2009-01-05 | s3:events: get rid of the stupid set_event_dispatch_time() function | Stefan Metzmacher | 1 | -16/+0 | |
metze | |||||
2009-01-05 | s3:events: get rid of the stupid cancel_named_event() function | Stefan Metzmacher | 1 | -16/+0 | |
metze | |||||
2009-01-05 | s3:events: change event_add_timed() prototype to match samba4 | Stefan Metzmacher | 4 | -19/+17 | |
metze | |||||
2009-01-05 | s3:events: remove unused stuff | Stefan Metzmacher | 1 | -25/+0 | |
metze | |||||
2009-01-05 | clean event context after child is forked. | Bo Yang | 2 | -0/+9 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-01-04 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 10 | -226/+1925 | |
2009-01-04 | Remove a duplicated comment | Volker Lendecke | 1 | -4/+0 | |
2009-01-04 | Add open_socket_out_defer_send/recv | Volker Lendecke | 1 | -0/+111 | |
2009-01-04 | Async wrapper for open_socket_out_send/recv | Volker Lendecke | 1 | -56/+168 | |
2009-01-04 | async libwbclient infrastructure | Volker Lendecke | 1 | -0/+774 | |
2009-01-04 | Remove wb_trans_send/recv | Volker Lendecke | 1 | -143/+0 | |
2009-01-04 | Move winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.c | Volker Lendecke | 1 | -0/+685 | |
2009-01-04 | Convert async_connect to "normal" style | Volker Lendecke | 1 | -101/+113 | |
2009-01-04 | Actually do a non-blocking connect.... :-) | Volker Lendecke | 1 | -1/+1 | |
2009-01-04 | Add an async queueing mechanism | Volker Lendecke | 1 | -0/+78 | |
2009-01-04 | Add async timeout helpers | Volker Lendecke | 1 | -0/+42 | |
2009-01-03 | open_socket_out is always used with SOCK_STREAM, remove argument "type" | Volker Lendecke | 1 | -9/+3 | |
2009-01-03 | Fix retval of async_syscall_result_int | Volker Lendecke | 1 | -1/+1 | |
2009-01-03 | struct async_req doesn't really need to carry an event_context | Volker Lendecke | 2 | -9/+10 | |
2009-01-02 | Replace some SMB_ASSERTs with NT_STATUS_INTERNAL_ERROR | Volker Lendecke | 1 | -7/+28 | |
2009-01-02 | Optimize for the common case that packet.c received exactly one full packet | Volker Lendecke | 1 | -8/+14 | |
2009-01-02 | packet.h API: The callback is now responsible to talloc_free() "buf" | Volker Lendecke | 2 | -35/+46 | |
2009-01-01 | Fix bug 5913. | Volker Lendecke | 1 | -1/+1 | |
Never seen this to be a problem, but it doesn't hurt either :-) | |||||
2009-01-01 | Remove two pointless globals | Volker Lendecke | 2 | -13/+12 | |
2009-01-01 | Add iconv_convenience argument to size functions. | Jelmer Vernooij | 4 | -8/+8 | |
2008-12-31 | Fix all warnings in source3 with gcc4.3. | Jeremy Allison | 1 | -4/+30 | |
Jeremy. | |||||
2008-12-31 | Disable the use of splice(2) | Volker Lendecke | 1 | -1/+1 | |
On a debian lenny installation with a kernel that calls itself 2.6.28, I could repeatably block smbd using splice. According to the output of netstat, the recvq of the TCP connection was full and at the same time according to strace smbd was stuck in a splice syscall trying to read from that TCP connection. We can not protect ourselves from this condition, as nobody will ever notify us that something is broken. So sadly we can't use splice yet at all. Maybe in 2.6.29... | |||||
2008-12-31 | Try to fix recvfile using splice on Linux | Volker Lendecke | 1 | -21/+36 | |
According to the splice(2) manpage, one of the file descriptors *must* be a pipe. With this patch I could successfully run splice(2) on a debian lenny installation. Jeremy, please check! | |||||
2008-12-31 | Rename parent_dirname_talloc() to parent_dirname() | Volker Lendecke | 1 | -2/+2 | |
2008-12-31 | Remove unused function parent_dirname | Volker Lendecke | 1 | -13/+0 | |
2008-12-31 | Make use of TALLOC_MEMDUP in parent_dirname_talloc() | Volker Lendecke | 1 | -2/+1 | |