summaryrefslogtreecommitdiff
path: root/source4/smbd/server.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-12s4:param: add "state dir" and "cache dir" optionsStefan Metzmacher1-0/+2
metze
2011-06-09s4:smbd/server.c - quiet "time_t" format string warnings by castsMatthias Dieter Wallnöfer1-2/+4
Reviewed-by: Tridge
2011-06-06s4/server: simplify and replace bad portable gettimeofday by timeBjörn Jacke1-15/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Mon Jun 6 12:58:26 CEST 2011 on sn-devel-104
2011-06-06s4-modules Remove lp_ctx from init functions that no longer need itAndrew Bartlett1-3/+3
Now that we don't allow the smb.conf to change the modules dir, many functions that simply load modules or initialise a subsytem that may load modules no longer need an lp_ctx. Andrew Bartlett
2011-05-06s4-smbd: fix randseed_init() usage.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 17:37:11 CEST 2011 on sn-devel-104
2011-05-03s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett1-4/+3
This only sets up the random number generator callback these days, so use a different database for that. (All secrets data in Samba4 is in secrets.ldb) Andrew Bartlett
2011-05-03s4-messaging Rename messaging -> imessagingAndrew Bartlett1-3/+3
This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
2011-02-07s4-charset: use dyn_CODEPAGEDIR for location of upcase.dat/lowcase.datAndrew Tridgell1-0/+1
this matches samba3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-02s4: Happy New Year 2011Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jan 2 18:42:12 CET 2011 on sn-devel-104
2010-12-21s4-auth Remove event context from privilage database handlingAndrew Bartlett1-1/+1
These local TDB operations can quite safely be handled in a new/nested event context, rather than using the main event context. Andrew Bartlett
2010-11-27Add timestamp when running with --maximum-runtimeMatthieu Patou1-1/+15
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Nov 27 11:51:12 CET 2010 on sn-devel-104
2010-11-01s4-modules: get rid of the remaining static prototypes for modulesAndrew Tridgell1-17/+2
the waf build now generates the prototype declarations for us
2010-10-23s4 dns: Add a boilerplate DNS server implementationKai Blin1-0/+1
2010-10-14s4: show samba version in bin/samba -bAndrew Tridgell1-0/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 02:24:47 UTC 2010 on sn-devel-104
2010-10-11s4-smbd Remove event_context_set_default()Andrew Bartlett1-3/+0
The last callers to event_context_find() have been removed so this is no longer required. Andrew Bartlett
2010-10-10ldb-samba: Add ldb_wrap_add, remove last schema reference from ldb_wrap.Jelmer Vernooij1-1/+1
2010-10-02s4-server: exit with status 127 on SIGTERMAndrew Tridgell1-1/+1
this ensures that make test detects a failure if samba is killed by SIGTERM
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-7/+7
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>
2010-06-25s4:schannel Open the schannel_store.tdb at startupAndrew Bartlett1-0/+8
This will allow TDB_CLEAR_IF_FIRST behaviour in future Signed-off-by: Jeremy Allison <jra@samba.org>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-3/+1
2010-05-14Revert "s4: remove unused references to swat"Andrew Bartlett1-0/+1
This reverts most of commit 1765732f82719a4bc925f21ef4999bd19a8d1f6c. The s3compat build needs the SWAT location to be compatible with Samba3.
2010-04-29s4: remove unused references to swatStefan Metzmacher1-1/+0
metze
2010-04-21s4-server: show build host in samba -b outputAndrew Tridgell1-0/+5
2010-03-29s4: added a simple implementation of bin/samba -bAndrew Tridgell1-1/+44
this shows the config paths. Useful for debugging --enable-fhs
2010-03-26s3-smbd: Don't close stdout if we want to log to stdout.Andreas Schneider1-1/+1
2010-02-23s4:schannel merge code with s3Simo Sorce1-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-22More spelling fixes across source4/Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-13s4:server.c - use always "return" instead of "exit" in the ↵Matthias Dieter Wallnöfer1-4/+4
"binary_smbd_main" function Just to be consistent - no functional change
2010-02-11s4-dns: added a dns update taskAndrew Tridgell1-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-08s4-event: added s4_event_context_set_default()Andrew Tridgell1-0/+3
we're still not weaned off event_context_find()
2010-01-04s4: Happy New Year 2010Stefan Metzmacher1-1/+1
metze
2009-10-23s4-server: pre-open the main ldb databases in the serverAndrew Tridgell1-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-20s4:server.c - add linespace (only cosmetic)Matthias Dieter Wallnöfer1-1/+2
2009-09-19s4-smbd: removed unnecessary includesAndrew Tridgell1-3/+0
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell1-0/+46
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-11s4-kcc: add a very simple KCCAndrew Tridgell1-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-07prime the sam ldb schema in the parent samba processAndrew Tridgell1-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-03-21s4:smbd: the name of the binary is "samba" nowStefan Metzmacher1-1/+1
metze
2009-02-20Moved become_daemon() and close_low_fds() to shared util libSteven Danneman1-1/+1
2009-02-02s4:smbd: s/private/private_dataStefan Metzmacher1-4/+4
metze
2009-01-03s4:smbd: convert to tevent_* apiStefan Metzmacher1-9/+9
metze
2009-01-02Happy New Year!Stefan Metzmacher1-1/+1
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-4/+4
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-29s4:cluster: remove old/broken ctdb codeStefan Metzmacher1-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-22Fix missing symbols issues when building with shared libraries.Jelmer Vernooij1-1/+1
2008-09-24Rename smbd -> samba.Jelmer Vernooij1-1/+1
This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
2008-09-22process incoming connections and fork a samba3 in inetd modeStefan Metzmacher1-0/+1
2008-09-21Revert "Rename smbd -> samba."Jelmer Vernooij1-1/+1
This reverts commit 0e9008be35a5b334bd65e6417193d4b8f27bdc36.
2008-09-21Rename smbd -> samba.Jelmer Vernooij1-1/+1
2008-06-20smbd: make sure the parent smbd stays alive foreverStefan Metzmacher1-7/+13
The problem was that the parent smbd doesn't have any event when the process model standard was in use. Now we always add an fd event for stdin, but may not ask for any events to trigger. metze (This used to be commit fa6c00734ccf9bfe7a962253ddb5e2a1722c9b09)