Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in reg backend | Michael Adam | 1 | -20/+20 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in txt backend | Michael Adam | 1 | -5/+6 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_init | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in testsuite | Michael Adam | 1 | -5/+5 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf_util.c | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: use talloc_free instead of TALLOC_FREE in smbconf.c | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-01-21 | s3:libsmbconf: remove the init headers from smbconf.h | Michael Adam | 5 | -19/+100 | |
give the smbconf_init() dispatcher and the backends (smbconf_reg and smbconf_txt) a header of their own each. This allows to use the basic infrastructure and single backends individually. Michael | |||||
2009-01-21 | s3:libsmbconf: remove unused function smbconf_is_writeable_bystring() | Michael Adam | 2 | -27/+0 | |
Michael | |||||
2008-11-01 | Rename dos_errstr() to win_errstr() for consistency with Samba 4. | Jelmer Vernooij | 2 | -14/+14 | |
2008-10-27 | [s3]libsmbconf: add utility function smbconf_is_writeable_bystring() | Michael Adam | 2 | -0/+27 | |
This checks the writeability of a config source specified by the config source name. Michael | |||||
2008-10-27 | [s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable() | Michael Adam | 5 | -0/+29 | |
This allows for per-config-source checking of write support. Michael | |||||
2008-10-27 | [s3]libsmbconf: create text config in smbconftort | Michael Adam | 1 | -1/+38 | |
Michael | |||||
2008-10-27 | [s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2008-10-27 | [s3]libsmbconf: fall back to file backend when no valid backend was found | Michael Adam | 1 | -4/+5 | |
Interpret the source string as a file name when it contains a ':' sign but the initial part is not a known backend. This might occur even implicitly when "%T" is used in an include file name (even though this is not realistic..). Michael | |||||
2008-10-27 | [s3]libsmbconf: fix comment typo. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2008-10-27 | [s3]libsmbconf: add backend_requires_messaging() method to libsmbconf. | Michael Adam | 5 | -0/+28 | |
In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. Michael | |||||
2008-10-27 | [s3]libsmbconf: remove unused define. | Michael Adam | 1 | -3/+0 | |
Michael | |||||
2008-10-23 | Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTS | Jelmer Vernooij | 2 | -2/+2 | |
previously present in Samba 3. | |||||
2008-10-18 | Use separate make variables for libutil and libcrypto. | Jelmer Vernooij | 1 | -1/+1 | |
2008-07-01 | Jim Brown <jim.brown@miami.edu> was right, this needs to be a signed int or | Jeremy Allison | 1 | -1/+1 | |
the loop never terminates. Jeremy. (This used to be commit 80e547665d104a6db376ff4c48bcc01dfd3513ee) | |||||
2008-07-01 | Fix problem noticed by Jim Brown <jim.brown@miami.edu>. When reverse ↵ | Jeremy Allison | 1 | -1/+1 | |
searching decrement index, not increment. Michael please check ! Jeremy. (This used to be commit d89f9d404f478fc9887bb6e67ce28a61464bcf93) | |||||
2008-06-23 | libsmbconf: add "includes" to the forbidden_valnames[]. | Michael Adam | 1 | -0/+1 | |
This removes the warning messages 'Unknown parameter encountered: "includes"'. Michael (This used to be commit b20019ceaaf4a8964792f6ba37f50f91b6847e7f) | |||||
2008-06-23 | libsmbconf: fastpaths first in smbconf_reg_valname_valid(). | Michael Adam | 1 | -2/+2 | |
Before dropping into lp_parameter_is_valid(). Michael (This used to be commit 59beb7acd777a4c224dce90fbbff7a137d2b89c1) | |||||
2008-04-23 | Increase level of debug msg when a regkey is not found | Volker Lendecke | 1 | -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-23 | libsmbconf: remove unnecessary talloc success check from smbconf_txt.c | Michael Adam | 1 | -8/+0 | |
talloc_stackframe() panics on NOMEM. Michael (This used to be commit dee57ad025e7ad9971e44ea30b6aab3806c06fc6) | |||||
2008-04-23 | libsmbconf: remove unnecessary talloc success checks from smbconf_reg.c | Michael Adam | 1 | -12/+1 | |
talloc_stackframe panics on NOMEM. Michael (This used to be commit 03fd30eef803ff2718e7af618d38944d56ccd329) | |||||
2008-04-23 | libsmbconf: remove unnecessary talloc success checks from smbconf.c | Michael Adam | 1 | -4/+0 | |
talloc_stackframe() panics on NOMEM. Michael (This used to be commit be4f8447ccd044563f6b12793ea64d9f38741861) | |||||
2008-04-23 | libsmbconf: rewrite API to use smbconf_service struct | Michael Adam | 5 | -56/+68 | |
instead of lists of strings and counters directly... Michael (This used to be commit 17415e2dc457ce41793a7e28e71f72c538c19c61) | |||||
2008-04-22 | libsmbconf: add a struct smbconf_service to hold the parameter names + values. | Michael Adam | 1 | -0/+7 | |
Michael (This used to be commit 8118a8348f36b28fa4d46b42a104097cefa33a4d) | |||||
2008-04-22 | libsmbconf: fix comment headers in smbconf.h | Michael Adam | 1 | -3/+8 | |
Michael (This used to be commit 54c0461679642b38653f803e7b21d865472f3f91) | |||||
2008-04-22 | libsmbconf: text backend remove comment references to "simple". | Michael Adam | 1 | -2/+2 | |
Michael (This used to be commit 640b8ae7ad7aa53e05c7124fed072f2312aa91aa) | |||||
2008-04-22 | libsmbconf: rename smbconf_init_txt_simple() to smbconf_init_txt(). | Michael Adam | 4 | -9/+9 | |
...for consistency. Michael (This used to be commit 3d1da73f66b8452693262e2d03f986eec438451d) | |||||
2008-04-22 | libsmbconf: rename text backend smbconf_txt_simple to smbconf_txt. | Michael Adam | 1 | -0/+0 | |
Michael (This used to be commit dd9fe5aec43e60d554f2580a0699fe6e4cfb5d3c) | |||||
2008-04-16 | libsmbconf: fix segfault in listing share names / config. | Michael Adam | 1 | -1/+1 | |
Discovered by Günther while giving a talk. - Sorry Günther! Michael (This used to be commit 518f4d4e6662138a2e71acc2296acedefc7c739a) | |||||
2008-04-15 | libmsbconf: add handling of NULL share parameters to registry backend. | Michael Adam | 1 | -14/+92 | |
Michael (This used to be commit 6c1181fda2f040d9555917b10a65bc0dfc1f0593) | |||||
2008-04-15 | libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in ↵ | Michael Adam | 1 | -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-15 | libsmbconf: make sure to always list the NULL section first in text backend. | Michael Adam | 1 | -3/+16 | |
Michael (This used to be commit b50fdf321dc8056caa2b057cbd7f83792dfbcd4d) | |||||
2008-04-15 | libsmbconf: default to the NULL section when a parameter is encountered w/o ↵ | Michael Adam | 1 | -2/+8 | |
section Michael (This used to be commit e1b98f1cbce72d12085d86da834f0949ecbfbf67) | |||||
2008-04-15 | libsmbconf: allow NULL sharename in smbconf_share_exists(). | Michael Adam | 1 | -3/+0 | |
Michael (This used to be commit cb23052b2055d77924b2a593ec14f0c1de9a3b51) | |||||
2008-04-15 | libsmbconf: add handling of NULL strings to smbconf_find_in_array(). | Michael Adam | 1 | -2/+4 | |
Michael (This used to be commit a5923bafe9b543d50dca06d251186948baeac8cc) | |||||
2008-04-15 | libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array() | Michael Adam | 1 | -5/+9 | |
Michael (This used to be commit aba261a9143bc7ab681b1c57ccfc08da0cffcfe7) | |||||
2008-04-13 | libsmbconf: add a smbconf init dispatcher smbconf_init(). | Michael Adam | 2 | -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-13 | libsmbconf: move setting of verbatim variable into a more internal function. | Michael Adam | 1 | -2/+2 | |
Michael (This used to be commit 9efd7b515183fa28f400fe88af63e0b0126e3e00) | |||||
2008-04-13 | libsmbconf: add a check for talloc failure to smbconf_txt_init(). | Michael Adam | 1 | -0/+3 | |
Michael (This used to be commit f76ec7d87e206426c795374397ba725ecdeec784) | |||||
2008-04-13 | libsmbconf: remove the bool verbatim parameter from txt backend init function. | Michael Adam | 3 | -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-13 | libsmbconf: rename smbconf_init() to smbconf_init_internal(). | Michael Adam | 4 | -6/+6 | |
smbconf_init should be the name of the dispatcher (to be written) Michael (This used to be commit 3fb95ab757650712716472ebaccb7119feb27596) | |||||
2008-04-13 | registry: change registry_init_smbconf() to return WERROR instead of bool | Michael Adam | 1 | -2/+2 | |
Michael (This used to be commit 7c343c60574cda091f59861fbcb2893aefb564e9) | |||||
2008-04-13 | registry: make registry_init_smbconf() hook the registry ops onto given key. | Michael Adam | 1 | -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-11 | libsmbconf: don't mark the API as "subject to change" any longer. | Michael Adam | 1 | -4/+0 | |
At least I hope it won't need many changes anymore... Michael (This used to be commit c4e1439eded7bb4df60b9d4b457e5b7898928c9e) | |||||
2008-04-10 | libsmbconf: testsuite: add test for delete_includes | Michael Adam | 1 | -0/+56 | |
Michael (This used to be commit 757601ec830f4a08c5fdcbe2d9bfac86fdc6602c) |