summaryrefslogtreecommitdiffstats
path: root/source4/smbd
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* smbd: make sure the parent smbd stays alive foreverStefan Metzmacher2008-06-201-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)
* Fix segfault caused by talloc_free() being called while still processingAndrew Bartlett2008-06-191-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)
* Use a custom init function for samba4 that sets a samba4Simo Sorce2008-06-144-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)
* Fix prototype for pthread process model.Jelmer Vernooij2008-06-141-0/+1
| | | | (This used to be commit 280c411613b21acc1e65e5657b209d266dbad8d3)
* Bring up the ntp signing deamonAndrew Bartlett2008-05-281-0/+1
| | | | | | | This starts ntp_signd at startup, and fixes some build issues. Andrew Bartlett (This used to be commit cb0dcd5c3dfe2a46755270a4594b7289f555d814)
* Fix a couple (well, little more than that..) of typos.Jelmer Vernooij2008-05-182-3/+3
| | | | (This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
* Create prototype headers from Makefile directory, without smb_build in the ↵Jelmer Vernooij2008-05-182-3/+6
| | | | | | middle. (This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
* Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-181-5/+5
| | | | (This used to be commit 2860a7db5968c7007522cdb300eba390da929ab8)
* Use variables for source directory in a couple more places.Jelmer Vernooij2008-05-181-4/+4
| | | | (This used to be commit 56bb2907c67d55967f54ce74b029f05067a187c5)
* smbd: pass down lp_ctx to stream_new_connection_merge()Stefan Metzmacher2008-05-171-0/+2
| | | | | metze (This used to be commit 91e9062265a68e3a1fe5e092503ec44ae5ea034e)
* smbd: add session_info to struct stream_connectionStefan Metzmacher2008-05-171-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)
* Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-04-086-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)
| * Install public header files again and include required prototypes.Jelmer Vernooij2008-04-022-3/+6
| | | | | | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
| * Add context pointer to secrets functions.Jelmer Vernooij2008-04-012-4/+1
| | | | | | | | (This used to be commit 873941d8a8dca8e7ace83f9af9939e4264f78c96)
| * Rename libsamba-config to libsamba-hostconfig.Jelmer Vernooij2008-04-012-2/+2
| | | | | | | | (This used to be commit c46b7e90e347da76156ddcae4866adb88e9fec21)
| * Move manpage management out of the perl build system.Jelmer Vernooij2008-02-291-1/+2
| | | | | | | | (This used to be commit 1dd6bea507f1f5e26cccf89148280721260a4673)
* | Fix the build.Jelmer Vernooij2008-03-082-1/+16
| | | | | | | | (This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
* | Push SOVERSION and VERSION out of perl code.Jelmer Vernooij2008-03-082-2/+0
| | | | | | | | (This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
* | Fix the build.Jelmer Vernooij2008-03-041-10/+0
| | | | | | | | (This used to be commit 49ef8d0c197fa61dc5c524e4a0f569af72d3c0e9)
* | Move object file lists to the Makefile.Jelmer Vernooij2008-03-032-17/+19
| | | | | | | | (This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
* | Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2008-02-292-3/+2
|\| | | | | | | | | | | | | Conflicts: source/scripting/python/config.mk (This used to be commit 0ac0ea660ab63eca764149f1d2828d0238a57289)
| * Remove sDefault as static variable.Jelmer Vernooij2008-02-281-1/+1
| | | | | | | | (This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
| * More share_init to more apprioriate place.Jelmer Vernooij2008-02-281-2/+0
| | | | | | | | (This used to be commit 990135517618afcef873f0cd0e6f8c3098247b50)
| * Set lp_ctx properly.Jelmer Vernooij2008-02-271-0/+1
| | | | | | | | (This used to be commit 5d274f19aedbb022d61b1493857dce66877dc809)
* | Move manpage management out of the perl build system.Jelmer Vernooij2008-02-261-1/+2
|/ | | | (This used to be commit a660ab262e7202baccf16cb8b2bc47cb8efacc34)
* Happy New Year 2008! :-)Stefan Metzmacher2008-02-221-1/+1
| | | | | metze (This used to be commit a601ecff4e8cbf71de9f140ee2faa0b75d695559)
* Fix static module list generation for ldb.Jelmer Vernooij2008-02-201-2/+0
| | | | (This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
* 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-052-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)
* Remove useless layer of indirection, where every service calledAndrew Bartlett2008-02-041-5/+6
| | | | | | | | task_service_init() manually. Now this is called from service.c for all services. Andrew Bartlett (This used to be commit 9c9a4731cafd0dcf6c8523a7b06759cd4f14e4db)
* Remaining changes to implement the prefork process modelAndrew Bartlett2008-02-045-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)
* Rework process_single.c to take advantage of cluster_id() now taking an ↵Andrew Bartlett2008-02-041-9/+22
| | | | | | | additional argument. Andrew Bartlett and David Disseldorp (This used to be commit c961e7d74e33a0dd61b1053620fb41521322e20d)
* Rework cluster_id() to take an additional argument, as we needAndrew Bartlett2008-02-041-3/+13
| | | | | | | <node>.<pid>.<fd> to be unique in a prefork process environment. Andrew Bartlett and David Disseldorp (This used to be commit 931994a7f185bbc98924823e9e8cef1011dd0957)
* Rework service init functions to pass down service name. This isAndrew Bartlett2008-02-041-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)
* build: Demote a bunch of libraries to subsystems. This makes packaging ↵Jelmer Vernooij2008-01-212-13/+2
| | | | | | | easier and should also make it easier to migrate to a new build system. (This used to be commit 77b400764e3dadfa05407343af649ad9298cc085)
* r26672: Janitorial: Remove uses of global_loadparm.Jelmer Vernooij2008-01-056-22/+56
| | | | (This used to be commit 18cd08623eaad7d2cd63b82ea5275d4dfd21cf00)
* r26580: Include sentinel in build.h, in case the list is empty.Jelmer Vernooij2007-12-242-2/+2
| | | | (This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
* r26576: Allow the static module loading code to be used for the Python modules.Jelmer Vernooij2007-12-242-2/+2
| | | | | Simplify the way module initialization functions are handled. (This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
* r26441: Remove global_loadparm uses.Jelmer Vernooij2007-12-212-2/+6
| | | | (This used to be commit 32007c6277efa46341da7741b749a98633d71640)
* r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij2007-12-211-1/+1
| | | | (This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
* r26409: Pass smb ports along.Jelmer Vernooij2007-12-211-0/+1
| | | | (This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)