summaryrefslogtreecommitdiff
path: root/source3/lib/util_reg.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-util: add pull_reg_sz() and pull_reg_multi_sz() convenience functions.Günther Deschner2009-12-231-0/+35
| | | | | | Guenther (cherry picked from commit f8016cfee922cba97b70f56c752827e4584da6c6) (cherry picked from commit 560b7a45ff8257b7d9994199218edfa3ea4e8dae)
* s3-util: add push_reg_sz() and push_reg_multi_sz() convenience functions.Günther Deschner2009-12-231-0/+30
| | | | | | Guenther (cherry picked from commit fcee9d2c97a673347baf58f749f35785a896e468) (cherry picked from commit 20b43200885d7e4cef5e26ad249c9a4c6529dca5)
* registry: move normalize_dbkey() from lib/util_reg.c to registry/reg_util.cMichael Adam2008-04-121-7/+0
| | | | | | | This function is only used inside registry code. Michael (This used to be commit 48745e3fbd6b38f39678938b8c3f145769065e7b)
* Cleanup size_t return values in convert_string_allocateTim Prouty2008-04-111-4/+2
| | | | | | 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)
* libsmbconf: move registry_smbconf_valname_forbidden() to the registry backendMichael Adam2008-04-101-22/+0
| | | | | | | from util_reg.c - no other callers left Michael (This used to be commit 98151fd3e1c24e5c8aaf3f5132071e91ac6ef257)
* Allow parameter "include" in registry based configuration (again).Michael Adam2008-03-131-1/+0
| | | | | | | | This is for instance important to allow includes with %I to setup individual logging (e.g.) for certain clients. Michael (This used to be commit 8dad80b4719691d66827ed46bebb963c0f8ba568)
* Use the proper boolean constants.Michael Adam2008-02-141-3/+3
| | | | | Michael (This used to be commit 1c215325d1fb90f92fbe85011ab822892d5c994b)
* Add "config backend" to the parameters forbidden in registry config.Michael Adam2008-01-161-0/+1
| | | | | | | Make registry based configs more fool-proof. Michael (This used to be commit 2ea55c03b25eb5e98be3449e12004a7246319acd)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-1/+1
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r25417: Use DBGC_REGISTRY class.Günther Deschner2007-10-101-0/+3
| | | | | Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)
* r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23641: Put check for forbidden values in smbconf into a function.Michael Adam2007-10-101-0/+22
| | | | | | | | (This will be used in a next step to prevent storing these values in reg_smbconf.c.) Michael (This used to be commit 00be68a8416405e12a27186506f9eb15bca055b3)
* r23507: Split one general function normalize_dbkey from reg_db.c into util_reg.cMichael Adam2007-10-101-0/+7
| | | | | | | (To be used in other place in subsequent commit.) Michael (This used to be commit 6fd71140499e30b8fd0f083301512db7b8c2f236)
* r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam2007-10-101-115/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | activation of global registry options in loadparm.c, mainly to extract functionality from net_conf.c to be made availabel elsewhere and to minimize linker dependencies. In detail: * move functions registry_push/pull_value from lib/util_reg.c to new file lib/util_reg_api.c * create a fake user token consisting of builtin administrators sid and se_disk_operators privilege by hand instead of using get_root_nt_token() to minimize linker deps for bin/net. + new function registry_create_admin_token() in new lib/util_reg_smbconf.c + move dup_nt_token from auth/token_util.c to new file lib/util_nttoken.c + adapt net_conf.c and Makefile.in accordingly. * split lib/profiles.c into two parts: new file lib/profiles_basic.c takes all the low level mask manipulation and format conversion functions (se_priv, privset, luid). the privs array is completely hidden from profiles.c by adding some access-functions. some mask-functions are not static anymore. Generally, SID- and LUID-related stuff that has more dependencies is kept in lib/profiles.c * Move initialization of regdb from net_conf.c into a function registry_init_regdb() in lib/util_reg_smbconf.c. Michael (This used to be commit efd3e2bfb756ac5c4df7984791c67e7ae20a582e)
* r19991: Sorry for this 2000-liner...Volker Lendecke2007-10-101-30/+30
| | | | | | | | | | | | | | | The main thing here is a rewrite of srv_winreg_nt.c. The core functionality has moved to registry/reg_api.c which is then usable by the rest of Samba as well. On that way it fixes creating keys with more than one element in the path. This did not work before. Two things that sneaked in (sorry :-) is the change of some routines from NTSTATUS to WERROR the removed "parent" argument to regkey_open_internal. Volker (This used to be commit fea52801de8c7b85c578d200c599475680c5339f)
* r19827: Move registry_push/pull_value to lib/util_reg.cVolker Lendecke2007-10-101-1/+116
| | | | (This used to be commit 3047a4b92c7d5391a8f162f26ccc92ce30c35cee)
* r19811: Decode REG_MULTI_SZ and REG_BINARYVolker Lendecke2007-10-101-1/+1
| | | | (This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
* r18963: * Move parts of registry headers that were still inGerald Carter2007-10-101-2/+2
| | | | | | use to reg_objects.h * Remove unused rpc headers (This used to be commit 4f79d8c83db5af80078114e9fb39171380d040b1)
* r18793: Fix BE string handling in the auto-generatedJeremy Allison2007-10-101-1/+1
| | | | | | code. Should now work again with ASU. Jeremy. (This used to be commit 53e97bf92817b6cfc3f93c999a81ef8ad49a1609)
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-0/+110
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)