summaryrefslogtreecommitdiffstats
path: root/source4/smbd
Commit message (Collapse)AuthorAgeFilesLines
* s4-debug: lower the verbosity of a couple of common log messagesAndrew Tridgell2010-01-091-1/+1
|
* s4-smbd: setup the default event contexts for other process modelsAndrew Tridgell2010-01-082-1/+13
|
* s4-event: added s4_event_context_set_default()Andrew Tridgell2010-01-081-0/+3
| | | | we're still not weaned off event_context_find()
* s4: Happy New Year 2010Stefan Metzmacher2010-01-041-1/+1
| | | | metze
* s4:smbd: hold tsocket_addresses on the stream_connectionStefan Metzmacher2009-12-243-10/+27
| | | | metze
* s4-ldb: move the tdb_reopen_all() calls to ldb_wrap.cAndrew Tridgell2009-10-232-13/+1
|
* s4-server: call the ldb_wrap_fork_hook() after a fork()Andrew Tridgell2009-10-232-0/+5
| | | | | This will be used to allow us to cancel any pending transactions after a fork.
* s4-server: pre-open the main ldb databases in the serverAndrew Tridgell2009-10-231-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.
* s4:server.c - add linespace (only cosmetic)Matthias Dieter Wallnöfer2009-09-201-1/+2
|
* s4-smbd: removed unnecessary includesAndrew Tridgell2009-09-195-11/+0
|
* s4-smbd: minimise includes in smbd/ and smb_serverAndrew Tridgell2009-09-192-3/+0
|
* s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2009-09-184-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.
* s4:service_named_pipe: accept delegated credentialsStefan Metzmacher2009-09-182-3/+101
| | | | metze
* s4-kcc: add a very simple KCCAndrew Tridgell2009-09-111-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 :-)
* ensure that child tasks die when the parent diesAndrew Tridgell2009-08-071-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
* prime the sam ldb schema in the parent samba processAndrew Tridgell2009-08-071-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.
* Fix Coverity 911: FORWARD_NULL. Metze, please check!Volker Lendecke2009-05-021-1/+2
|
* s4:smbd: depend on NAMED_PIPE_AUTH_TSTREAM...Stefan Metzmacher2009-05-011-1/+1
| | | | metze
* s4:smbd: add support for named_pipe_auth level 2 in service_named_pipe...Stefan Metzmacher2009-05-011-4/+55
| | | | metze
* s4:smbd: the name of the binary is "samba" nowStefan Metzmacher2009-03-211-1/+1
| | | | metze
* Moved become_daemon() and close_low_fds() to shared util libSteven Danneman2009-02-201-1/+1
|
* s4:service_stream: s/private/private_dataStefan Metzmacher2009-02-023-9/+9
| | | | metze
* s4:service_task: s/private/private_dataStefan Metzmacher2009-02-021-1/+1
| | | | metze
* s4:smbd: s/private/private_dataStefan Metzmacher2009-02-028-45/+45
| | | | metze
* s4:auth: move make_server_info_netlogon_validation() function arroundStefan Metzmacher2009-01-211-0/+1
| | | | metze
* Use AS_HELP_STRING() in a couple more places.Jelmer Vernooij2009-01-151-2/+2
|
* s4:smbd: convert to tevent_* apiStefan Metzmacher2009-01-035-24/+34
| | | | metze
* s4:socket: use a socket_wrapper aware function to auto close the fd event ↵Stefan Metzmacher2009-01-031-10/+15
| | | | | | for sockets metze
* Happy New Year!Stefan Metzmacher2009-01-021-1/+1
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-2913-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
* s4:cluster: remove old/broken ctdb codeStefan Metzmacher2008-12-291-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
* Rename samba-socket -> samba_socket to fix a couple more compilerJelmer Vernooij2008-12-241-1/+1
| | | | warnings.
* Fix missing symbols issues when building with shared libraries.Jelmer Vernooij2008-12-223-1/+3
|
* s4: fix LIBEVENTS dependencies and use more forward declarationsStefan Metzmacher2008-12-173-2/+4
| | | | | | | We should only include events.h where we really need it and prefer forward declarations of 'struct event_context' metze
* Rename dom_sid.idl -> server_id.idl (since it no longer actually contains ↵Jelmer Vernooij2008-12-162-2/+2
| | | | the dom_sid). No longer include it from security.idl.
* s4: smbd: implement stream_socket_named_pipe()Stefan Metzmacher2008-11-062-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
* Remove unused include param/param.h.Jelmer Vernooij2008-10-241-1/+0
|
* Make sure prototypes are always included, make some functions static andJelmer Vernooij2008-10-201-0/+1
| | | | remove some unused functions.
* Use separate make variables for libutil and libcrypto.Jelmer Vernooij2008-10-181-1/+1
|
* Fix includes.Jelmer Vernooij2008-10-152-2/+2
|
* Fix include paths to new location of libutil.Jelmer Vernooij2008-10-111-1/+1
|
* Fix segfault.Jelmer Vernooij2008-09-301-1/+1
|
* Eliminate another global_loadparm.Jelmer Vernooij2008-09-307-8/+10
|
* log stream terminationAndrew Tridgell2008-09-241-0/+2
|
* Rename smbd -> samba.Jelmer Vernooij2008-09-243-17/+14
| | | | | | | | This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
* s4: allways initialize the process model before it's usedStefan Metzmacher2008-09-222-2/+3
| | | | metze
* process incoming connections and fork a samba3 in inetd modeStefan Metzmacher2008-09-221-0/+1
|
* Revert "Rename smbd -> samba."Jelmer Vernooij2008-09-213-14/+17
| | | | This reverts commit 0e9008be35a5b334bd65e6417193d4b8f27bdc36.
* Rename smbd -> samba.Jelmer Vernooij2008-09-213-17/+14
|
* Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij2008-09-162-2/+2
|