summaryrefslogtreecommitdiff
path: root/source4/smbd
AgeCommit message (Collapse)AuthorFilesLines
2008-02-21More share_init to more apprioriate place.Jelmer Vernooij1-2/+0
(This used to be commit b84f19f6783cbeaa8d04848fdc0b6f21b5e379a3)
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)
2007-12-21r26400: Don't try to do character conversion before smb.conf has been parsed.Jelmer Vernooij1-2/+2
(This used to be commit 9faba2874957ce80db202cd9f2cc373e7346381c)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-14/+14
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26322: Fix includeJelmer Vernooij1-0/+1
(This used to be commit 97443169378c18f9a7c522749a37f4f850a1305f)
2007-12-21r26313: Fix more uses of static loadparm.Jelmer Vernooij1-3/+5
(This used to be commit 6fd0d9d3b75546d08c24c513e05b1843d5777608)
2007-12-21r26278: Tallocify convenience table for iconv handles.Jelmer Vernooij1-2/+2
(This used to be commit ad64b3baa4a5383c603d17ae75c33083af4690bb)
2007-12-21r26274: Some syntax fixes, remove more global_loadparm instances.Jelmer Vernooij1-1/+1
(This used to be commit 3809113d86dbd35b906356a05bb481a1e2bfe4b7)
2007-12-21r26272: Remove global_loadparm in some more places.Jelmer Vernooij1-1/+2
(This used to be commit 1ab76ecc5311fa863e5d04899b6f110899818f55)
2007-12-21r26269: Fix a couple more references to global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 1cb849dfba21b9b5d00b20ba8201f0e142bfeb07)
2007-12-21r26260: Store loadparm context in gensec context.Jelmer Vernooij1-2/+2
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
2007-12-21r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij1-1/+1
(This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
2007-12-21r26237: Add loadparm context to the server service interface.Jelmer Vernooij2-5/+7
(This used to be commit 1386c5c92505a950c65411b8af74d703ce023f95)
2007-12-21r26236: Remove more uses of global_loadparm or specify loadparm_context ↵Jelmer Vernooij3-14/+14
explicitly. (This used to be commit 5b29ef7c03d9ae76b0ca909e9f03a58e1bad3521)
2007-12-21r26227: Make loadparm_context part of a server task, move loadparm_contexts ↵Jelmer Vernooij2-1/+3
further up the call stack. (This used to be commit 0721a07aada6a1fae6dcbd610b8783df57d7bbad)
2007-12-21r26226: Avoid more uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit 6cbce47a3eaef76a89db7cd0ab0d4f6441fc720d)
2007-12-21r26006: Improve some dependencies.Jelmer Vernooij1-1/+1
(This used to be commit 28f05bb5ef9e727298f4b61e71c42a8703374b96)
2007-12-21r25922: Make it easier to bind to a unix domain socket, without messing withAndrew Bartlett1-1/+9
ports... Andrew Bartlett (This used to be commit 70de473980e99eeeb719bf9f63d23a399847b23b)
2007-10-10r25535: Deal with events subsystem failures.Jelmer Vernooij1-0/+5
(This used to be commit fa6407984b2d592d1097a6bc5b7d566a2cc122de)
2007-10-10r25454: Use standard bool types in a couple more places.Jelmer Vernooij3-9/+9
(This used to be commit 9243b551f30c7aa2763115516a6adcfe5bbddc58)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij4-5/+10
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij3-6/+7
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij2-0/+4
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25028: Fix more warnings.Jelmer Vernooij2-4/+6
(This used to be commit 3aa7ee4a0d8837471deeaa1c5a1f4a0d2a14aa6e)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij4-0/+4
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij2-2/+2
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24937: Merge tests spoolss RPC callbacks.Jelmer Vernooij3-3/+7
(This used to be commit 9b256a0ca232ea6e89771bf73a1adf877273a752)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-1/+1
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-4/+1
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
2007-10-10r24623: add back '-D' option to smbdStefan Metzmacher1-7/+29
metze (This used to be commit 5ecc1311a143dd1adf9369d71ccb919be06daf57)
2007-10-10r24276: don't mark a stream readable until after the messaging setup isAndrew Tridgell1-2/+4
complete. This is needed because messaging setup with ctdb involve events, and we don't want a SMB packet to be processed on this stream until after the stream structure is fully setup (This used to be commit 8e378051e594372dfb2c00a380ef4bc151021ea2)
2007-10-10r23960: Don't destory the 'reason' for terminating the service before ↵Andrew Bartlett1-1/+3
printing it. Andrew Bartlett (This used to be commit 18d2680f357cef68e0e9714ce5404be70759d2ad)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell13-39/+26
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)
2007-10-10r23702: fixed a "falling back to select" error in the standard processAndrew Tridgell1-1/+5
model. It's much cleaner to get the event system to close the fd, especially with the complexity of forks (This used to be commit d1b710f09c95a8181d2b642081282d8c97b37811)