summaryrefslogtreecommitdiff
path: root/source3/lib/smbconf
AgeCommit message (Collapse)AuthorFilesLines
2008-04-23Increase level of debug msg when a regkey is not foundVolker Lendecke1-1/+1
This is a pretty normal situation if you have "include=registry" set but no configuration options have been set there yet. (This used to be commit 727127f1dcd49b31b5a48cc3f9314aa2380d60e1)
2008-04-23libsmbconf: remove unnecessary talloc success check from smbconf_txt.cMichael Adam1-8/+0
talloc_stackframe() panics on NOMEM. Michael (This used to be commit dee57ad025e7ad9971e44ea30b6aab3806c06fc6)
2008-04-23libsmbconf: remove unnecessary talloc success checks from smbconf_reg.cMichael Adam1-12/+1
talloc_stackframe panics on NOMEM. Michael (This used to be commit 03fd30eef803ff2718e7af618d38944d56ccd329)
2008-04-23libsmbconf: remove unnecessary talloc success checks from smbconf.cMichael Adam1-4/+0
talloc_stackframe() panics on NOMEM. Michael (This used to be commit be4f8447ccd044563f6b12793ea64d9f38741861)
2008-04-23libsmbconf: rewrite API to use smbconf_service structMichael Adam5-56/+68
instead of lists of strings and counters directly... Michael (This used to be commit 17415e2dc457ce41793a7e28e71f72c538c19c61)
2008-04-22libsmbconf: add a struct smbconf_service to hold the parameter names + values.Michael Adam1-0/+7
Michael (This used to be commit 8118a8348f36b28fa4d46b42a104097cefa33a4d)
2008-04-22libsmbconf: fix comment headers in smbconf.hMichael Adam1-3/+8
Michael (This used to be commit 54c0461679642b38653f803e7b21d865472f3f91)
2008-04-22libsmbconf: text backend remove comment references to "simple".Michael Adam1-2/+2
Michael (This used to be commit 640b8ae7ad7aa53e05c7124fed072f2312aa91aa)
2008-04-22libsmbconf: rename smbconf_init_txt_simple() to smbconf_init_txt().Michael Adam4-9/+9
...for consistency. Michael (This used to be commit 3d1da73f66b8452693262e2d03f986eec438451d)
2008-04-22libsmbconf: rename text backend smbconf_txt_simple to smbconf_txt.Michael Adam1-0/+0
Michael (This used to be commit dd9fe5aec43e60d554f2580a0699fe6e4cfb5d3c)
2008-04-16libsmbconf: fix segfault in listing share names / config.Michael Adam1-1/+1
Discovered by Günther while giving a talk. - Sorry Günther! Michael (This used to be commit 518f4d4e6662138a2e71acc2296acedefc7c739a)
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-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-13registry: change registry_init_smbconf() to return WERROR instead of boolMichael Adam1-2/+2
Michael (This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9)
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-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-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 Adam1-0/+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)