1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-21 12:23:50 +03:00
Commit Graph

241 Commits

Author SHA1 Message Date
Andrew Bartlett
35313c0aa3 Remaining changes to implement the prefork process model
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
2008-02-04 17:59:16 +11:00
Jelmer Vernooij
8a97886e24 r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct. 2008-01-03 12:33:36 -06:00
Jelmer Vernooij
2596b479ab r26627: param: Provide a call for loading the system smb.conf. 2007-12-29 12:21:04 -06:00
Jelmer Vernooij
1b89311e5f r26503: Change order of arguments in param interface so it's easier to make the
section name optional. Fix several smaller bits and pieces in the Python code.
2007-12-21 05:51:06 +01:00
Jelmer Vernooij
8795697db5 r26498: Fix memory leak in iconv code. 2007-12-21 05:50:54 +01:00
Jelmer Vernooij
2b7cfa5d9a r26464: Tighten dependencies. 2007-12-21 05:50:29 +01:00
Jelmer Vernooij
f3395db91a r26436: Remove default of 0 for integer parameters when a lp_ctx of NULL is specified 2007-12-21 05:50:04 +01:00
Jelmer Vernooij
a76625994a r26434: Remove display charset from iconv convenience context. 2007-12-21 05:50:04 +01:00
Jelmer Vernooij
7f28b53b57 r26433: Don't crash when a NULL lp_ctx is specified to a lp_parm_* function. 2007-12-21 05:50:03 +01:00
Jelmer Vernooij
d37136b7ab r26429: Avoid use of global_smb_iconv_convenience. 2007-12-21 05:49:56 +01:00
Stefan Metzmacher
61d2f1a03b r26425: fix crash bug, sorry I should have tested that...
metze
2007-12-21 05:49:51 +01:00
Stefan Metzmacher
5b62180946 r26423: try to fix the build on solaris
metze
2007-12-21 05:49:51 +01:00
Stefan Metzmacher
cdb64b4101 r26391: samba4 doesn't support 'lmhosts' as resolve module
metze
2007-12-21 05:49:21 +01:00
Jelmer Vernooij
d0d5c1a823 r26352: Don't make lp_load create a new context. 2007-12-21 05:48:56 +01:00
Jelmer Vernooij
c6da76b614 r26351: Fix handling of flags when there are multiple loadparm contexts around. 2007-12-21 05:48:55 +01:00
Jelmer Vernooij
87799f55d5 r26350: More tests. 2007-12-21 05:48:55 +01:00
Jelmer Vernooij
c440b130a9 r26349: More tests. 2007-12-21 05:48:54 +01:00
Jelmer Vernooij
eebcf7e1b0 r26348: Avoid use of autofree context. 2007-12-21 05:48:53 +01:00
Jelmer Vernooij
5d927b5ca7 r26347: More tests. 2007-12-21 05:48:53 +01:00
Jelmer Vernooij
e8065a7f8f r26345: Fix dumping an individual parameter. 2007-12-21 05:48:52 +01:00
Jelmer Vernooij
966248108f r26344: Fix memory access. 2007-12-21 05:48:51 +01:00
Jelmer Vernooij
6c3ca6aa81 r26343: Remove bLoaded global variable. 2007-12-21 05:48:51 +01:00
Jelmer Vernooij
2c9e17cb96 r26342: Fix initialization. 2007-12-21 05:48:50 +01:00
Jelmer Vernooij
2be4e8a444 r26340: Add special handlers for debuglevel and logfile. 2007-12-21 05:48:50 +01:00
Jelmer Vernooij
1e02cd8db1 r26339: Make loadparm talloc-allocated. 2007-12-21 05:48:49 +01:00
Jelmer Vernooij
9c87c46c69 r26336: use offsets inside loadparm rather than pointers (allows multiple contexts to exist at the same time). 2007-12-21 05:48:47 +01:00
Jelmer Vernooij
b03e5d0011 r26335: Specify name_resolve_order to socket code. 2007-12-21 05:48:46 +01:00
Jelmer Vernooij
ad64b3baa4 r26278: Tallocify convenience table for iconv handles. 2007-12-21 05:48:04 +01:00
Jelmer Vernooij
d01f0f4c20 r26275: return loadparm context in lp_load. 2007-12-21 05:48:01 +01:00
Jelmer Vernooij
b9e3a4862e r26260: Store loadparm context in gensec context. 2007-12-21 05:47:34 +01:00
Jelmer Vernooij
0721a07aad r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack. 2007-12-21 05:47:04 +01:00
Jelmer Vernooij
d74018d055 r26095: Add function for import a generic configuration file in a loadparm context. 2007-12-21 05:46:00 +01:00
Jelmer Vernooij
3f98a97ac3 r25471: Use macros for loadparm field names, should make migration to offsets rather than pointers easier later on. 2007-10-10 15:07:43 -05:00
Jelmer Vernooij
ce4fbb4f44 r25463: revert accidently committed type changes for now, broke the build. 2007-10-10 15:07:41 -05:00
Jelmer Vernooij
12d7cccd7c r25462: Remove refernece to categories from js as well. 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
e15fd412f9 r25461: Remove section headers in loadparm - trying to keep data and metadata separate and this should help when refactoring loadparm later on. 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
01ce5448f4 r25460: use common structure in param/generic.c 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
836431af83 r25456: Avoid externs for charsets for now - it breaks openchange. 2007-10-10 15:07:38 -05:00
Jelmer Vernooij
5f023ef7a4 r25449: Add convenience function for opening the default smb.conf for openchange. 2007-10-10 15:07:36 -05:00
Jelmer Vernooij
fd697d77c9 r25430: Add the loadparm context to all parametric options. 2007-10-10 15:07:31 -05:00
Jelmer Vernooij
ad1513bc1b r25410: Use C99 struct initialization. 2007-10-10 15:07:29 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
c62f51cc28 r25392: Add loadparm context as argument in a couple more places. 2007-10-10 15:07:24 -05:00
Jelmer Vernooij
091961b13b r25379: Use loadparm context parameter in a lot more places. 2007-10-10 15:07:22 -05:00
Jelmer Vernooij
586246137c r25308: Remove use of pstring. 2007-10-10 15:07:12 -05:00
Andrew Bartlett
cda965e908 r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
69de86d2d2 r25047: Fix more warnings. 2007-10-10 15:05:49 -05:00
Jelmer Vernooij
256532ab4b r25042: Avoid direct references to global loadparm context. 2007-10-10 15:05:46 -05:00
Jelmer Vernooij
9bb8738945 r25041: Use context in more places, fix warnings. 2007-10-10 15:05:46 -05:00
Jelmer Vernooij
ab417cb32b r25039: Rename service -> loadparm_service, use context more. 2007-10-10 15:05:45 -05:00