Kai Blin
c10e0dee34
loadparm: Clean up trailing whitespace
...
No code change. Couldn't resist.
(This used to be commit abc816b3884838441ab379c9e31e16937caa4734)
2008-02-14 12:32:29 +01:00
Andrew Bartlett
b3c5fbec47
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
(This used to be commit 35313c0aa3fbfdd943edfb7bafd7645b1a0c54e9)
2008-02-04 17:59:16 +11:00
Jelmer Vernooij
dcc282590b
r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
...
(This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
ac65321a46
r26627: param: Provide a call for loading the system smb.conf.
...
(This used to be commit 2596b479abc8e0d1c064e1d191f2d1c894252f3d)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
32f439bfa4
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.
(This used to be commit 1b89311e5fa4fcde060df50e580dc221205cc8ca)
2007-12-21 05:51:06 +01:00
Jelmer Vernooij
01b96e47cd
r26498: Fix memory leak in iconv code.
...
(This used to be commit 8795697db56e4ca6715950d68f5ec370604fcc76)
2007-12-21 05:50:54 +01:00
Jelmer Vernooij
1bc38f9fb3
r26464: Tighten dependencies.
...
(This used to be commit 2b7cfa5d9ab94e1ff2d60719cd3749810463ab15)
2007-12-21 05:50:29 +01:00
Jelmer Vernooij
1167c9d9c6
r26436: Remove default of 0 for integer parameters when a lp_ctx of NULL is specified
...
(This used to be commit f3395db91a4dd3a89be55684f12313159d1acdd4)
2007-12-21 05:50:04 +01:00
Jelmer Vernooij
2bf0cdd01c
r26434: Remove display charset from iconv convenience context.
...
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)
2007-12-21 05:50:04 +01:00
Jelmer Vernooij
83f9ee5860
r26433: Don't crash when a NULL lp_ctx is specified to a lp_parm_* function.
...
(This used to be commit 7f28b53b579182500c57c4ac0c3d7591f5ddb214)
2007-12-21 05:50:03 +01:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21 05:49:56 +01:00
Stefan Metzmacher
45d349eb80
r26425: fix crash bug, sorry I should have tested that...
...
metze
(This used to be commit 61d2f1a03b374404fd0f3e6191cda82ff0295834)
2007-12-21 05:49:51 +01:00
Stefan Metzmacher
21b024aa82
r26423: try to fix the build on solaris
...
metze
(This used to be commit 5b62180946a7cb9f3981ce740cfe830f6f0a00ff)
2007-12-21 05:49:51 +01:00
Stefan Metzmacher
6a56c111d7
r26391: samba4 doesn't support 'lmhosts' as resolve module
...
metze
(This used to be commit cdb64b41018928122898257f65d2573109b473cc)
2007-12-21 05:49:21 +01:00
Jelmer Vernooij
dd7e5ed88c
r26352: Don't make lp_load create a new context.
...
(This used to be commit d0d5c1a823a6601292c061dba2b6f4bde2b9e3dd)
2007-12-21 05:48:56 +01:00
Jelmer Vernooij
75ac6cd318
r26351: Fix handling of flags when there are multiple loadparm contexts around.
...
(This used to be commit c6da76b6142015588854b7a04becbc56679fa51d)
2007-12-21 05:48:55 +01:00
Jelmer Vernooij
5c6eacdb04
r26350: More tests.
...
(This used to be commit 87799f55d5d85bf9a15a9637143faa32183b181b)
2007-12-21 05:48:55 +01:00
Jelmer Vernooij
5991108c81
r26349: More tests.
...
(This used to be commit c440b130a9d57c1928fb5aef34fa4c00c7e46cff)
2007-12-21 05:48:54 +01:00
Jelmer Vernooij
fd88c3ca24
r26348: Avoid use of autofree context.
...
(This used to be commit eebcf7e1b06ca48cc53bdd12efa01fcf0cff8aa3)
2007-12-21 05:48:53 +01:00
Jelmer Vernooij
5f9aeca0d6
r26347: More tests.
...
(This used to be commit 5d927b5ca792c2c9da4a1c4f5c3ae880637895e3)
2007-12-21 05:48:53 +01:00
Jelmer Vernooij
fe77606ecc
r26345: Fix dumping an individual parameter.
...
(This used to be commit e8065a7f8f9156708b76720de50af29eb0092d59)
2007-12-21 05:48:52 +01:00
Jelmer Vernooij
b0eec88131
r26344: Fix memory access.
...
(This used to be commit 966248108f97d237b41ff2d14ec1e592d61d8db3)
2007-12-21 05:48:51 +01:00
Jelmer Vernooij
f2cd9f6633
r26343: Remove bLoaded global variable.
...
(This used to be commit 6c3ca6aa816158f3ec27ce6a2bd872017f86c993)
2007-12-21 05:48:51 +01:00
Jelmer Vernooij
1cdc55f5ec
r26342: Fix initialization.
...
(This used to be commit 2c9e17cb96d535405fed949f50d0591826c1efc7)
2007-12-21 05:48:50 +01:00
Jelmer Vernooij
b10f731a27
r26340: Add special handlers for debuglevel and logfile.
...
(This used to be commit 2be4e8a4441423d3795ec055742184dbec8a4fe0)
2007-12-21 05:48:50 +01:00
Jelmer Vernooij
a48fdda5fe
r26339: Make loadparm talloc-allocated.
...
(This used to be commit 1e02cd8db1d65ff72b747833904a10b47749b1fb)
2007-12-21 05:48:49 +01:00
Jelmer Vernooij
6dc73da601
r26336: use offsets inside loadparm rather than pointers (allows multiple contexts to exist at the same time).
...
(This used to be commit 9c87c46c69169fbb071ec945943e2454206f916e)
2007-12-21 05:48:47 +01:00
Jelmer Vernooij
01d2acfdb4
r26335: Specify name_resolve_order to socket code.
...
(This used to be commit b03e5d00110be3f1fe5809dad4eb6ca5cea7463d)
2007-12-21 05:48:46 +01:00
Jelmer Vernooij
6901b3c64a
r26278: Tallocify convenience table for iconv handles.
...
(This used to be commit ad64b3baa4a5383c603d17ae75c33083af4690bb)
2007-12-21 05:48:04 +01:00
Jelmer Vernooij
b038240ac7
r26275: return loadparm context in lp_load.
...
(This used to be commit d01f0f4c2037b531b3fd088060717f90e60471e9)
2007-12-21 05:48:01 +01:00
Jelmer Vernooij
ecea5ce245
r26260: Store loadparm context in gensec context.
...
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
2007-12-21 05:47:34 +01:00
Jelmer Vernooij
f4a1083cf9
r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack.
...
(This used to be commit 0721a07aada6a1fae6dcbd610b8783df57d7bbad)
2007-12-21 05:47:04 +01:00
Jelmer Vernooij
6357fb802a
r26095: Add function for import a generic configuration file in a loadparm context.
...
(This used to be commit d74018d05542582515a4d3cc995820667200b301)
2007-12-21 05:46:00 +01:00
Jelmer Vernooij
9b1fd7f52d
r25471: Use macros for loadparm field names, should make migration to offsets rather than pointers easier later on.
...
(This used to be commit 3f98a97ac327166e3451cfdcd857d693b5a2ec3c)
2007-10-10 15:07:43 -05:00
Jelmer Vernooij
650abae845
r25463: revert accidently committed type changes for now, broke the build.
...
(This used to be commit ce4fbb4f44a5f84cf516b4de9861e3fd498cc6c4)
2007-10-10 15:07:41 -05:00
Jelmer Vernooij
8ffc4c1f97
r25462: Remove refernece to categories from js as well.
...
(This used to be commit 12d7cccd7c8c632e2d49e9c21e0e139366ffe2c3)
2007-10-10 15:07:40 -05:00
Jelmer Vernooij
f5f6d6d2ab
r25461: Remove section headers in loadparm - trying to keep data and metadata separate and this should help when refactoring loadparm later on.
...
(This used to be commit e15fd412f954efb0bb91b32ec854b9b312516ea1)
2007-10-10 15:07:40 -05:00
Jelmer Vernooij
30047a9543
r25460: use common structure in param/generic.c
...
(This used to be commit 01ce5448f44ddda7ec864d812fe23f0fa68d1561)
2007-10-10 15:07:40 -05:00
Jelmer Vernooij
5ecd526d1c
r25456: Avoid externs for charsets for now - it breaks openchange.
...
(This used to be commit 836431af83674018e9700f9da92ce251d108687a)
2007-10-10 15:07:38 -05:00
Jelmer Vernooij
ce7bccef5f
r25449: Add convenience function for opening the default smb.conf for openchange.
...
(This used to be commit 5f023ef7a4046442a96768b926546f93735c9666)
2007-10-10 15:07:36 -05:00
Jelmer Vernooij
60a1046c5c
r25430: Add the loadparm context to all parametric options.
...
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
95157091e3
r25410: Use C99 struct initialization.
...
(This used to be commit ad1513bc1bada69a071ae4f477b9952e45622837)
2007-10-10 15:07:29 -05:00
Jelmer Vernooij
37d53832a4
r25398: Parse loadparm context to all lp_*() functions.
...
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
3048e9ad65
r25392: Add loadparm context as argument in a couple more places.
...
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
2007-10-10 15:07:24 -05:00
Jelmer Vernooij
5e2f9cd8e2
r25379: Use loadparm context parameter in a lot more places.
...
(This used to be commit 091961b13be665061c7e88ab4e2808c015bc403e)
2007-10-10 15:07:22 -05:00
Jelmer Vernooij
dce6620a9e
r25308: Remove use of pstring.
...
(This used to be commit 586246137c60c9c2fb49f902b013f2052695dd32)
2007-10-10 15:07:12 -05:00
Andrew Bartlett
15c1801a5c
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
(This used to be commit cda965e908055d45b1c05bc29cc791f7238d2fae)
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
7e297ecfa4
r25047: Fix more warnings.
...
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10 15:05:49 -05:00
Jelmer Vernooij
e44d8bc87f
r25042: Avoid direct references to global loadparm context.
...
(This used to be commit 256532ab4b772c5c38bc7ced21408f3ed42fe6b5)
2007-10-10 15:05:46 -05:00
Jelmer Vernooij
46d16c0131
r25041: Use context in more places, fix warnings.
...
(This used to be commit 9bb8738945b80d308e592bbecd44fe4e4f048ad8)
2007-10-10 15:05:46 -05:00