summaryrefslogtreecommitdiff
path: root/source4/smbd
AgeCommit message (Collapse)AuthorFilesLines
2008-09-30Fix segfault.Jelmer Vernooij1-1/+1
2008-09-30Eliminate another global_loadparm.Jelmer Vernooij7-8/+10
2008-09-24log stream terminationAndrew Tridgell1-0/+2
2008-09-24Rename smbd -> samba.Jelmer Vernooij3-17/+14
This reverts commit 05ea5e23cf4e70de0bd658b1c5c0ead133967091. Conflicts: source4/smbd/server.c
2008-09-22s4: allways initialize the process model before it's usedStefan Metzmacher2-2/+3
metze
2008-09-22process incoming connections and fork a samba3 in inetd modeStefan Metzmacher1-0/+1
2008-09-21Revert "Rename smbd -> samba."Jelmer Vernooij3-14/+17
This reverts commit 0e9008be35a5b334bd65e6417193d4b8f27bdc36.
2008-09-21Rename smbd -> samba.Jelmer Vernooij3-17/+14
2008-09-16Use single copy of tdb in both samba3 and samba4.Jelmer Vernooij2-2/+2
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)
2008-06-19Fix segfault caused by talloc_free() being called while still processingAndrew Bartlett1-2/+2
The problem here was that with the packet code set to serialise, we can have multiple packets 'processing' at once, and previously the second packet (allowed because we are spining on an event context down the stack) would clear the flag. Andrew Bartlett (This used to be commit 33789111241a1d97fc105ec4edd7b8054895b28c)
2008-06-14Use a custom init function for samba4 that sets a samba4Simo Sorce4-7/+7
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)
2008-06-14Fix prototype for pthread process model.Jelmer Vernooij1-0/+1
(This used to be commit 280c411613b21acc1e65e5657b209d266dbad8d3)
2008-05-28Bring up the ntp signing deamonAndrew Bartlett1-0/+1
This starts ntp_signd at startup, and fixes some build issues. Andrew Bartlett (This used to be commit cb0dcd5c3dfe2a46755270a4594b7289f555d814)
2008-05-18Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2-3/+3
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2-3/+6
middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij1-5/+5
(This used to be commit 2860a7db5968c7007522cdb300eba390da929ab8)
2008-05-18Use variables for source directory in a couple more places.Jelmer Vernooij1-4/+4
(This used to be commit 56bb2907c67d55967f54ce74b029f05067a187c5)
2008-05-17smbd: pass down lp_ctx to stream_new_connection_merge()Stefan Metzmacher1-0/+2
metze (This used to be commit 91e9062265a68e3a1fe5e092503ec44ae5ea034e)
2008-05-17smbd: add session_info to struct stream_connectionStefan Metzmacher1-0/+6
NULL represents an anoymous connection, as that's cheaper than always calling auth_anonymous_session_info(), That means if the caller wants to use the transport layer session_info he should call auth_anonymous_session_info() to create the session info. metze (This used to be commit 3777d0307b346bcf363ab5ad783e802682034a9a)
2008-04-08Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij6-9/+9
Conflicts: source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/makefile.pm source/heimdal_build/config.mk source/lib/events/config.mk source/lib/nss_wrapper/config.mk source/lib/policy/config.mk source/lib/registry/config.mk source/lib/socket_wrapper/config.mk source/lib/tdb/config.mk source/lib/tls/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/libnet/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/scripting/ejs/config.mk source/smbd/process_model.mk (This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij2-3/+6
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-01Add context pointer to secrets functions.Jelmer Vernooij2-4/+1
(This used to be commit 873941d8a8dca8e7ace83f9af9939e4264f78c96)
2008-04-01Rename libsamba-config to libsamba-hostconfig.Jelmer Vernooij2-2/+2
(This used to be commit c46b7e90e347da76156ddcae4866adb88e9fec21)
2008-03-08Fix the build.Jelmer Vernooij2-1/+16
(This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
2008-03-08Push SOVERSION and VERSION out of perl code.Jelmer Vernooij2-2/+0
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-04Fix the build.Jelmer Vernooij1-10/+0
(This used to be commit 49ef8d0c197fa61dc5c524e4a0f569af72d3c0e9)
2008-03-03Move object file lists to the Makefile.Jelmer Vernooij2-17/+19
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-02-29Move manpage management out of the perl build system.Jelmer Vernooij1-1/+2
(This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)
2008-02-29Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2-3/+2
Conflicts: source/scripting/python/config.mk (This used to be commit 0ac0ea660ab63eca764149f1d2828d0238a57289)
2008-02-28Remove sDefault as static variable.Jelmer Vernooij1-1/+1
(This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
2008-02-28More share_init to more apprioriate place.Jelmer Vernooij1-2/+0
(This used to be commit 990135517618afcef873f0cd0e6f8c3098247b50)
2008-02-27Set lp_ctx properly.Jelmer Vernooij1-0/+1
(This used to be commit 5d274f19aedbb022d61b1493857dce66877dc809)
2008-02-26Move manpage management out of the perl build system.Jelmer Vernooij1-1/+2
(This used to be commit a660ab262e7202baccf16cb8b2bc47cb8efacc34)
2008-02-22Happy New Year 2008! :-)Stefan Metzmacher1-1/+1
metze (This used to be commit a601ecff4e8cbf71de9f140ee2faa0b75d695559)
2008-02-20Fix static module list generation for ldb.Jelmer Vernooij1-2/+0
(This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
2008-02-06prefork: also reload stuff in the client processesStefan Metzmacher1-8/+16
metze (This used to be commit 36012c386b30af98f10ada1b77ca3e43dbd7b144)
2008-02-05Clarify nomaclature of socket names in process_single and process_preforkAndrew Bartlett2-23/+12
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)
2008-02-04Remove useless layer of indirection, where every service calledAndrew Bartlett1-5/+6
task_service_init() manually. Now this is called from service.c for all services. Andrew Bartlett (This used to be commit 9c9a4731cafd0dcf6c8523a7b06759cd4f14e4db)
2008-02-04Remaining changes to implement the prefork process modelAndrew Bartlett5-9/+248
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)
2008-02-04Rework process_single.c to take advantage of cluster_id() now taking an ↵Andrew Bartlett1-9/+22
additional argument. Andrew Bartlett and David Disseldorp (This used to be commit c961e7d74e33a0dd61b1053620fb41521322e20d)
2008-02-04Rework cluster_id() to take an additional argument, as we needAndrew Bartlett1-3/+13
<node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
2008-02-04Rework service init functions to pass down service name. This isAndrew Bartlett1-1/+2
needed to change prefork behaviour based on what service is being started. Andrew Bartlett and David Disseldorp (This used to be commit 0d830580e3539c96da3aa6c72fafe6eacd7a74a0)
2008-01-21build: Demote a bunch of libraries to subsystems. This makes packaging ↵Jelmer Vernooij2-13/+2
easier and should also make it easier to migrate to a new build system. (This used to be commit 77b400764e3dadfa05407343af649ad9298cc085)
2008-01-05r26672: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij6-22/+56
(This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
2007-12-24r26580: Include sentinel in build.h, in case the list is empty.Jelmer Vernooij2-2/+2
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
2007-12-24r26576: Allow the static module loading code to be used for the Python modules.Jelmer Vernooij2-2/+2
Simplify the way module initialization functions are handled. (This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-21r26441: Remove global_loadparm uses.Jelmer Vernooij2-2/+6
(This used to be commit 32007c6277efa46341da7741b749a98633d71640)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij1-1/+1
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij1-0/+1
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)