Jelmer Vernooij
14a54761d9
Move ini-like file parser to the utility library.
...
(This used to be commit 2dc2bb800d
)
2008-04-01 14:51:06 +02:00
Jelmer Vernooij
90f76ae99b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit 4e0b94d648
)
2008-03-28 00:59:54 +01:00
Andrew Bartlett
b422a78df2
Fix 'oplocks' in loadparm.
...
I forgot one more place where I must specify the new config option. I
wish this was more templated...
Andrew Bartlett
(This used to be commit 5a740f4daa
)
2008-03-28 10:18:06 +11:00
Andrew Bartlett
d554590d33
Fix how we initialise the oplocks parameter.
...
Andrew Bartlett
(This used to be commit 08ec91958d
)
2008-03-27 21:00:04 +11:00
Andrew Bartlett
91ae032c53
Actually call into lp_oplocks() in share_classic backend.
...
Andrew Bartlett
(This used to be commit 2c18482b19
)
2008-03-27 20:50:39 +11:00
Andrew Bartlett
4fc27c9969
Make oplocks a per-share option.
...
This even goes via the share options system (a very odd layer of indirection).
Andrew Bartlett
(This used to be commit f2c65f9907
)
2008-03-27 20:32:02 +11:00
Jelmer Vernooij
fb6fdfce37
Fix the build.
...
(This used to be commit f2e4974471
)
2008-03-08 17:02:40 +01:00
Jelmer Vernooij
2bf39edc9d
Push SOVERSION and VERSION out of perl code.
...
(This used to be commit 0ba8ac6a14
)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
fc2cd5ed63
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit e4da851bd7
)
2008-03-07 18:03:54 +01:00
Andrew Bartlett
14c5f968e1
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
(This used to be commit 0923de1228
)
2008-03-07 10:57:52 +11:00
Stefan Metzmacher
3cbe47b2ae
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
(This used to be commit 33caaef2e4
)
2008-03-06 16:31:25 +01:00
Jelmer Vernooij
2d1c06c578
Fix includes.
...
(This used to be commit 99e61dade2
)
2008-03-04 00:43:24 +01:00
Jelmer Vernooij
b29d47edcf
Move object file lists to the Makefile.
...
(This used to be commit a7e6d2a183
)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
489f66cd42
Change remaining prototype headers to be private.
...
(This used to be commit 2f7ff409e8
)
2008-02-29 14:36:51 +01:00
Jelmer Vernooij
1ada710840
Move public header accumulation out of the perl code.
...
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.
Conflicts:
source/auth/config.mk
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/config_mk.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/lib/charset/config.mk
source/lib/tdr/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/torture/config.mk
(This used to be commit 6c659689ed
)
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
c8011b5d09
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/scripting/python/config.mk
(This used to be commit 0ac0ea660a
)
2008-02-29 12:45:46 +01:00
Jelmer Vernooij
2ba62662f8
Remove sDefault as static variable.
...
(This used to be commit 16f36ce499
)
2008-02-28 20:04:58 +01:00
Jelmer Vernooij
80d1d2a4db
Clarify comments.
...
(This used to be commit 5193b38376
)
2008-02-27 19:37:13 +01:00
Jelmer Vernooij
c5d77a1c24
Move public header accumulation out of the perl code.
...
(This used to be commit 89f7c74924
)
2008-02-26 17:17:52 +01:00
Jelmer Vernooij
f112578843
Remove public prototype headers. Generating both public and private prototype headers is tricky with gmake and it's easy to break backwards compatibility for the public API with them.
...
(This used to be commit dee1cb6b08
)
2008-02-25 23:09:56 +01:00
Kai Blin
2ca1aeb59b
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
(This used to be commit ed8178b110
)
2008-02-21 11:21:54 +01:00
Jelmer Vernooij
80cbff3d01
Fix build with partial linking.
...
(This used to be commit bfad9610c4
)
2008-02-18 16:02:33 +01:00
Kai Blin
c10e0dee34
loadparm: Clean up trailing whitespace
...
No code change. Couldn't resist.
(This used to be commit abc816b388
)
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 35313c0aa3
)
2008-02-04 17:59:16 +11:00
Jelmer Vernooij
00cb710fbc
Add bindings for lp_load_default().
...
(This used to be commit ffd793bbde
)
2008-01-23 23:38:57 +01:00
Jelmer Vernooij
a259547786
build: Remove support for DESCRIPTION setting that is now unused.
...
(This used to be commit 91d7ba5202
)
2008-01-22 18:49:51 +01:00
Jelmer Vernooij
f254d53202
param: Use manually written .pc file.
...
(This used to be commit c0165aab47
)
2008-01-22 18:41:30 +01:00
Jelmer Vernooij
03023c4f7d
build: Demote a bunch of libraries to subsystems. This makes packaging easier and should also make it easier
...
to migrate to a new build system.
(This used to be commit 77b400764e
)
2008-01-21 03:54:42 +01:00
Jelmer Vernooij
251457264b
python: Accept loadparm filename rather than loadparm object, too.
...
(This used to be commit 7e583a7ec4
)
2008-01-14 19:53:07 +01:00
Jelmer Vernooij
3b16c532f2
pidl/python: Pass credentials and loadparm context when connecting using DCE/RPC.
...
(This used to be commit 4c87af9531
)
2008-01-14 19:53:06 +01: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 8a97886e24
)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
7d5f0e0893
r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange.
...
(This used to be commit 2f29f80e07
)
2008-01-01 16:12:15 -06:00
Jelmer Vernooij
ac65321a46
r26627: param: Provide a call for loading the system smb.conf.
...
(This used to be commit 2596b479ab
)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
533cc583ed
r26596: Fixed upgrade.py.
...
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
(This used to be commit 2227fb6df6
)
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
cc30cb5e24
r26592: Finish fixing the samba3dump script.
...
(This used to be commit 85679f3fc9
)
2007-12-26 11:57:06 -06:00
Kai Blin
3c744ddd2c
r26588: Janitorial: Rename torture_*_add_*test to torture_*_add_*test_const.
...
Also rename the corresponding wrap_ functions.
(This used to be commit e59c2eaf68
)
2007-12-26 11:57:05 -06:00
Jelmer Vernooij
c13ae70731
r26580: Include sentinel in build.h, in case the list is empty.
...
(This used to be commit f1997dabed
)
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
be33f4c611
r26576: Allow the static module loading code to be used for the Python modules.
...
Simplify the way module initialization functions are handled.
(This used to be commit ba8be2dfc0
)
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
d0ba9f0014
r26572: Fix warnings in the Python code.
...
(This used to be commit 15038d9586
)
2007-12-24 01:51:04 -06:00
Jelmer Vernooij
aa0a06f13c
r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
...
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
(This used to be commit c550c03372
)
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
57b8a8fd42
r26517: Add functions for setting and getting parameters on a LoadParm.
...
Pass loadparm context along to Ldb contexts.
Other minor Python improvements.
(This used to be commit 7a15b486ba
)
2007-12-21 05:51:23 +01:00
Jelmer Vernooij
f89c7a6e5e
r26505: Add python bindings for some samdb-related functions, improve provisioning in python.
...
(This used to be commit d240225166
)
2007-12-21 05:51:09 +01: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 1b89311e5f
)
2007-12-21 05:51:06 +01:00
Jelmer Vernooij
01b96e47cd
r26498: Fix memory leak in iconv code.
...
(This used to be commit 8795697db5
)
2007-12-21 05:50:54 +01:00
Jelmer Vernooij
1bc38f9fb3
r26464: Tighten dependencies.
...
(This used to be commit 2b7cfa5d9a
)
2007-12-21 05:50:29 +01:00
Jelmer Vernooij
b04bae8715
r26461: Tighten dependencies.
...
(This used to be commit a07050be33
)
2007-12-21 05:50:27 +01:00
Jelmer Vernooij
a94142487a
r26456: Provide default config object, fix typo.
...
(This used to be commit 2b59df2af9
)
2007-12-21 05:50:24 +01:00
Jelmer Vernooij
df8c7da800
r26454: Add simple SWIG macro for wrapping talloced types.
...
(This used to be commit 760fcc8bfa
)
2007-12-21 05:50:22 +01:00
Jelmer Vernooij
bf6d40f271
r26449: Support configuration without a known configuration dir.
...
(This used to be commit d3643c2152
)
2007-12-21 05:50:14 +01:00
Jelmer Vernooij
864218b6be
r26448: Add basic tests for param python module.
...
(This used to be commit ccfab20dcc
)
2007-12-21 05:50:14 +01:00
Jelmer Vernooij
c39c94b499
r26447: Forgot to add param.i file.
...
(This used to be commit 44098e6a40
)
2007-12-21 05:50:13 +01:00
Jelmer Vernooij
55f90f1166
r26446: Convert param module to SWIG.
...
(This used to be commit 94e5f9c92f
)
2007-12-21 05:50:13 +01:00
Jelmer Vernooij
e31abef15f
r26440: Remove more uses of global_loadparm.
...
(This used to be commit 8858cf3972
)
2007-12-21 05:50:08 +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 f3395db91a
)
2007-12-21 05:50:04 +01:00
Jelmer Vernooij
2bf0cdd01c
r26434: Remove display charset from iconv convenience context.
...
(This used to be commit a76625994a
)
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 7f28b53b57
)
2007-12-21 05:50:03 +01:00
Jelmer Vernooij
d891c0c74a
r26429: Avoid use of global_smb_iconv_convenience.
...
(This used to be commit d37136b7ab
)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
a5b8999f23
r26427: Avoid global_smb_iconv_convenience.
...
(This used to be commit bf072c6fb3
)
2007-12-21 05:49:53 +01:00
Stefan Metzmacher
45d349eb80
r26425: fix crash bug, sorry I should have tested that...
...
metze
(This used to be commit 61d2f1a03b
)
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 5b62180946
)
2007-12-21 05:49:51 +01:00
Stefan Metzmacher
69e61fc153
r26415: LIBSAMBA-CONFIG used dlopen(), so it has to depend on LIBREPLACE_EXT for -ldl
...
This fixes the pidl/ndr_string test.
metze
(This used to be commit 7c6d9edffb
)
2007-12-21 05:49:46 +01:00
Stefan Metzmacher
6a56c111d7
r26391: samba4 doesn't support 'lmhosts' as resolve module
...
metze
(This used to be commit cdb64b4101
)
2007-12-21 05:49:21 +01:00
Jelmer Vernooij
f055893ca5
r26382: Remove more uses of global_loadparm.
...
(This used to be commit 6d4c598534
)
2007-12-21 05:49:17 +01:00
Jelmer Vernooij
038c75c0cb
r26357: Add separate subsystem for auth_sam_reply parsing.
...
(This used to be commit 2d61e7c96e
)
2007-12-21 05:49:02 +01:00
Jelmer Vernooij
b65dba2245
r26355: Eliminate global_loadparm in more places.
...
(This used to be commit 5d589a0d94
)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
dd7e5ed88c
r26352: Don't make lp_load create a new context.
...
(This used to be commit d0d5c1a823
)
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 c6da76b614
)
2007-12-21 05:48:55 +01:00
Jelmer Vernooij
5c6eacdb04
r26350: More tests.
...
(This used to be commit 87799f55d5
)
2007-12-21 05:48:55 +01:00
Jelmer Vernooij
5991108c81
r26349: More tests.
...
(This used to be commit c440b130a9
)
2007-12-21 05:48:54 +01:00
Jelmer Vernooij
fd88c3ca24
r26348: Avoid use of autofree context.
...
(This used to be commit eebcf7e1b0
)
2007-12-21 05:48:53 +01:00
Jelmer Vernooij
5f9aeca0d6
r26347: More tests.
...
(This used to be commit 5d927b5ca7
)
2007-12-21 05:48:53 +01:00
Jelmer Vernooij
3c12ad6a95
r26346: Add tests for loadparm.
...
(This used to be commit 064a2329e1
)
2007-12-21 05:48:52 +01:00
Jelmer Vernooij
fe77606ecc
r26345: Fix dumping an individual parameter.
...
(This used to be commit e8065a7f8f
)
2007-12-21 05:48:52 +01:00
Jelmer Vernooij
b0eec88131
r26344: Fix memory access.
...
(This used to be commit 966248108f
)
2007-12-21 05:48:51 +01:00
Jelmer Vernooij
f2cd9f6633
r26343: Remove bLoaded global variable.
...
(This used to be commit 6c3ca6aa81
)
2007-12-21 05:48:51 +01:00
Jelmer Vernooij
1cdc55f5ec
r26342: Fix initialization.
...
(This used to be commit 2c9e17cb96
)
2007-12-21 05:48:50 +01:00
Jelmer Vernooij
b10f731a27
r26340: Add special handlers for debuglevel and logfile.
...
(This used to be commit 2be4e8a444
)
2007-12-21 05:48:50 +01:00
Jelmer Vernooij
a48fdda5fe
r26339: Make loadparm talloc-allocated.
...
(This used to be commit 1e02cd8db1
)
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 9c87c46c69
)
2007-12-21 05:48:47 +01:00
Jelmer Vernooij
01d2acfdb4
r26335: Specify name_resolve_order to socket code.
...
(This used to be commit b03e5d0011
)
2007-12-21 05:48:46 +01:00
Jelmer Vernooij
090d251c19
r26318: Don't rely on SAMDB functions in secrets database.
...
(This used to be commit 791285f66c
)
2007-12-21 05:48:31 +01:00
Jelmer Vernooij
39ee38d9c1
r26316: Use contexts for conversion functions.
...
(This used to be commit f6420d933b
)
2007-12-21 05:48:30 +01:00
Jelmer Vernooij
b440ed3df3
r26315: Avoid using lp_ functions in libcharset.
...
(This used to be commit db6dd425e3
)
2007-12-21 05:48:27 +01:00
Jelmer Vernooij
6901b3c64a
r26278: Tallocify convenience table for iconv handles.
...
(This used to be commit ad64b3baa4
)
2007-12-21 05:48:04 +01:00
Jelmer Vernooij
b038240ac7
r26275: return loadparm context in lp_load.
...
(This used to be commit d01f0f4c20
)
2007-12-21 05:48:01 +01:00
Jelmer Vernooij
509e82e402
r26272: Remove global_loadparm in some more places.
...
(This used to be commit 1ab76ecc53
)
2007-12-21 05:47:55 +01:00
Jelmer Vernooij
ecea5ce245
r26260: Store loadparm context in gensec context.
...
(This used to be commit b9e3a4862e
)
2007-12-21 05:47:34 +01:00
Jelmer Vernooij
43696d2752
r26252: Specify loadparm_context explicitly when creating sessions.
...
(This used to be commit 7280c1e941
)
2007-12-21 05:47:29 +01:00
Jelmer Vernooij
ab69eb8d89
r26250: Avoid global_loadparm in a couple more places.
...
(This used to be commit 2c6b755309
)
2007-12-21 05:47:28 +01:00
Jelmer Vernooij
6c999cd123
r26236: Remove more uses of global_loadparm or specify loadparm_context explicitly.
...
(This used to be commit 5b29ef7c03
)
2007-12-21 05:47:15 +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 0721a07aad
)
2007-12-21 05:47:04 +01:00
Jelmer Vernooij
991ee1aff0
r26205: Pass loadparm_context to secrets_db_connect() rather than using global context.
...
(This used to be commit 5718b6cfee
)
2007-12-21 05:46:51 +01:00
Jelmer Vernooij
cef98aaf27
r26203: Avoid using ldb_wrap for secrets database.
...
(This used to be commit b45093f01f
)
2007-12-21 05:46:49 +01:00
Andrew Bartlett
a17c0a5a1a
r26183: The idea of a self-seeding secrets.ldb is nice, but in practice we do
...
this with the provision, which sets up a very different database.
Removing this ensures we are consistant.
Andrew Bartlett
(This used to be commit 6d4d20ebaf
)
2007-12-21 05:46:38 +01:00
Jelmer Vernooij
7f7bc26445
r26128: Some formatting fixes in secrets.c, fix free of filename, update ignores for source/..
...
(This used to be commit 2d0bd4b367
)
2007-12-21 05:46:14 +01:00
Jelmer Vernooij
ed41cdb646
r26123: Use utility function for secrets.tdb path.
...
(This used to be commit 48b03ceeff
)
2007-12-21 05:46:13 +01:00
Jelmer Vernooij
6357fb802a
r26095: Add function for import a generic configuration file in a loadparm context.
...
(This used to be commit d74018d055
)
2007-12-21 05:46:00 +01:00
Jelmer Vernooij
dc2273ba37
r26006: Improve some dependencies.
...
(This used to be commit 28f05bb5ef
)
2007-12-21 05:45:41 +01:00
Jelmer Vernooij
ca0b72a1fd
r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
...
(This used to be commit 56dfcb4f2f
)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
6ee570c327
r25927: Move share tests to param directory.
...
(This used to be commit f12f623da5
)
2007-12-21 05:45:05 +01:00