Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-27 | s4:registry/util - Don't include the trailing '\0' in the internal data ↵ | Matthias Dieter Wallnöfer | 1 | -14/+27 | |
format but add it on the back-conversion to a string As far as I know the registry library saves all data (including) strings without the null termination. So do it also here in a similar way. | |||||
2009-11-15 | Fix writing corrupt registries because of hardcoded version string in IDL. | Wilco Baan Hofman | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Fix writing corrupt REG_SZ to the registry. | Wilco Baan Hofman | 1 | -1/+2 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Fix trailing garbage in the hbin block. | Wilco Baan Hofman | 1 | -0/+5 | |
This specifically fixes a problem showing extra bytes of garbage in list and print in regshell, even though the vk.data_length has the correct size. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-12 | lib/util Split data_blob_hex_string() into upper and lower | Andrew Bartlett | 1 | -1/+1 | |
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett | |||||
2009-10-23 | s4-python: we need to include Python.h first | Andrew Tridgell | 1 | -1/+1 | |
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. | |||||
2009-10-23 | s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect() | Andrew Tridgell | 1 | -1/+1 | |
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context. | |||||
2009-09-26 | regshell: Add support for 'cd ..' and cd relative to the root. | Wilco Baan Hofman | 1 | -8/+73 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-09-26 | registry: Fix warning freeing talloc pointer with multiple parents. | Jelmer Vernooij | 1 | -1/+1 | |
2009-07-30 | DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal. | Jelmer Vernooij | 1 | -7/+7 | |
Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe. | |||||
2009-07-19 | source4/lib/registry/patchfile.c(reg_diff_load): fixed possible resource leak. | Slava Semushin | 1 | -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-19 | Fixed some uninitialised variables | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
I tried hard to not change the program logic. Should fix bug #6439. | |||||
2009-06-02 | python: Move helper functions for using param into a separate file rather | Jelmer Vernooij | 1 | -1/+1 | |
than linking against the python module. | |||||
2009-04-23 | Add a new non-convenience version of push_codepoint. | Jelmer Vernooij | 1 | -20/+18 | |
2009-03-01 | s4: Use same function signature for convert_* as s3. | Jelmer Vernooij | 3 | -13/+13 | |
2009-03-01 | Add allow_badcharcnv argument to all conversion function, for | Jelmer Vernooij | 3 | -7/+7 | |
consistency with Samba 3. | |||||
2009-02-06 | s4:pyregistry: fix crash bugs introduced by ↵ | Stefan Metzmacher | 1 | -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-05 | s4:pyregistry: fix compiler warnings | Stefan Metzmacher | 1 | -13/+16 | |
metze | |||||
2009-02-05 | s4:lib/registry: fix c++ warnings | Stefan Metzmacher | 2 | -8/+8 | |
metze | |||||
2009-02-02 | s4:auth/credentials: the python bindings don't use swig anymore | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-02-02 | s4:lib/registry: s/new/nkey | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-01-16 | winreg: fix winreg_EnumValue callers. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-01-08 | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 1 | -1/+5 | |
since this will not be shipped with talloc/tdb/tevent/etc. | |||||
2009-01-07 | s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 | Tim Prouty | 1 | -1/+1 | |
2009-01-06 | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 1 | -9/+9 | |
2009-01-02 | Changed code to use proper talloc context instead of NULL to control memory ↵ | scudette@gmail.com | 2 | -2/+2 | |
leak. | |||||
2009-01-02 | Memory leak fixed due to accumulation of open reg keys. | scudette@gmail.com | 1 | -5/+8 | |
2009-01-02 | Fixes uninitialised access as reported by valgrind. | scudette@gmail.com | 1 | -1/+1 | |
2009-01-02 | s4:pyregistry: use tevent_context_init() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 10 | -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-22 | Add header for pyparam. | Jelmer Vernooij | 1 | -1/+1 | |
2008-12-21 | py: Fix initialisation of subtypes, fix segfaults. | Jelmer Vernooij | 1 | -0/+3 | |
2008-12-18 | Use plain Python C API for registry module, rather than SWIG. | Jelmer Vernooij | 3 | -19/+322 | |
2008-12-16 | Start converting registry python module to plain C rather than SWIG. | Jelmer Vernooij | 5 | -4870/+132 | |
2008-11-16 | s4:torture: fix the build with auto dependencies | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2008-11-02 | Remove use of global_loadparm during initialization of gensec. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-30 | Fix installation of Samba 4 during merged build. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-24 | Remove unused include param/param.h. | Jelmer Vernooij | 5 | -6/+1 | |
2008-10-24 | Regenerate SWIG files. | Jelmer Vernooij | 2 | -7/+6 | |
2008-10-24 | Remove more usages of global_loadparm. | Jelmer Vernooij | 6 | -25/+48 | |
2008-10-24 | Remove more uses of global_loadparm. | Jelmer Vernooij | 1 | -8/+4 | |
2008-10-24 | Remove iconv_convenience argument from convert_string{,talloc}() but | Jelmer Vernooij | 3 | -7/+7 | |
make them wrappers around convert_string{,talloc}_convenience(). | |||||
2008-10-21 | Fix double free. | Jelmer Vernooij | 1 | -1/+0 | |
2008-10-21 | Fix the build. | Jelmer Vernooij | 1 | -2/+2 | |
2008-10-21 | Revert "Registry server LDB backend: Don't make copies of the same type" | Jelmer Vernooij | 1 | -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-21 | Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv | Jelmer Vernooij | 14 | -214/+307 | |
Conflicts: source4/lib/registry/ldb.c source4/rpc_server/winreg/rpc_winreg.c | |||||
2008-10-21 | Registry server LDB backend: Don't make copies of the same type | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2008-10-21 | Registry server LDB backend REG_BINARY type: Save it directly in LDB | Matthias Dieter Wallnöfer | 1 | -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-21 | Registry server LDB backend REG_SZ type: Always use UTF8 encoding | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
We should save data OS independent in the LDB files. | |||||
2008-10-21 | Registry server LDB backend REG_SZ type: Fix up the empty string problem | Matthias Dieter Wallnöfer | 1 | -5/+15 | |
This fixes up the empty string problem in a better way without the need of changing the character conversion code. |