Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-16 | s4:registry - use a macro for reverse byte order | Matthias Dieter Wallnöfer | 2 | -10/+4 | |
2010-03-16 | s4:registry - check also for other registry value types in the generic test | Matthias Dieter Wallnöfer | 1 | -0/+16 | |
2010-03-16 | s4:registry - add a test for the "REG_DWORD_BIG_ENDIAN" datatype | Matthias Dieter Wallnöfer | 1 | -0/+14 | |
2010-03-16 | s4:registry - introduce the "REG_DWORD_BIG_ENDIAN" datatype | Matthias Dieter Wallnöfer | 2 | -4/+26 | |
It's like the normal REG_DWORD type but the byte order swapped | |||||
2010-03-15 | s4:registry - rpc - don't crash when communication partner isn't available | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
2010-03-15 | s4:registry - util.c - treat unsupported and binary values as the same in ↵ | Matthias Dieter Wallnöfer | 1 | -17/+5 | |
the conversion functions We don't need to provide an extra representation for all available registry types. But if we treat all unsupported types as binary we also get our tools (regtree, regshell, regdiff...) working with them in a basic manner. | |||||
2010-03-15 | s4:registry - util.c - move the "REG_NONE" case in the conversion functions ↵ | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
on top of the switch (As in the "reg_value_types" structure) | |||||
2010-03-15 | s4:registry - local testsuite - add a test for REG_QWORD | Matthias Dieter Wallnöfer | 1 | -1/+15 | |
Change also here to fixed-length HEX values output to test for the right representation. | |||||
2010-03-15 | s4:registry - fix up the output of hexadecimal values | Matthias Dieter Wallnöfer | 2 | -14/+6 | |
Use a fixed-length representation to avoid platform-specific issues. | |||||
2010-03-15 | s4:registry - add support for REG_QWORD values | Matthias Dieter Wallnöfer | 2 | -1/+82 | |
Basically the same as REG_DWORD but these are eight byte long. | |||||
2010-03-14 | s4:registry - util.c - add harder checks for inputs on "reg_val_data_string" | Matthias Dieter Wallnöfer | 1 | -12/+16 | |
("NULL" result is error on most data types). | |||||
2010-03-14 | s4:registry - ldb.c - provide a mechanism for storing UTF8/binary REG_DWORD ↵ | Matthias Dieter Wallnöfer | 1 | -12/+47 | |
values We need to support this as gd's WINREG torture test shows. | |||||
2010-03-14 | s4:registry - ldb.c - provide a mechansim for storing UTF8/binary ↵ | Matthias Dieter Wallnöfer | 1 | -7/+39 | |
REG_SZ/REG_EXPAND_SZ values We need to support this as gd's WINREG torture test shows. | |||||
2010-03-14 | s4:registry - ldb.c - fix up a strange LDB filter | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-14 | s4:registry - ldb.c - fix up the memory handling in "reg_ldb_unpack_value" | Matthias Dieter Wallnöfer | 1 | -3/+8 | |
Don't substitute existing data blobs with new ones and make sure, that the result objects in the data blob don't have memory dependencies of the LDB value input. | |||||
2010-03-14 | s4:registry - ldb.c - check more for possible "Out of memory" circumstances | Matthias Dieter Wallnöfer | 1 | -4/+10 | |
2010-03-14 | s4:registry - ldb.c - remove superfluous "query" variable | Matthias Dieter Wallnöfer | 1 | -4/+2 | |
2010-03-14 | s4:registry - ldb.c - Consider result values in "reg_ldb_pack_value" | Matthias Dieter Wallnöfer | 1 | -17/+59 | |
Break on errors and return NULL and otherwise the message pointer. | |||||
2010-03-14 | s4:registry - ldb.c - Move the "val" structure | Matthias Dieter Wallnöfer | 1 | -3/+5 | |
Move it into the REG_SZ/REG_EXPAND_SZ case block since it's used only there. Plus convert it from static into dynamic talloc'ed. | |||||
2010-03-12 | s4:lib/registry/rpc: convert to use dcerpc_binding_handle stubs | Stefan Metzmacher | 1 | -16/+17 | |
metze | |||||
2010-03-11 | winreg: add winreg_KeyType enum. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-03-11 | s4-registry: add all winreg types to reg_value_types table. | Günther Deschner | 1 | -3/+11 | |
Guenther | |||||
2010-03-10 | s4:registry/ldb.c - if "name" isn't set we should return WERR_INVALID_PARAM | Matthias Dieter Wallnöfer | 1 | -1/+5 | |
2010-03-10 | s4:lib/registry/ldb.c - fix up registry backend to be more robust | Matthias Dieter Wallnöfer | 1 | -9/+5 | |
This should let the new WINREG tests written by gd at least pass against us. | |||||
2010-03-06 | s4:lib/registry/ldb.c - fix trailing whitespaces | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
2010-03-06 | s4:registry library - fix up "reg_ldb_set_value" | Matthias Dieter Wallnöfer | 1 | -9/+23 | |
The previous logic was wrong since it tried to add empty data in some cases which always ended in an error. This problem should be fixed with the new logic. | |||||
2010-03-06 | s4:registry library - make "reg_ldb_pack/unpack_value" more robust | Matthias Dieter Wallnöfer | 1 | -28/+35 | |
This to prevent segmentation faults, wrong server inputs ecc. | |||||
2010-03-06 | s4:libregistry - change counters to be "unsigned" | Matthias Dieter Wallnöfer | 10 | -40/+41 | |
Also the s4 registry library has to have "unsigned" counters like the Windows one. | |||||
2010-02-22 | s4:registry/regf.c - specify the context when freeing the "regf" variable | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Otherwise we get a "talloc_free with references" warning. | |||||
2010-02-22 | Spelling fixes for source4/lib/registry. | Brad Hards | 4 | -8/+8 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-09 | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
This was needed only by Python 2.3 which we no longer support. | |||||
2010-02-07 | s4-registry: fixed byte order assumptions | Andrew Tridgell | 4 | -7/+9 | |
the registry tests were broken on big-endian systems | |||||
2010-01-20 | Fix unintentional free of the last value when adding a new value to a key. | Wilco Baan Hofman | 1 | -4/+8 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-12-30 | s4:lib/registry/util.c - Reintroduce "FIXME"s | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
Jelmer suggested to put them in again. | |||||
2009-11-29 | lib/registry/util.c - Reorder the registry datatypes of the conversion functions | Matthias Dieter Wallnöfer | 1 | -9/+12 | |
This is absolutely cosmetic and makes the code easier to comprehend. | |||||
2009-11-29 | Revert "s4:registry/util - Don't include the trailing '\0' in the internal ↵ | Matthias Dieter Wallnöfer | 1 | -6/+2 | |
data format but add it on the back-conversion to a string" This reverts commit 7d400715e9af2056690c03a1a2f45c7f343fa313. "convert_string_talloc_convenience" does always add the NULL termination. Didn't know that. Thanks Jelmer for pointing out! | |||||
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 | |