summaryrefslogtreecommitdiff
path: root/source4/smbd/process_prefork.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:smbd: use tevent_ fn names instead of leagcy event_ onesSimo Sorce2011-08-131-3/+3
|
* source4/smbd: Fix prototypes for all functions.Jelmer Vernooij2011-03-191-0/+2
|
* s4:smbd/process*.c - fix PID warnings on SolarisMatthias Dieter Wallnöfer2010-12-121-2/+2
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 13:21:13 CET 2010 on sn-devel-104
* s4:param/secrets.h - fix "enum netr_SchannelType" include correctlyMatthias Dieter Wallnöfer2010-11-271-1/+0
|
* s4-smbd: don't initialise process models more than onceAndrew Tridgell2010-10-301-1/+1
| | | | | | | | | this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-smbd Remove event_context_set_default()Andrew Bartlett2010-10-111-6/+0
| | | | | | | The last callers to event_context_find() have been removed so this is no longer required. Andrew Bartlett
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-2/+2
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-161-1/+1
| | | | | | | | | This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
* s4-smbd: Fix compiler warning in prefork smbd.Tim Potter2010-04-241-1/+1
| | | | | | | | My first patch in a while... Tim. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4-smbd: setup the default event contexts for other process modelsAndrew Tridgell2010-01-081-1/+7
|
* s4-ldb: move the tdb_reopen_all() calls to ldb_wrap.cAndrew Tridgell2009-10-231-5/+0
|
* s4-server: call the ldb_wrap_fork_hook() after a fork()Andrew Tridgell2009-10-231-0/+2
| | | | | This will be used to allow us to cancel any pending transactions after a fork.
* s4:smbd: s/private/private_dataStefan Metzmacher2009-02-021-6/+6
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-8/+8
| | | | | | | | | | | | | | | | | | | | 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
* Eliminate another global_loadparm.Jelmer Vernooij2008-09-301-1/+1
|
* Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij2008-09-161-1/+1
|
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-141-2/+2
| | | | | | | | specific debug function. By default do not debug, this is the most appropriate action for a library as we cannot assume what stderr is use for in the main app. The main app is responsible to set ev_debug_stderr if they so desire. (This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
* prefork: also reload stuff in the client processesStefan Metzmacher2008-02-061-8/+16
| | | | | metze (This used to be commit 36012c386b30af98f10ada1b77ca3e43dbd7b144)
* Clarify nomaclature of socket names in process_single and process_preforkAndrew Bartlett2008-02-051-18/+6
| | | | | | | | | | | Fix talloc_steal in both cases to steal connected socket (from accept) onto it's private structure, rather than stealing the bound socket. Remove termination code from the prefork modal, we want the process to still stay around, to serve future clients. Andrew Bartlett and David Disseldorp (This used to be commit 07590d893e993919cf6cb7582310777f534e756f)
* Remaining changes to implement the prefork process modelAndrew Bartlett2008-02-041-0/+226
To use, run 'smbd -M prefork' By default, only the smb service is preforked. 4 children are created, and all listen for new connections. The Linux Kernel 'wake one' behaviour should ensure that only one is given the oportunity to accept. We need to look into the ideal number of worker children, as well as load balancing behaviours. To change, set: prefork children : smb = 6 valid service names (smb in this example) match those in 'server services'. Andrew Bartlett and David Disseldorp (This used to be commit 35313c0aa3fbfdd943edfb7bafd7645b1a0c54e9)