summaryrefslogtreecommitdiff
path: root/source4/lib/registry
AgeCommit message (Collapse)AuthorFilesLines
2009-07-30DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal.Jelmer Vernooij1-7/+7
Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe.
2009-07-19source4/lib/registry/patchfile.c(reg_diff_load): fixed possible resource leak.Slava Semushin1-0/+1
File descriptor leaks when write(2) fails and we are returning from function. Found by cppcheck: [./source4/lib/registry/patchfile.c:319]: (error) Resource leak: fd
2009-06-19Fixed some uninitialised variablesMatthias Dieter Wallnöfer1-1/+2
I tried hard to not change the program logic. Should fix bug #6439.
2009-06-02python: Move helper functions for using param into a separate file ratherJelmer Vernooij1-1/+1
than linking against the python module.
2009-04-23Add a new non-convenience version of push_codepoint.Jelmer Vernooij1-20/+18
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij3-13/+13
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij3-7/+7
consistency with Samba 3.
2009-02-06s4:pyregistry: fix crash bugs introduced by ↵Stefan Metzmacher1-2/+3
e5a6eadd8214b56da34f733318a0fecaebbe5ef5 The registry api uses wild casts in the returned types, so we can't check the talloc name against the type used in the public api... metze
2009-02-05s4:pyregistry: fix compiler warningsStefan Metzmacher1-13/+16
metze
2009-02-05s4:lib/registry: fix c++ warningsStefan Metzmacher2-8/+8
metze
2009-02-02s4:auth/credentials: the python bindings don't use swig anymoreStefan Metzmacher1-1/+1
metze
2009-02-02s4:lib/registry: s/new/nkeyStefan Metzmacher1-3/+3
metze
2009-01-16winreg: fix winreg_EnumValue callers.Günther Deschner1-1/+1
Guenther
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-9/+9
2009-01-02Changed code to use proper talloc context instead of NULL to control memory ↵scudette@gmail.com2-2/+2
leak.
2009-01-02Memory leak fixed due to accumulation of open reg keys.scudette@gmail.com1-5/+8
2009-01-02Fixes uninitialised access as reported by valgrind.scudette@gmail.com1-1/+1
2009-01-02s4:pyregistry: use tevent_context_init()Stefan Metzmacher1-1/+1
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher10-19/+19
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-22Add header for pyparam.Jelmer Vernooij1-1/+1
2008-12-21py: Fix initialisation of subtypes, fix segfaults.Jelmer Vernooij1-0/+3
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