Andrew Bartlett
0923de1228
Rework provision scripts for more testing
...
This fixes up some issues with testdir (was not honoured) and
increases test coverage.
We now check all the major provision modes. In doing so, to make it
possible to call from the multiple layers of 'sh', I have allowed 'dc'
to alias 'domain controller' and 'member' to alias 'member server'.
Fighting shell quoting in the test system was just too hard...
Also fix upgrade.py
Andrew Bartlett
2008-03-07 10:57:52 +11:00
Stefan Metzmacher
33caaef2e4
libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKS
...
But the keep the default to always send it
when the server supports it too.
metze
2008-03-06 16:31:25 +01:00
Jelmer Vernooij
16f36ce499
Remove sDefault as static variable.
2008-02-28 20:04:58 +01:00
Kai Blin
ed8178b110
loadparm: Add configuration settings for idmap.
...
Default behaviour for "idmap trusted only" is "False", meaning idmap creates
ID mappings for all SIDs.
If set to "True", idmap will create SID mappings for trusted users only.
"idmap database" allows to set the database idmap uses, defaulting to
idmap,ldb
2008-02-21 11:21:54 +01:00
Kai Blin
abc816b388
loadparm: Clean up trailing whitespace
...
No code change. Couldn't resist.
2008-02-14 12:32:29 +01:00
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