summaryrefslogtreecommitdiff
path: root/source3/lib/util_reg.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-30s3-util: use pull_reg_multi_sz in reg_pull_multi_sz.Günther Deschner1-26/+10
Guenther
2009-09-30s3-util: add pull_reg_sz() and pull_reg_multi_sz() convenience functions.Günther Deschner1-0/+35
Guenther
2009-09-30s3-util: add push_reg_sz() and push_reg_multi_sz() convenience functions.Günther Deschner1-0/+30
Guenther
2009-04-27s3:registry: replace typedef REGISTRY_OPS by struct registry_opsMichael Adam1-1/+1
Michael
2009-04-14Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett1-1/+1
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett
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-11Cleanup size_t return values in convert_string_allocateTim Prouty1-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)
2008-04-10libsmbconf: move registry_smbconf_valname_forbidden() to the registry backendMichael Adam1-22/+0
from util_reg.c - no other callers left Michael (This used to be commit 98151fd3e1c24e5c8aaf3f5132071e91ac6ef257)
2008-03-13Allow parameter "include" in registry based configuration (again).Michael Adam1-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)
2008-02-14Use the proper boolean constants.Michael Adam1-3/+3
Michael (This used to be commit 1c215325d1fb90f92fbe85011ab822892d5c994b)
2008-01-16Add "config backend" to the parameters forbidden in registry config.Michael Adam1-0/+1
Make registry based configs more fool-proof. Michael (This used to be commit 2ea55c03b25eb5e98be3449e12004a7246319acd)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-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)
2007-10-10r25417: Use DBGC_REGISTRY class.Günther Deschner1-0/+3
Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23641: Put check for forbidden values in smbconf into a function.Michael Adam1-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)
2007-10-10r23507: Split one general function normalize_dbkey from reg_db.c into util_reg.cMichael Adam1-0/+7
(To be used in other place in subsequent commit.) Michael (This used to be commit 6fd71140499e30b8fd0f083301512db7b8c2f236)
2007-10-10r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam1-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)
2007-10-10r19991: Sorry for this 2000-liner...Volker Lendecke1-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)
2007-10-10r19827: Move registry_push/pull_value to lib/util_reg.cVolker Lendecke1-1/+116
(This used to be commit 3047a4b92c7d5391a8f162f26ccc92ce30c35cee)
2007-10-10r19811: Decode REG_MULTI_SZ and REG_BINARYVolker Lendecke1-1/+1
(This used to be commit 679330175185f8504bb5968339dcc7cb20d9140c)
2007-10-10r18963: * Move parts of registry headers that were still inGerald Carter1-2/+2
use to reg_objects.h * Remove unused rpc headers (This used to be commit 4f79d8c83db5af80078114e9fb39171380d040b1)
2007-10-10r18793: Fix BE string handling in the auto-generatedJeremy Allison1-1/+1
code. Should now work again with ASU. Jeremy. (This used to be commit 53e97bf92817b6cfc3f93c999a81ef8ad49a1609)
2007-10-10r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison1-0/+110
to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)