summaryrefslogtreecommitdiffstats
path: root/source3/lib/util_reg_api.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:registry: rename lib/util_reg_api.c to registry/reg_util_marshalling.cMichael Adam2010-05-251-215/+0
|
* s3-registry: support REG_DWORD_BIG_ENDIAN.Günther Deschner2010-05-201-1/+3
| | | | | | | Just treat it as a REG_DWORD for now. Long term all these checks will need to pass away, once we get a real registry... Guenther
* s3-registry: support REG_QWORD.Günther Deschner2010-05-201-1/+16
| | | | Guenther
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-181-3/+3
|
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner2010-04-091-3/+3
| | | | Guenther
* s3-registry: fix REG_MULTI_SZ handling in registry_push_value.Günther Deschner2009-11-251-3/+20
| | | | | | Catched by smbconftort test on the buildfarm. Guenther
* s3-registry: use push_reg_multi_sz() in registry_push_value().Günther Deschner2009-11-241-59/+3
| | | | Guenther
* s3-registry: remove reg_pull_multi_sz().Günther Deschner2009-11-241-5/+18
| | | | Guenther
* Fix a type-punned warningVolker Lendecke2009-04-231-1/+1
|
* s3: Fix incompatible type warningsTim Prouty2009-03-011-1/+1
|
* Cleanup size_t return values in callers of convert_string_allocateTim Prouty2008-05-201-17/+19
| | | | | | This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
* registry: add support for REG_MULTI_SZ to registry_push_value().Michael Adam2008-04-101-0/+56
| | | | | | | This enables us to fetch multi_sz values from registry... Michael (This used to be commit a8cedfef27a0400c6aa05ddb5e51308ce0b789bd)
* r25417: Use DBGC_REGISTRY class.Günther Deschner2007-10-101-0/+3
| | | | | Guenther (This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)
* r24610: Add a debug message that the workaround has been activated...Michael Adam2007-10-101-0/+2
| | | | (This used to be commit a12f3bf6e93f7a902a1f6274d67f15cc4eeb20bd)
* r24609: Fix the fix of r23668 for win2k giving one zero byteMichael Adam2007-10-101-1/+1
| | | | | | | | | instead of a 2-byte zero character. I can't recall what rode me when I put that "2" there. But now I think I have got it right... :-) Michael (This used to be commit fa010bef11b78ac3bbf0091870ce8cd5a53334af)
* r24023: Correctly support REG_BINARY in registry_push_value() andGünther Deschner2007-10-101-2/+6
| | | | | | | registry_pull_value(). Guenther (This used to be commit 6a3c44fd99c91beddd9d6a04a30c35d429d0b9a5)
* 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)
* r23756: Fix Coverity id 388Volker Lendecke2007-10-101-0/+1
| | | | (This used to be commit 91af086823265ed66bbd0bdc1cced070b7dd0629)
* r23673: Check for integer wrap on incoming data.Jeremy Allison2007-10-101-0/+6
| | | | | Jeremy. (This used to be commit 77a46c7aee2ad4c402527cf78e5ae70a792d65d4)
* r23669: Move a variable into the only block where it is used.Michael Adam2007-10-101-1/+1
| | | | (This used to be commit 82be4137b7bba6a9a433ec011e7f47587935ae61)
* r23668: When creating a new string value, win2k regedit deliversMichael Adam2007-10-101-8/+22
| | | | | | | | | | | | one byte of data despite characters being two-byte. This modifies registry_pull_value, to change the data to the correct two-byte version of the empty string, (as delivered by winxp), when only one byte of data is received. Michael (This used to be commit a4c2b20296d6853cd1578601f17330cde75c4038)
* r23485: This checkin consists mostly of refactorings in preparation of theMichael Adam2007-10-101-0/+136
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)