summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-04-10fix some extrasemi compile warningsBjörn Jacke3-4/+4
(This used to be commit cbdb79b7a1044945e515a294f487e4c1a9c91be5)
2008-04-10Fix typo.Karolin Seeger1-1/+1
Karolin (This used to be commit 42fbbeb1caf93e4e17bb62f31ff90a853bd169fb)
2008-04-10net conf: use talloc and talloc_strdup_lower throughout all net conf functions.Michael Adam1-17/+59
Michael (This used to be commit 977cc9898970a0c07c30264e91754740c640e235)
2008-04-10net conf: implement "net conf delincludes".Michael Adam1-0/+40
usage: "net conf delincludes <servicename>" This is equivalent to "net conf setincludes <servicename>" (without further arguments). Michael (This used to be commit a1d09f34ec39b614d738c6f795fe8eafaf634105)
2008-04-10net conf: implement a "net conf setincludes" command.Michael Adam1-0/+50
given zero or more filenames as command line parameters Michael (This used to be commit ab51e4d44c3dcd00697c8ffb2ce628c4072c7a53)
2008-04-10net conf: implement "net conf getincludes".Michael Adam1-0/+47
Michael (This used to be commit 30bc48623cf4f9ee17ff9c3e7a9fd98840a01d92)
2008-04-10net conf: add diagnostic message for failure to load text file.Michael Adam1-0/+2
Michael (This used to be commit 8f2c3efa679d44acc900fb90f03319e830a7dcf4)
2008-04-10net conf: reduce indentation by grouping testmode code together.Michael Adam1-39/+37
Michael (This used to be commit 97f9cb857532328999589062ceb0b229bcaf93a3)
2008-04-10net conf: don't drop config in testmodeMichael Adam1-3/+5
Michael (This used to be commit 74e87b977514df79e49613a0b1c5157469b3cb93)
2008-04-10net conf: fix import to correctly add includes (at the end)Michael Adam1-6/+34
Michael (This used to be commit 3e81db83707e30ad46a565c9a118e7293b6cdf50)
2008-04-10loadparm: drop debug level in map_parameter from 0 to 1Michael Adam1-1/+1
we don't want to see this all the times in tests. Michael (This used to be commit fd43a4a1e05a2d259dc75bdcb4c0a3d9d8b41739)
2008-04-10test: run smbconftort testsuite from the local_s3 testsMichael Adam1-0/+3
Michael (This used to be commit 6641061f76d2175b9476a96d24b99a52163936ca)
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 Adam2-3/+36
Michael (This used to be commit 9f6c909f465df5fc64e2bec88acf272be9cd574e)
2008-04-10libsmbconf: add testsuite to the library.Michael Adam2-1/+114
Currently only the init function is tested, more tests to come... Michael (This used to be commit bc8dc8626c5fb296edbd193a7cc293317c7a29ca)
2008-04-10libsmbconf: add talloc context to the get_includes methods.Michael Adam5-1/+7
Michael (This used to be commit ed535b6b30b5c9412803f6373eadc704de6de2f9)
2008-04-10libsmbconf: add get_includes() and set_includes() to the API.Michael Adam5-2/+73
Includes have to get a special treatment, at least for registry. Includes are not like other smbconf parameters: they are some kind of metainformation. "include" has two effects when stated twice so it can not be stored boldly into registry, since there can only be one value named "include" in registry per key. I will provide special handling for includes for the registry backend. This patch provides the necessary methods in the smbconf API. Michael (This used to be commit e86eb375d9f83f73aeea0a16c8b43e2ef21a6e20)
2008-04-10libsmbconf: activate the verbatim-flag in text backend: store parameters as ↵Michael Adam1-1/+2
they come. with verbatim == true, parameters are stored as they come from the input file, duplicates are listed multiple times, etc. Michael (This used to be commit c65575f831e9929ef7e66f2c7bfeed50f135b4b2)
2008-04-10libsmbconf: pass txt_private_data instead of only cache to do_parameter/sectionMichael Adam2-4/+6
in preparation of using the verbatim flag. Michael (This used to be commit c68cd2477c65d5521a713ae0f37cf2994d2c339e)
2008-04-10libsmbconf: load file after special initializationMichael Adam1-2/+3
otherwise verbatim parameter can have no effect. Michael (This used to be commit 2ff0b693d7fc7e130a2fb14c06ae8bc28f4b5c57)
2008-04-10libsmbconf: add a "verbatim" parameter to smbconf_init_txt_simple().Michael Adam3-4/+15
Michael (This used to be commit b9e72b402de412c23702715ead96c20e9b3248cc)
2008-04-10libsmbconf: reformat smbconf_format_registry_value() - indentations/tabsMichael Adam1-12/+12
Michael (This used to be commit b79a33eb2f370b8d8b50ed5ed2a0acc83e711c1e)
2008-04-10libsmbconf: untangle assignment and test in for-loop condition.Michael Adam1-4/+4
Michael (This used to be commit 4339caff09e1277ae33d3810043bcb3f4e7c4e45)
2008-04-10libsmbconf: fix a commentMichael Adam1-1/+1
Michael (This used to be commit bc1a5bdbd3b7da1f85c952579096b3c8dc407572)
2008-04-10libsmbconf: search from the back when getting parameter from text backendMichael Adam1-4/+4
so we make sure to always deliver the value last read. Michael (This used to be commit 2eb5a681e9e3ff302b5151f25d6856834eae7d54)