summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-04-15libmsbconf: add handling of NULL share parameters to registry backend.Michael Adam1-14/+92
Michael (This used to be commit 6c1181fda2f040d9555917b10a65bc0dfc1f0593)
2008-04-15libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in ↵Michael Adam1-1/+1
smbconf_create_share(). These are values stored inside the base key for registry. This is not getting deleted. Michael (This used to be commit aa167de8252bb615bd21fb3fd9468383b8357d32)
2008-04-15libsmbconf: make sure to always list the NULL section first in text backend.Michael Adam1-3/+16
Michael (This used to be commit b50fdf321dc8056caa2b057cbd7f83792dfbcd4d)
2008-04-15libsmbconf: default to the NULL section when a parameter is encountered w/o ↵Michael Adam1-2/+8
section Michael (This used to be commit e1b98f1cbce72d12085d86da834f0949ecbfbf67)
2008-04-15libsmbconf: allow NULL sharename in smbconf_share_exists().Michael Adam1-3/+0
Michael (This used to be commit cb23052b2055d77924b2a593ec14f0c1de9a3b51)
2008-04-15libsmbconf: add handling of NULL strings to smbconf_find_in_array().Michael Adam1-2/+4
Michael (This used to be commit a5923bafe9b543d50dca06d251186948baeac8cc)
2008-04-15libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()Michael Adam1-5/+9
Michael (This used to be commit aba261a9143bc7ab681b1c57ccfc08da0cffcfe7)
2008-04-15lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!Stefan Metzmacher1-2/+4
metze (This used to be commit ccdebe97f85b76378e42d8cf08324228bd19cf32)
2008-04-14Enable multiple fd events on a single file descriptorVolker Lendecke1-1/+1
Now we can have multiple events listen on a single fd. The order in which they are called is naturally not defined, meaning that it is only deterministic if exactly one event is readable or writeable. (This used to be commit 61503f822b60f98dd1f7549707ec89b48e32caeb)
2008-04-14Fix the build of db_open_trans with CLUSTER_SUPPORT enabledVolker Lendecke1-0/+2
Metze, you might want to check this. (This used to be commit 3b4a402bc5c3490000581d43a12388883bcf8150)
2008-04-13libsmbconf: add a smbconf init dispatcher smbconf_init().Michael Adam2-1/+99
The dispatcher takes a config source argument in the form of "backend:path" where backend can (currently) be one of "txt" (aka "file") or "reg" (aka "registry"). When the path is omitted, it is up to the backend to provide a default path. When there is no separator ":" and the string is not a recognized backend, then file backend is assumed and the string is passed in as the path argument. Michael (This used to be commit cc613a60eb0f6b92cae98e8669e5e569a1eb9324)
2008-04-13libsmbconf: move setting of verbatim variable into a more internal function.Michael Adam1-2/+2
Michael (This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00)
2008-04-13libsmbconf: add a check for talloc failure to smbconf_txt_init().Michael Adam1-0/+3
Michael (This used to be commit f76ec7d87e206426c795374397ba725ecdeec784)
2008-04-13libsmbconf: remove the bool verbatim parameter from txt backend init function.Michael Adam3-6/+4
Always be verbatim for now. Backend config options may be added later via some private data pointer. Michael (This used to be commit e8bafcfbf4a7ab1dc1ce4f2acd24b0eb74933256)
2008-04-13libsmbconf: rename smbconf_init() to smbconf_init_internal().Michael Adam4-6/+6
smbconf_init should be the name of the dispatcher (to be written) Michael (This used to be commit 3fb95ab757650712716472ebaccb7119feb27596)
2008-04-13libnetapi: add libnetapi_set_use_kerberosGünther Deschner4-2/+25
Don't unconditionally set the kerberos flag for authentication. Guenther (This used to be commit 15bef5ae413adf278cccc0e547c4b8ccd180eca2)
2008-04-13libnetapi: Add NetQueryDisplayInformation header.Günther Deschner1-0/+8
Guenther (This used to be commit 3c107934acc907e3eedd116b42d1d07ee0574183)
2008-04-13libnetapi: add NetQueryDisplayInformation example.Günther Deschner2-1/+105
Guenther (This used to be commit 5f9332cf1f60bb5a23a16776b95af3a83c5deb40)
2008-04-13libnetapi: fill in NetQueryDisplayInformation_r.Günther Deschner1-1/+295
Guenther (This used to be commit 7fb9991b4c54fd0b9629e47afc1e5bbc2cfc1088)
2008-04-13libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.Günther Deschner1-6/+2
Guenther (This used to be commit 9edb067f62b1e36f1da461b3eb09cb123d2089dd)
2008-04-13libnetapi: add NetQueryDisplayInformation skeleton.Günther Deschner3-0/+82
Guenther (This used to be commit 6ec4a62b6d584f6745c3285474372f235614b598)
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)