summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-04-13libnetapi: don't to try to free NULL struct.Günther Deschner1-0/+4
Guenther (This used to be commit eb33d30d80ab2fe770e248f5b2a70a83a43dd156)
2008-04-13registry: change registry_init_smbconf() to return WERROR instead of boolMichael Adam1-2/+2
Michael (This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)
2008-04-13adt_tree: change pathtree_add to return WERR instead of bool.Michael Adam1-6/+6
Michael (This used to be commit da45fb92f69221758f36db4cbb7d871e3ce60718)
2008-04-13registry: make registry_init_smbconf() hook the registry ops onto given key.Michael Adam1-1/+1
This still defaults to HKLM\Software\Samba\smbconf, but is interchangeable now. This allows us to open the libsmbconf registry backend on different registry keys. Michael (This used to be commit 8fe1a2f567afbecbe487f08825cb43b038065e99)
2008-04-13Fix ou handling in netdomjoin-gui.Günther Deschner1-0/+5
The ou list was concatenated again and again... Guenther (This used to be commit 84608e165e24c68c12d40086f81684ef37f69159)
2008-04-13libnetapi: fix a C++ warning by making implicit cast explicitMichael Adam1-1/+1
Michael (This used to be commit b62dd61cc56ec33601289fd4e23058c7f9ad3f0d)
2008-04-13dbwrap_tdb2: fix a C++ warning by making implicit cast explicitMichael Adam1-3/+3
Michael (This used to be commit 18ced7e42072953a1968db15b0a344b54214b83d)
2008-04-12dbwrap: use db_open_tdb2() in for db_open_trans() if "dbwrap:use_tdb2=yes"Stefan Metzmacher1-2/+57
For clustered setups you need to disable the ctdb backend for each tdb which should use the tdb2 backend (e.g. ctdb:registry.tdb=no). To disable tdb2 per tdb use something like "tdb2:passdb.tdb=no" metze (This used to be commit 5cea2bf3673c982bafeef4a8bbd3bd2ab73cc0c5)
2008-04-12dbwrap: add dbwrap_tdb2 backendStefan Metzmacher1-0/+1265
This backend can be used untill ctdb knows about real transactions. It stores a master tdb in a shared location and a readonly copy on the local harddisk. Reads are always on the local tdb and writes always on both. Change notify messages are send to all message context, which ask for them. With the notifies it's possible to just update the changed records, instead of copying all records (which is the fallback). You need to configure: dbwrap:use_tdb2=yes dbwrap_tdb2:master directory=/some/shared/path dbwrap_tdb2:local directory=/var/lib/samba metze (This used to be commit aa6230de0d5f1875aa8c12c4fc017d3a40f90890)
2008-04-12messaging: add FLAG_MSG_DBWRAP message class flagStefan Metzmacher1-0/+2
metze (This used to be commit ee6325495f48bab43a37d740a6eca57192004d57)
2008-04-12registry: move normalize_dbkey() from lib/util_reg.c to registry/reg_util.cMichael Adam1-7/+0
This function is only used inside registry code. Michael (This used to be commit 48745e3fbd6b38f39678938b8c3f145769065e7b)
2008-04-12libnetapi: fix interactive logging by preventing setup_logging from closing ↵Michael Adam1-0/+3
stderr. Michael (This used to be commit 563b837b76e3a6086051fc56e0522b841939d37f)
2008-04-12util_tdb: fix a segfault caused by a fatal typo.Michael Adam1-1/+1
In tdb_wrap_log(), in on occurrence of "debug_level = 0" instead of "debuglevel = 0" caused me segfaults when accessing DEBUGLEVEL (which is defined as "*debug_level"...) Michael (This used to be commit d9bd894c2ec4faf87e8ff96e27c7e2b8175f9387)
2008-04-11libsmbconf: don't mark the API as "subject to change" any longer.Michael Adam1-4/+0
At least I hope it won't need many changes anymore... Michael (This used to be commit c4e1439eded7bb4df60b9d4b457e5b7898928c9e)
2008-04-11Cleanup size_t return values in convert_string_allocateTim Prouty2-62/+78
This patch is the first iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 59124382d2894a1b194b48dd82bc5f956959eb48)
2008-04-10Use libnetapi_open_pipe in netapi functions.Günther Deschner4-48/+27
Guenther (This used to be commit 5804d8b112e1da022988c635284eb4799974d4c7)
2008-04-10Add libnetapi_open_pipe, inspired by the cli_cm_ interface.Günther Deschner2-0/+114
Guenther (This used to be commit 87d8fc338f6e6b48691bff3eeebfc00c5d408ff7)
2008-04-10Use libnetapi_open_ipc_connection in libnetapi.Günther Deschner5-180/+33
Guenther (This used to be commit d9f19fc61586d606393368799dee9757c169d602)
2008-04-10Fix one missing netapi_private header.Günther Deschner1-2/+2
Guenther (This used to be commit d34c3e8ad2b21051162e2a9d65f773c486c43d8b)
2008-04-10Split out private headers in libnetapi.Günther Deschner7-8/+80
Guenther (This used to be commit dd6251d51472a96bfc5ba3d62ea788c8924d4c6b)
2008-04-10Add very basic cli_cm_* based connection handler to libnetapi.Günther Deschner1-0/+75
Guenther (This used to be commit e9e46cfcbe25366121f680a6d81fe08c128bf00a)
2008-04-10Use SERVER_INFO_1005 in libnetapi.Günther Deschner3-11/+11
Guenther (This used to be commit 5f8793dd1d8a3694afb7f2d882cfb9990eb40b75)
2008-04-10Fix typo.Günther Deschner1-1/+1
Guenther (This used to be commit 30337bce2c748e5338f9cc923e096883322f50d3)
2008-04-10libsmbconf: testsuite: add test for delete_includesMichael Adam1-0/+56
Michael (This used to be commit 757601ec830f4a08c5fdcbe2d9bfac86fdc6602c)
2008-04-10libsmbconf: return success and count 0 from get_includes when no includes ↵Michael Adam1-0/+3
present. Michael (This used to be commit 182433be5bae753d264491a3ec97433e2e316d10)
2008-04-10libsmbconf: add delete_includes mehtod to the api (and backend implementations)Michael Adam5-0/+59
Michael (This used to be commit daef50e54d58a6684b6a890ebf523ca6245f0290)
2008-04-10libsmbconf: let set_includes delete the includes paramter when given an ↵Michael Adam1-2/+9
empty list instead of complaining Michael (This used to be commit 0dc1fd68598529891429fb29ab1f561fb434bf38)
2008-04-10libsmbconf: fix crashbug - correctly check for existence of file.Michael Adam1-1/+6
Michael (This used to be commit dd543cd30c3eca9621681ba4b6e9a6683ef2bd07)
2008-04-10libsmbconf: prevent getting/deleting value "includes".Michael Adam1-0/+10
This has to be handled differently (by using get_includes / set_includes) Michael (This used to be commit 5a880c6a2f2415220557a76a9b4ce9a17c766819)
2008-04-10libsmbconf: consider "include" a forbidden parameter in regisry config again.Michael Adam1-0/+1
It is now taken care of by the special includes handling. Michael (This used to be commit 2c8c65d6900086e92c838333b31abf9efdb61343)
2008-04-10libsmbconf: add includes at the end of parameter list in reg_get_share().Michael Adam1-1/+24
Michael (This used to be commit 9bd06d5737aff2bb27c07575285e079fd561a566)
2008-04-10libsmbconf: add function smbconf_reg_valname_valid() and use it in get_values()Michael Adam1-4/+16
so "includes" doesn't get listed as a parameter Michael (This used to be commit 01c4bd07305b4ce800b99a098652623f118a74aa)
2008-04-10libsmbconf: refactor get_includes on opened key into ↵Michael Adam1-40/+56
smbconf_reg_get_includes_internal() Michael (This used to be commit 072a3228a4e08894c67ad2983bcea3417e202773)
2008-04-10libsmbconf: rename registry_smbconf_valname_forbidden() to ↵Michael Adam1-2/+2
smbconf_reg_valname_forbidden() Michael (This used to be commit 23fb33fd33a8287d8691a1a5e95bf160be3ed25c)
2008-04-10libsmbconf: make registry_smbconf_valname_forbidden() staticMichael Adam1-1/+1
Michael (This used to be commit 798808174d0d4cae3a746e26a253cad1a3177684)
2008-04-10libsmbconf: move registry_smbconf_valname_forbidden() to the registry backendMichael Adam2-22/+22
from util_reg.c - no other callers left Michael (This used to be commit 98151fd3e1c24e5c8aaf3f5132071e91ac6ef257)
2008-04-10libsmbconf: more sanely print multi_sz values in registry backendMichael Adam1-2/+2
Michael (This used to be commit 382c623948abd1c6a5cf8ab7ee2be784fcef76ee)
2008-04-10libsmbconf: testsuite: fix handling of error message/overall statusMichael Adam1-6/+2
Michael (This used to be commit c2d3d56d628f266fdfc0ca98fc199afc01670c2c)
2008-04-10libsmbconf: testsuite: add test_set_get_includes() and use it in registry testMichael Adam1-0/+58
Michael (This used to be commit 1f64a1b2b4f11b44e9c9584480f01cac066a6a1d)
2008-04-10libsmbconf: testsuite: refactor printing of string lists out.Michael Adam1-4/+15
Michael (This used to be commit 828c7297247a557ed8e2b6935bbc819aae95a660)
2008-04-10libsmbconf: implement get_includes() and set_includes() for registry backend.Michael Adam1-2/+117
includes are stored per share in a special registry value "includes" of type multi_sz. Michael (This used to be commit 3fee0d79cc618adc7dd82cfeff62c72ef061017b)
2008-04-10libsmbconf: testsuite: test get_includes for registry backendMichael Adam1-0/+2
Michael (This used to be commit 31e68cbe5bdc8d69b2b711ec8ea62dbe612ec68f)
2008-04-10libsmbconf: testsuite: use the get_global_includes in get_includes test.Michael Adam1-2/+2
Michael (This used to be commit 2a4b71b105616b42e1bbfbf01126cc445a991cc0)
2008-04-10libsmbconf: add "_global_" wrappers for get/set_includes.Michael Adam2-0/+36
These use the usual global_check like the other global wrappers. Michael (This used to be commit ce1b2f550860cb3a566db09f7c7eac39c195a5b7)
2008-04-10libsmbconf: testsuite: add test for "get_includes" and use it in the text ↵Michael Adam1-0/+32
backend test. Michael (This used to be commit 1ca5afe58cef8b750a65bd8c2a5c9ee794ed50ba)
2008-04-10libsmbconf: fill get_includes() in text backed to retrieve includes from cache.Michael Adam1-1/+53
Michael (This used to be commit 5e253e10b7f80af1f5a855c8e0f00846853cced1)
2008-04-10libsmbconf: testsuite: set the debufg fd to stderr.Michael Adam1-0/+1
...so that we see some debug output Michael (This used to be commit 7cfec55ed48644f922ca0ffaa171e3512c93a360)
2008-04-10libsmbconf: testsuite: use POPT_COMMON_SAMBA instead of POPT_COMMON_CONFIGFILEMichael Adam1-1/+1
so we can for instance set the debug level on the command line. Michael (This used to be commit 94a19234620fc23db9c4aaf449e948342164d1d4)
2008-04-10libsmbconf: testsuite: add talloc_stackframe to main().Michael Adam1-0/+2
Michael (This used to be commit 8c631ac2f42e984137972b7388add4bcbc199665)
2008-04-10libsmbconf: testsuite: add support for "--configfile" option.Michael Adam1-1/+32
Michael (This used to be commit 9f6c909f465df5fc64e2bec88acf272be9cd574e)