summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
2008-12-18Use plain Python C API for registry module, rather than SWIG.Jelmer Vernooij3-19/+322
2008-12-16Start converting registry python module to plain C rather than SWIG.Jelmer Vernooij5-4870/+132
2008-11-16s4:torture: fix the build with auto dependenciesStefan Metzmacher1-1/+1
metze
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij1-1/+1
2008-10-30Fix installation of Samba 4 during merged build.Jelmer Vernooij1-1/+1
2008-10-24Remove unused include param/param.h.Jelmer Vernooij5-6/+1
2008-10-24Regenerate SWIG files.Jelmer Vernooij2-7/+6
2008-10-24Remove more usages of global_loadparm.Jelmer Vernooij6-25/+48
2008-10-24Remove more uses of global_loadparm.Jelmer Vernooij1-8/+4
2008-10-24Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij3-7/+7
make them wrappers around convert_string{,talloc}_convenience().
2008-10-21Fix double free.Jelmer Vernooij1-1/+0
2008-10-21Fix the build.Jelmer Vernooij1-2/+2
2008-10-21Revert "Registry server LDB backend: Don't make copies of the same type"Jelmer Vernooij1-2/+2
The original data pointer may go away so we do want to make copies in this case. This reverts commit 625359b2e266105022309df8985720108ecd6f67.
2008-10-21Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrvJelmer Vernooij14-214/+307
Conflicts: source4/lib/registry/ldb.c source4/rpc_server/winreg/rpc_winreg.c
2008-10-21Registry server LDB backend: Don't make copies of the same typeMatthias Dieter Wallnöfer1-2/+2
2008-10-21Registry server LDB backend REG_BINARY type: Save it directly in LDBMatthias Dieter Wallnöfer1-3/+5
With this patch the REG_BINARY type is saved directly in a LDB registry database rather than converted in a hex-string.
2008-10-21Registry server LDB backend REG_SZ type: Always use UTF8 encodingMatthias Dieter Wallnöfer1-2/+2
We should save data OS independent in the LDB files.
2008-10-21Registry server LDB backend REG_SZ type: Fix up the empty string problemMatthias Dieter Wallnöfer1-5/+15
This fixes up the empty string problem in a better way without the need of changing the character conversion code.
2008-10-21Registry server: Fixes up the patch with "type" != NULL (used in "EnumValue" ↵Matthias Dieter Wallnöfer1-2/+3
and "QueryValue") This prevents the server to segfault if the input data type is NULL.
2008-10-21Registry server "reg_ldb_unpack_value": Tests demonstrate that also "type" ↵Matthias Dieter Wallnöfer1-2/+2
doesn't has to be NULL
2008-10-21Revert "Registry server "reg_ldb_unpack_value": Let "data" pointer be NULL"Matthias Dieter Wallnöfer1-27/+23
This reverts commit 82f50ea69f3aece4ac654ffdfa627babd8aadc25. Cause: Windows (2000) doesn't accept the "data" pointer set to NULL
2008-10-21Registry server "reg_ldb_unpack_value": Let "data" pointer be NULLMatthias Dieter Wallnöfer1-23/+27
Prevent segfaults in some client applications (e.g. regdiff)
2008-10-21Cleanups of server filesMatthias Dieter Wallnöfer1-1/+5
Cosmetic corrections
2008-10-21Registry server: More work to be compatibleMatthias Dieter Wallnöfer1-14/+25
Some fixup's and assure, that we send only initialized values.
2008-10-21ldb_get_value_by_id: Fix the return of the default valueMatthias Dieter Wallnöfer1-14/+15
The return of the values of a certain key has been broken since I've introduced the default value. Now the behaviour is correct: If no default value exists, start with index zero to fetch the other values. Otherwise let zero be the default value and enumerate the others starting with one.
2008-10-21reg_ldb_unpack_value: Change "CH_UTF8" in "CH_UNIX"Matthias Dieter Wallnöfer1-1/+1
It's better to use "CH_UNIX" for unpacking, because the system charset doesn't have to be UTF8 and we should be compatible with "reg_ldb_pack_value".
2008-10-21ldb_del_value: Free key data also when removing the default attributeMatthias Dieter Wallnöfer1-4/+4
2008-10-21Fix for allowing the REG_BINARY type and introducing the default attributeMatthias Dieter Wallnöfer1-45/+128
The REG_BINARY type is converted and stored in the LDB database as a leaf object with string-data. The default attribute is saved directly in the hive object as the "data"-string.
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+12
remove some unused functions.
2008-10-20Regenerate pidl output.Jelmer Vernooij1-2/+2
2008-10-18Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij1-2/+1
3.
2008-10-15s4: fix registry/rpc.c after winreg changes.Günther Deschner1-5/+5
jelmer, can you check if this is ok? Guenther
2008-10-15winreg.idl: Sync ref change from Samba 3.Jelmer Vernooij1-1/+1
2008-10-12Use common util_file code.Jelmer Vernooij2-2/+2
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij3-4/+4
2008-10-03Fix regressions in patchfile after last patch, several other minor fixes.Matthias Dieter Wallnöfer1-22/+20
2008-09-30Use UTF8 rather than the possibly different UNIX charset.Matthias Dieter Wallnöfer1-3/+3
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-10/+14
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-09-21Registry client: Remove all conversion helper functionsMatthias Dieter Wallnöfer1-44/+17
2008-09-21Registry client library: Remove two elementar conversion functionsMatthias Dieter Wallnöfer1-26/+4
2008-09-21Revert "Registry tool "regtree": Removing an error message"Matthias Dieter Wallnöfer1-0/+5
This reverts commit f37a57fa366e2b0d77f9c1bd232d42a0f2cceb52.
2008-09-21Registry client: Fixup the "patchfile" libraryMatthias Dieter Wallnöfer1-38/+66
Rework and enhance the "patchfile" library (used in "regdiff")
2008-09-21Registry client: Implement the "winreg_QueryValue" callMatthias Dieter Wallnöfer1-0/+48
This is needed for the registry patchfile library
2008-09-21Registry client library: Use "talloc_zero" to avoid uninitialized valuesMatthias Dieter Wallnöfer1-3/+2
2008-09-21Registry tool "regdiff": Add the event context for remote connectionsMatthias Dieter Wallnöfer1-1/+1
Adds the event context for remote connections to make the tool working again.
2008-09-21Registry client library: Fixes the creation of new keysMatthias Dieter Wallnöfer2-2/+3
Giving the right permissions
2008-09-21Registry client library: Fix some buffer problemsMatthias Dieter Wallnöfer1-5/+9
This buffer maximum values are used in Windows (2000), so I take them also for SAMBA 4.
2008-09-21Registry client library: Various fixup's and correctionsMatthias Dieter Wallnöfer1-63/+64
I reverted the change with the string conversions because they aren't needed and included many fixup's and improvements in the code. We should be able now to connect to a Windows WINREG server without a problem.
2008-09-21Registry tools "regshell" and "regtree": Small fixup'sMatthias Dieter Wallnöfer2-22/+6
I fixed up my fault regarding the handling of the default value (if it doesn't exist it hasn't the index number zero and you get immediately the subvalues). Then I corrected an error in regshell to find the right registry context.
2008-09-21Registry client: Various cleanups and charset conversionsMatthias Dieter Wallnöfer1-66/+125
This patch contains various changes to the "rpc.c" file to clean it up and introduces the right string charset conversions (UNIX <-> UTF16).