summaryrefslogtreecommitdiffstats
path: root/source4/smb_server/smb_server.c
Commit message (Collapse)AuthorAgeFilesLines
* param: rename lp function and variable from "srv_maxprotocol" to ↵Garming Sam2014-02-071-1/+1
| | | | | | | | "server_max_protocol" Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4:smb_server: make use of PROTOCOL_SMB2_02Stefan Metzmacher2011-09-051-1/+1
| | | | metze
* s4-ipv6: use "ip" instead of "ipv4" for serversAndrew Tridgell2011-06-061-1/+1
| | | | | this allows stream_setup_socket() to work with both v4 and v6 addresses
* s4-server: make server sockets a child of the task contextAndrew Tridgell2010-11-151-4/+5
| | | | | | | | | | | | We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* smb_server: Split core out of service, since the service can be built as a ↵Jelmer Vernooij2010-10-111-44/+0
| | | | .so against which we can't link.
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-10/+10
| | | | | | | 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-samdb: reduce the number of samdb opens at startupAndrew Tridgell2009-10-251-14/+0
| | | | | Using common parameters means that the ldb_wrap code can return a reference rather than a new database
* s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2009-09-181-1/+1
| | | | | | 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:smb_server: initialy read the first 4 bytes onlySam Liddicott2009-05-201-0/+1
| | | | | | | | Stop packet_recv getting greedy and reading the whole socket and then dispatching te extra packets in a timer loop Signed-off-by: Sam Liddicott <sam@liddicott.com> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:service_stream: s/private/private_dataStefan Metzmacher2009-02-021-3/+3
| | | | metze
* s4:smb_server: s/private/private_dataStefan Metzmacher2009-02-021-4/+4
| | | | metze
* s4:lib/tevent: rename structsStefan Metzmacher2008-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* Cope with no server being active.Jelmer Vernooij2008-05-261-2/+2
| | | | (This used to be commit 893119bb4c9c297966d43d37fe73faa747b7c86e)
* Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij2008-04-171-1/+2
| | | | (This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
* Remove yet more global_loadparm instances.Jelmer Vernooij2008-02-211-1/+1
| | | | (This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
* More share_init to more apprioriate place.Jelmer Vernooij2008-02-211-0/+1
| | | | (This used to be commit b84f19f6783cbeaa8d04848fdc0b6f21b5e379a3)
* Remove useless layer of indirection, where every service calledAndrew Bartlett2008-02-041-13/+1
| | | | | | | | task_service_init() manually. Now this is called from service.c for all services. Andrew Bartlett (This used to be commit 9c9a4731cafd0dcf6c8523a7b06759cd4f14e4db)
* Rework service init functions to pass down service name. This isAndrew Bartlett2008-02-041-1/+1
| | | | | | | | needed to change prefork behaviour based on what service is being started. Andrew Bartlett and David Disseldorp (This used to be commit 0d830580e3539c96da3aa6c72fafe6eacd7a74a0)
* r26672: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij2008-01-051-2/+4
| | | | (This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
* r26440: Remove more uses of global_loadparm.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
* r26402: Require a talloc context in libnetif.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit a35e51871bbf1ab33fc316fa59e597b722769c50)
* r26401: Don't cache interfaces context in libnetif.Jelmer Vernooij2007-12-211-2/+7
| | | | (This used to be commit 9f975417cc66bfd4589da38bfd23731dbe0e6153)
* r26382: Remove more uses of global_loadparm.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit 6d4c59853481855c232e7cf97264a391f40af2b5)
* r26347: More tests.Jelmer Vernooij2007-12-211-3/+0
| | | | (This used to be commit 5d927b5ca792c2c9da4a1c4f5c3ae880637895e3)
* r26325: Remove use of global_loadparm in netif.Jelmer Vernooij2007-12-211-2/+2
| | | | (This used to be commit e452cb28594f23add7c00247ed39e8323aea78a6)
* r26313: Fix more uses of static loadparm.Jelmer Vernooij2007-12-211-1/+3
| | | | (This used to be commit 6fd0d9d3b75546d08c24c513e05b1843d5777608)
* r26268: Avoid more use of global_loadparm - put lp_ctx in smb_server and ↵Jelmer Vernooij2007-12-211-3/+4
| | | | | | wbsrv_connection. (This used to be commit 7c008664238ed966cb82adf5b25b22157bb50730)
* r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
* r26238: Add a loadparm context parameter to torture_context, remove more ↵Jelmer Vernooij2007-12-211-5/+6
| | | | | | uses of global_loadparm. (This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
* r26237: Add loadparm context to the server service interface.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit 1386c5c92505a950c65411b8af74d703ce023f95)
* r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij2007-12-211-2/+2
| | | | | | explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
* r26227: Make loadparm_context part of a server task, move loadparm_contexts ↵Jelmer Vernooij2007-12-211-1/+1
| | | | | | further up the call stack. (This used to be commit 0721a07aada6a1fae6dcbd610b8783df57d7bbad)
* r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij2007-10-101-4/+5
| | | | (This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
* r25026: Move param/param.h out of includes.hJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
* r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij2007-10-101-3/+3
| | | | (This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r23700: pre-open the sam in the parent smbd. This has the effect of loadingAndrew Tridgell2007-10-101-0/+16
| | | | | | | | the schema. That stops us loading the schema for each new connection. In future I would prefer to share a lot more of our ldb contexts with children. That will require a larger piece of surgery. (This used to be commit ff41bdc350cf05c70c63effe30fe69e63181f088)
* r17586: merge lib/netif into lib/socket and use -lnsl -lsocket on theStefan Metzmacher2007-10-101-1/+1
| | | | | | | | | configure check for the interfaces. should fix the build on some old sun boxes metze (This used to be commit f20e251bfd9f1eb7ce5c00739631b1625a2aa467)
* r17206: Add a modular API for share configuration.Simo Sorce2007-10-101-0/+6
| | | | | Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)
* r16464: split client and server min/max protocol settingsStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 6164d1e22e0545f558315591d49f862de06ea945)
* r15304: Fix smbd build, more updates on getting --enable-dso to build againJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 3ef9326386ba1c210166302cbcf02d2ed3f19944)
* r14739: keep the last request time for the smbsrv_connection,Stefan Metzmacher2007-10-101-0/+2
| | | | | | | smbsrv_session and smbsrv_tcon for management tools metze (This used to be commit 2c87f210e9e68de42dc45ca6532f3f33f4b6ce95)
* r14096: setup a service task for smbsrv and dcesrvStefan Metzmacher2007-10-101-8/+22
| | | | | metze (This used to be commit 7ad522c7acfe276d08bf59e851697fe93fa622db)
* r14079: I just found the setproctitle library from alt linux:-)Stefan Metzmacher2007-10-101-1/+1
| | | | | | | | | - add set_title hook to the process models - use setproctitle library in process_model standard if available - the the title for the task servers and on connections metze (This used to be commit 526f20bbecc9bbd607595637c15fc4001d3f0c70)
* r13937: fix the buildStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 7aabff829836580be8816f38a6e0ef5b7c3bb565)
* r13926: More header splitups.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 930daa9f416ecba1d75b8ad46bb42e336545672f)
* r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij2007-10-101-0/+2
| | | | | file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
* r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requestsStefan Metzmacher2007-10-101-2/+2
| | | | | | | - the default max protocol is still NT1 metze (This used to be commit d1bae931b327dda28e648efc473e0462cf036f7c)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-3/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12542: Move some more prototypes out to seperate headersJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)