Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
In some cases we didn't consider them.
|
|
Further tests show that (at least per default) there aren't any differences
between them.
|
|
|
|
It's like the normal REG_DWORD type but the byte order swapped
|
|
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.
|
|
on top of the switch
(As in the "reg_value_types" structure)
|
|
Use a fixed-length representation to avoid platform-specific issues.
|
|
Basically the same as REG_DWORD but these are eight byte long.
|
|
("NULL" result is error on most data types).
|
|
Guenther
|
|
Also the s4 registry library has to have "unsigned" counters like the Windows
one.
|
|
the registry tests were broken on big-endian systems
|
|
Jelmer suggested to put them in again.
|
|
This is absolutely cosmetic and makes the code easier to comprehend.
|
|
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!
|
|
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.
|
|
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
|
|
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
|
|
|
|
consistency with Samba 3.
|
|
|
|
make them wrappers around convert_string{,talloc}_convenience().
|
|
3.
|
|
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
|
|
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
|
|
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
|
|
Guenther
(This used to be commit 0d9826dc54057db2cfebcb806e5442c4dcf60daa)
|
|
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf)
|
|
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
|
|
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)
|