mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
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
94 lines
2.5 KiB
Makefile
94 lines
2.5 KiB
Makefile
[SUBSYSTEM::TDR_REGF]
|
|
PUBLIC_DEPENDENCIES = TDR
|
|
OBJ_FILES = tdr_regf.o
|
|
|
|
# Special support for external builddirs
|
|
lib/registry/regf.c: lib/registry/tdr_regf.c
|
|
$(srcdir)/lib/registry/regf.c: lib/registry/tdr_regf.c
|
|
lib/registry/tdr_regf.h: lib/registry/tdr_regf.c
|
|
lib/registry/tdr_regf.c: $(srcdir)/lib/registry/regf.idl
|
|
@CPP="$(CPP)" srcdir="$(srcdir)" $(PERL) $(srcdir)/pidl/pidl $(PIDL_ARGS) \
|
|
--header --outputdir=lib/registry \
|
|
--tdr-parser -- $(srcdir)/lib/registry/regf.idl
|
|
|
|
clean::
|
|
@-rm -f lib/registry/regf.h lib/registry/tdr_regf*
|
|
|
|
################################################
|
|
# Start SUBSYSTEM registry
|
|
[LIBRARY::registry]
|
|
VERSION = 0.0.1
|
|
SO_VERSION = 0
|
|
DESCRIPTION = Windows-style registry library
|
|
OBJ_FILES = \
|
|
interface.o \
|
|
util.o \
|
|
samba.o \
|
|
patchfile_dotreg.o \
|
|
patchfile_preg.o \
|
|
patchfile.o \
|
|
regf.o \
|
|
hive.o \
|
|
local.o \
|
|
ldb.o \
|
|
dir.o \
|
|
rpc.o
|
|
PUBLIC_DEPENDENCIES = \
|
|
LIBSAMBA-UTIL CHARSET TDR_REGF LIBLDB \
|
|
RPC_NDR_WINREG
|
|
PUBLIC_HEADERS = registry.h
|
|
# End MODULE registry_ldb
|
|
################################################
|
|
|
|
[SUBSYSTEM::registry_common]
|
|
PUBLIC_DEPENDENCIES = registry
|
|
OBJ_FILES = tools/common.o
|
|
PUBLIC_PROTO_HEADER = tools/common.h
|
|
|
|
################################################
|
|
# Start BINARY regdiff
|
|
[BINARY::regdiff]
|
|
INSTALLDIR = BINDIR
|
|
OBJ_FILES = tools/regdiff.o
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-CONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS
|
|
MANPAGE = man/regdiff.1
|
|
# End BINARY regdiff
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY regpatch
|
|
[BINARY::regpatch]
|
|
INSTALLDIR = BINDIR
|
|
OBJ_FILES = tools/regpatch.o
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-CONFIG registry LIBPOPT POPT_SAMBA POPT_CREDENTIALS \
|
|
registry_common
|
|
MANPAGE = man/regpatch.1
|
|
# End BINARY regpatch
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY regshell
|
|
[BINARY::regshell]
|
|
INSTALLDIR = BINDIR
|
|
OBJ_FILES = tools/regshell.o
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
|
|
SMBREADLINE registry_common
|
|
MANPAGE = man/regshell.1
|
|
# End BINARY regshell
|
|
################################################
|
|
|
|
################################################
|
|
# Start BINARY regtree
|
|
[BINARY::regtree]
|
|
INSTALLDIR = BINDIR
|
|
OBJ_FILES = tools/regtree.o
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-CONFIG LIBPOPT registry POPT_SAMBA POPT_CREDENTIALS \
|
|
registry_common
|
|
MANPAGE = man/regtree.1
|
|
# End BINARY regtree
|
|
################################################
|