Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-22 | s4:registry - "reg_key_del/add_abs": call "talloc_free" only on valid objects | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
2010-03-22 | s4:registry - "util.c" - initialise "result" in "reg_key_add_abs" | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
2010-03-22 | s4:registry - "util" - remove "const" from "reg_abs_path" | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
Here it's not really needed | |||||
2010-03-22 | s4:registry - "util" - add also a memory context argument for "reg_key_del_abs" | Matthias Dieter Wallnöfer | 1 | -4/+2 | |
2010-03-22 | s4:registry - "util" - make "reg_key_add_abs" consistent with "reg_key_del_abs" | Matthias Dieter Wallnöfer | 1 | -6/+3 | |
2010-03-22 | s4:registry - "util" - fix up memory allocated data | Matthias Dieter Wallnöfer | 1 | -1/+10 | |
2010-03-22 | s4:registry - adaptions for "add memory contexts for delete value/key functions" | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-03-22 | s4:registry - "util.c" - "reg_string_to_val" - consider always the return values | Matthias Dieter Wallnöfer | 1 | -7/+9 | |
In some cases we didn't consider them. | |||||
2010-03-21 | s4:registry - handle type "DWORD_BIG_ENDIAN" as type "DWORD" | Matthias Dieter Wallnöfer | 1 | -7/+2 | |
Further tests show that (at least per default) there aren't any differences between them. | |||||
2010-03-16 | s4:registry - use a macro for reverse byte order | Matthias Dieter Wallnöfer | 1 | -5/+2 | |
2010-03-16 | s4:registry - introduce the "REG_DWORD_BIG_ENDIAN" datatype | Matthias Dieter Wallnöfer | 1 | -3/+13 | |
It's like the normal REG_DWORD type but the byte order swapped | |||||
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 - fix up the output of hexadecimal values | Matthias Dieter Wallnöfer | 1 | -12/+4 | |
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 | 1 | -1/+17 | |
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-11 | s4-registry: add all winreg types to reg_value_types table. | Günther Deschner | 1 | -3/+11 | |
Guenther | |||||
2010-03-06 | s4:libregistry - change counters to be "unsigned" | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
Also the s4 registry library has to have "unsigned" counters like the Windows one. | |||||
2010-02-07 | s4-registry: fixed byte order assumptions | Andrew Tridgell | 1 | -3/+4 | |
the registry tests were broken on big-endian systems | |||||
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 REG_SZ to the registry. | Wilco Baan Hofman | 1 | -1/+2 | |
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-03-01 | s4: Use same function signature for convert_* as s3. | Jelmer Vernooij | 1 | -3/+3 | |
2009-03-01 | Add allow_badcharcnv argument to all conversion function, for | Jelmer Vernooij | 1 | -2/+2 | |
consistency with Samba 3. | |||||
2008-10-24 | Remove unused include param/param.h. | Jelmer Vernooij | 1 | -1/+0 | |
2008-10-24 | Remove iconv_convenience argument from convert_string{,talloc}() but | Jelmer Vernooij | 1 | -2/+2 | |
make them wrappers around convert_string{,talloc}_convenience(). | |||||
2008-10-18 | Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with Samba | Jelmer Vernooij | 1 | -2/+1 | |
3. | |||||
2008-02-21 | Remove more uses of global_loadparm. | Jelmer Vernooij | 1 | -6/+12 | |
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d) | |||||
2007-12-21 | r26429: Avoid use of global_smb_iconv_convenience. | Jelmer Vernooij | 1 | -2/+3 | |
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c) | |||||
2007-12-21 | r26316: Use contexts for conversion functions. | Jelmer Vernooij | 1 | -2/+2 | |
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482) | |||||
2007-10-10 | r25544: Cleanup some more indents in lib/registry. | Günther Deschner | 1 | -64/+67 | |
Guenther (This used to be commit 0d9826dc54057db2cfebcb806e5442c4dcf60daa) | |||||
2007-10-10 | r25193: Update headers to easy use by external apps. | Jelmer Vernooij | 1 | -1/+1 | |
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf) | |||||
2007-10-10 | r24712: No longer expose the 'BOOL' data type in any interfaces. | Jelmer Vernooij | 1 | -4/+4 | |
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae) | |||||
2007-10-10 | r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵ | Jelmer Vernooij | 1 | -0/+242 | |
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a) |