Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-23 | s4:schannel merge code with s3 | Simo Sorce | 1 | -2/+0 | |
After looking at the s4 side of the (s)channel :) I found out that it makes more sense to simply make it use the tdb based code than redo the same changes done to s3 to simplify the interface. Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet that does not solve the lookup speed, with ldb it is always going to be slower. Looking through the history it is evident that the schannel database doesn't really need greate expanadability. And lookups are always done with a single Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated. The schannel database is not really a persistent one. It can be discared during an upgrade without causing any real issue. all it contains is temproary session data. | |||||
2010-02-23 | s4-smb: Migrate named_pipe_server to tsocket. | Andreas Schneider | 2 | -211/+279 | |
2010-02-23 | s4-smbd: Remove obsolete singal type cast from the thread process model. | Andreas Schneider | 1 | -3/+3 | |
2010-02-22 | More spelling fixes across source4/ | Brad Hards | 3 | -3/+3 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-13 | s4:server.c - use always "return" instead of "exit" in the ↵ | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
"binary_smbd_main" function Just to be consistent - no functional change | |||||
2010-02-13 | s4-smbd: fix crash in notify code on client termination | Andrew Tridgell | 1 | -2/+2 | |
We need to free the lp_ctx after we free the event context, otherwise the teardown code in the notify backend dies when it tries to use the iconv_convenience ptr Fixes bug 7053 | |||||
2010-02-11 | s4-dns: added a dns update task | Andrew Tridgell | 1 | -0/+1 | |
This task watches for changes in the list of DCs, and creates a bind9 formatted file that grants update permission to all DCs, plus to the administration, and machines update for their own names. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-09 | s4-debug: lower the verbosity of a couple of common log messages | Andrew Tridgell | 1 | -1/+1 | |
2010-01-08 | s4-smbd: setup the default event contexts for other process models | Andrew Tridgell | 2 | -1/+13 | |
2010-01-08 | s4-event: added s4_event_context_set_default() | Andrew Tridgell | 1 | -0/+3 | |
we're still not weaned off event_context_find() | |||||
2010-01-04 | s4: Happy New Year 2010 | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-12-24 | s4:smbd: hold tsocket_addresses on the stream_connection | Stefan Metzmacher | 3 | -10/+27 | |
metze | |||||
2009-10-23 | s4-ldb: move the tdb_reopen_all() calls to ldb_wrap.c | Andrew Tridgell | 2 | -13/+1 | |
2009-10-23 | s4-server: call the ldb_wrap_fork_hook() after a fork() | Andrew Tridgell | 2 | -0/+5 | |
This will be used to allow us to cancel any pending transactions after a fork. | |||||
2009-10-23 | s4-server: pre-open the main ldb databases in the server | Andrew Tridgell | 1 | -8/+14 | |
By pre-opening these databases and leaving them open, we allow the new ldb_wrap_connect() code to share the ldb context between users. | |||||
2009-09-20 | s4:server.c - add linespace (only cosmetic) | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
2009-09-19 | s4-smbd: removed unnecessary includes | Andrew Tridgell | 5 | -11/+0 | |
2009-09-19 | s4-smbd: minimise includes in smbd/ and smb_server | Andrew Tridgell | 2 | -3/+0 | |
2009-09-18 | s4-server: kill main daemon if a task fails to initialise | Andrew Tridgell | 4 | -3/+67 | |
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state. | |||||
2009-09-18 | s4:service_named_pipe: accept delegated credentials | Stefan Metzmacher | 2 | -3/+101 | |
metze | |||||
2009-09-11 | s4-kcc: add a very simple KCC | Andrew Tridgell | 1 | -0/+1 | |
A KCC is a 'Knowledge Consistency Checker', a fancy name for a daemon that works out who will replicate with who in a AD domain. This implements an extremely simple KCC task that just wants to replicate with everyone :-) | |||||
2009-08-07 | ensure that child tasks die when the parent dies | Andrew Tridgell | 1 | -0/+24 | |
Previously we relied on process groups and SIGTERM to ensure that child tasks died in the standard process model when the parent task died. This doesn't work when the server is run in interactive mode, as in that case we don't call become_daemon() and don't get a separate process group. The fix is to have a pipe held open by the parent server process, and inherited by child tasks. If the parent exits then the write side of the pipe is implicitly closed, which causes an event in the child tasks that causes them to exit | |||||
2009-08-07 | prime the sam ldb schema in the parent samba process | Andrew Tridgell | 1 | -0/+18 | |
While testing the use of the standard process model with 'make test' I found that testing was much slower (by several times) with the standard model than with the single model. The primary problem was that each SMB connection would open a new sam ldb context, and all of those would reload the full AD schema. The fix is to pre-open the SAM during server startup, before any child processes are forked. This sets up the global schema context which is inherited by all connections. The standard model is still slower at make test than the single model, but not by nearly as much. I am working on further reducing the gap. | |||||
2009-05-02 | Fix Coverity 911: FORWARD_NULL. Metze, please check! | Volker Lendecke | 1 | -1/+2 | |
2009-05-01 | s4:smbd: depend on NAMED_PIPE_AUTH_TSTREAM... | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-05-01 | s4:smbd: add support for named_pipe_auth level 2 in service_named_pipe... | Stefan Metzmacher | 1 | -4/+55 | |
metze | |||||
2009-03-21 | s4:smbd: the name of the binary is "samba" now | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-20 | Moved become_daemon() and close_low_fds() to shared util lib | Steven Danneman | 1 | -1/+1 | |
2009-02-02 | s4:service_stream: s/private/private_data | Stefan Metzmacher | 3 | -9/+9 | |
metze | |||||
2009-02-02 | s4:service_task: s/private/private_data | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-02 | s4:smbd: s/private/private_data | Stefan Metzmacher | 8 | -45/+45 | |
metze | |||||
2009-01-21 | s4:auth: move make_server_info_netlogon_validation() function arround | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-01-15 | Use AS_HELP_STRING() in a couple more places. | Jelmer Vernooij | 1 | -2/+2 | |
2009-01-03 | s4:smbd: convert to tevent_* api | Stefan Metzmacher | 5 | -24/+34 | |
metze | |||||
2009-01-03 | s4:socket: use a socket_wrapper aware function to auto close the fd event ↵ | Stefan Metzmacher | 1 | -10/+15 | |
for sockets metze | |||||
2009-01-02 | Happy New Year! | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 13 | -66/+66 | |
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze | |||||
2008-12-29 | s4:cluster: remove old/broken ctdb code | Stefan Metzmacher | 1 | -4/+0 | |
We don't need a full copy of ctdb... If we want to readd cluster support, we should just use a ctdb client library. metze | |||||
2008-12-24 | Rename samba-socket -> samba_socket to fix a couple more compiler | Jelmer Vernooij | 1 | -1/+1 | |
warnings. | |||||
2008-12-22 | Fix missing symbols issues when building with shared libraries. | Jelmer Vernooij | 3 | -1/+3 | |
2008-12-17 | s4: fix LIBEVENTS dependencies and use more forward declarations | Stefan Metzmacher | 3 | -2/+4 | |
We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze | |||||
2008-12-16 | Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵ | Jelmer Vernooij | 2 | -2/+2 | |
the dom_sid). No longer include it from security.idl. | |||||
2008-11-06 | s4: smbd: implement stream_socket_named_pipe() | Stefan Metzmacher | 2 | -1/+368 | |
For now implement just a very simple protocol to negotiate the transport session info. We may need to pass more info later, e.g. client ip or name... metze | |||||
2008-10-24 | Remove unused include param/param.h. | Jelmer Vernooij | 1 | -1/+0 | |
2008-10-20 | Make sure prototypes are always included, make some functions static and | Jelmer Vernooij | 1 | -0/+1 | |
remove some unused functions. | |||||
2008-10-18 | Use separate make variables for libutil and libcrypto. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-15 | Fix includes. | Jelmer Vernooij | 2 | -2/+2 | |
2008-10-11 | Fix include paths to new location of libutil. | Jelmer Vernooij | 1 | -1/+1 | |
2008-09-30 | Fix segfault. | Jelmer Vernooij | 1 | -1/+1 | |
2008-09-30 | Eliminate another global_loadparm. | Jelmer Vernooij | 7 | -8/+10 | |