Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-18 | Fix bug 4699: Remove pidfile on clean shutdown | Volker Lendecke | 1 | -0/+3 | |
2009-06-17 | Fix bug #6476 - more then 3000 smbd-zombies in memory | Jeremy Allison | 1 | -0/+12 | |
We weren't reaping children in the [x]inetd case. Jeremy. | |||||
2009-06-03 | s3:smbd: create a connection_struct in SMB2 Tree Connect | Stefan Metzmacher | 1 | -0/+9 | |
metze | |||||
2009-06-03 | s3:smbd: move tcon specific globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -5/+2 | |
metze | |||||
2009-06-03 | s3:smbd: move more session specific globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-06-03 | s3:smbd: move negprot related globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -2/+4 | |
metze | |||||
2009-05-27 | s3: Allow child processes to exit gracefully if we are out of fds | Marc VanHeyningen | 1 | -6/+13 | |
When we run out of file descriptors for some reason, every new connection forks a child that immediately panics causing smbd to coredump. This seems unnecessarily harsh; with this code change we now catch that error and merely log a message about it and exit without the core dump. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-03-23 | Use avahi to register _smb._tcp in smbd | Volker Lendecke | 1 | -0/+11 | |
2009-03-18 | s3:smbd: use tevent_loop_once() in the parent event loop | Stefan Metzmacher | 1 | -34/+5 | |
metze | |||||
2009-03-18 | s3:smbd: don't exit the parent when we have no connections | Stefan Metzmacher | 1 | -7/+0 | |
This code path can't really happen anymore, because launchd support was removed with commit e5a951325a6cac8567af3a66de6d2df577508ae4. But it's confusing to have that code there... metze | |||||
2009-02-27 | s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-23 | More warning fixes for Solaris. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-02-21 | Do not close an fd we know is -1 | Volker Lendecke | 1 | -1/+0 | |
2009-02-20 | s3: Refactor of madvise() usage in c441f58d | Steven Danneman | 1 | -7/+0 | |
* move to reinit_after_fork() to protect all Samba daemons * only protect parent processes | |||||
2009-02-18 | S3: Stop creating SMBD cores when failing to create a pipe. | todd stecher | 1 | -0/+4 | |
This was uncovered when the MAX FD limit was hit, causing an instant core and invoking error reporting. This fix causes SMBD to exit, but without building a core. | |||||
2009-02-18 | S3: Allow SMBD processes to survive in low memory condidtions | todd stecher | 1 | -0/+7 | |
This commit adds a configure argument which allows for setting MADV_PROTECT in the madvise() API. With this enabled the kernel won't kill SMBD when it's running low on memory. | |||||
2009-02-14 | Fix a valgrind error | Volker Lendecke | 1 | -1/+5 | |
2009-01-29 | s3:smbd: make smbd_open_one_socket() static | Michael Adam | 1 | -3/+3 | |
Michael | |||||
2009-01-29 | s3:smbd: ignore open_socket_in() failures | Stefan Metzmacher | 1 | -1/+4 | |
This restores the pre e0232934fbf69a9e72de1d9844b14d70b34a2d6a behavior. metze | |||||
2009-01-27 | s3:smbd: wait for new connection via fd events | Stefan Metzmacher | 1 | -211/+227 | |
metze | |||||
2009-01-27 | s3:smbd: make mdns registration event driven. | Stefan Metzmacher | 1 | -15/+10 | |
metze | |||||
2009-01-27 | s3:smbd: make inetd code path more clear | Stefan Metzmacher | 1 | -24/+20 | |
metze | |||||
2009-01-27 | s3:smbd: remove pointless respond_to_all_remaining_local_messages() function | Stefan Metzmacher | 1 | -2/+0 | |
This the process_kernel_oplock() function never response to messages, it only generates messages to ourself. metze | |||||
2009-01-27 | s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLD | Stefan Metzmacher | 1 | -76/+51 | |
metze | |||||
2009-01-27 | s3:smbd: move all code that handles a client connection into smbd_process() | Stefan Metzmacher | 1 | -212/+0 | |
metze | |||||
2009-01-27 | s3:smbd: we should setup the client socket in the same way in all code pathes | Stefan Metzmacher | 1 | -21/+15 | |
We should behave the same in inetd, interactive and deamon modes. metze | |||||
2009-01-27 | s3:namecache: remove unused namecache_shutdown() function | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2009-01-22 | s3:smbd: we don't need to call message_dispatch() anymore it's event ↵ | Stefan Metzmacher | 1 | -3/+0 | |
triggered now metze | |||||
2009-01-22 | s3: always call run_events() before and after sys_select() | Stefan Metzmacher | 1 | -4/+8 | |
And always setup the fd events. metze | |||||
2009-01-20 | Remove some unused code | Volker Lendecke | 1 | -3/+0 | |
2009-01-16 | s3:cluster: fix ctdb ipv6 support | Stefan Metzmacher | 1 | -3/+1 | |
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 | s3: make better use of ccache by not including version.h in every C-file. | Michael Adam | 1 | -1/+1 | |
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-08 | s3:smbd: move all globals and static variables in globals.[ch] | Stefan Metzmacher | 1 | -39/+23 | |
The goal is to move all this variables into a big context structure. metze | |||||
2009-01-08 | s3:smbd: variables in a main() don't need to be static | Stefan Metzmacher | 1 | -7/+7 | |
metze | |||||
2009-01-08 | s3:smbd: open_sockets_smbd() don't need a static variable arrount atexit() | Stefan Metzmacher | 1 | -7/+1 | |
open_sockets_smbd() is only called once. metze | |||||
2009-01-05 | clean event context after child is forked. | Bo Yang | 1 | -2/+5 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2008-12-30 | s3 build: Fix warning | Tim Prouty | 1 | -0/+2 | |
2008-12-30 | s3:cluster: register the client connection via CTDB_CONTROL_TCP_ADD | Stefan Metzmacher | 1 | -3/+6 | |
This means we correctly pass IPv6 addresses too. (CTDB_CONTROL_TCP_CLIENT was IPv4 only) metze | |||||
2008-12-05 | Fix bug #5944 - nmbd does not boot if socket adress = "" is defined in smb.conf | Yasuma Takeda | 1 | -3/+2 | |
2008-11-06 | Make us clean under valgrind --leak-check=full by using ↵ | Jeremy Allison | 1 | -3/+3 | |
talloc_autofree_context() instead of NULL. Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should be deleted when their parent context is deleted, so freeing them at some arbitrary point later will be a double-free. Jeremy. | |||||
2008-11-01 | Remove sys_chroot() - libreplace already provides an alternative. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-18 | s3-build: fix the build of smbd. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2008-10-18 | Use separate make variables for libutil and libcrypto. | Jelmer Vernooij | 1 | -2/+2 | |
2008-10-03 | Simply our main loop processing. A lot :-). Correctly use events for all the ↵ | Jeremy Allison | 1 | -0/+31 | |
previous "special" cases. A step on the way to adding signals to the events and being able to merge the S3 event system with the S4 one. Jeremy. | |||||
2008-08-14 | Fix for bug #5688 from SATOH Fumiyasu <fumiyas@osstech.co.jp>. LPQ process ↵ | Jeremy Allison | 1 | -1/+2 | |
is orphaned if socket address parameter is invalid. If the "socket address" parameter is a null string that is an invalid value for Samba 3.2 but valid for Samba 3.0. Jeremy. (This used to be commit c65726d418601cdc86202c0371615e4f7f3d843c) | |||||
2008-08-13 | smbd: prevent smbd from panicing with "clustering = no" but ↵ | Michael Adam | 1 | -1/+3 | |
--with-cluster-support Michael (This used to be commit a687949d19ba9690f96e7869aa22e4d87840640e) | |||||
2008-08-13 | added a explanatory comment on tcon check | Andrew Tridgell | 1 | -0/+4 | |
(This used to be commit f2ab2cebb9b81453dc0b6370288b85909182ae49) | |||||
2008-08-13 | ensure we exit with non-zero status on EOF on socket, so the parent | Andrew Tridgell | 1 | -3/+8 | |
can trigger a brlock db cleanup (This used to be commit bbd49f9e1c4b50c4a596fb991f3306e1e90c0177) | |||||
2008-08-13 | fixed child exit handling and IP release handling | Andrew Tridgell | 1 | -1/+3 | |
(This used to be commit 6fe27d296c389473c24e8c627a61bd56b364ad9f) | |||||
2008-08-13 | log unclean shutdowns | Andrew Tridgell | 1 | -0/+1 | |
(This used to be commit 30b83245a22ebd5e4fa4739dd2aa1805373a7eb2) |