Author: jelmer Date: 2007-08-26 15:16:40 +0000 (Sun, 26 Aug 2007) New Revision: 24667
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24667 Log: Finally merge the registry improvements that Wilco Baan Hofman and I 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 Added: branches/SAMBA_4_0/BRANCH.TODO branches/SAMBA_4_0/source/lib/policy/ branches/SAMBA_4_0/source/lib/policy/adm.h branches/SAMBA_4_0/source/lib/policy/config.mk branches/SAMBA_4_0/source/lib/policy/dumpadm.c branches/SAMBA_4_0/source/lib/policy/lex.l branches/SAMBA_4_0/source/lib/policy/parse_adm.y branches/SAMBA_4_0/source/lib/registry/dir.c branches/SAMBA_4_0/source/lib/registry/hive.c branches/SAMBA_4_0/source/lib/registry/hive.h branches/SAMBA_4_0/source/lib/registry/interface.c branches/SAMBA_4_0/source/lib/registry/ldb.c branches/SAMBA_4_0/source/lib/registry/local.c branches/SAMBA_4_0/source/lib/registry/patchfile.h branches/SAMBA_4_0/source/lib/registry/patchfile_dotreg.c branches/SAMBA_4_0/source/lib/registry/patchfile_preg.c branches/SAMBA_4_0/source/lib/registry/regf.c branches/SAMBA_4_0/source/lib/registry/rpc.c branches/SAMBA_4_0/source/lib/registry/samba.c branches/SAMBA_4_0/source/lib/registry/tests/diff.c branches/SAMBA_4_0/source/lib/registry/tests/hive.c branches/SAMBA_4_0/source/lib/registry/tests/registry.c branches/SAMBA_4_0/source/lib/registry/tools/common.c branches/SAMBA_4_0/source/lib/registry/util.c branches/SAMBA_4_0/source/lib/registry/wine.c branches/SAMBA_4_0/source/setup/provision.reg Removed: branches/SAMBA_4_0/source/lib/registry/common/ branches/SAMBA_4_0/source/lib/registry/reg_backend_dir.c branches/SAMBA_4_0/source/lib/registry/reg_backend_ldb.c branches/SAMBA_4_0/source/lib/registry/reg_backend_nt4.c branches/SAMBA_4_0/source/lib/registry/reg_backend_rpc.c branches/SAMBA_4_0/source/lib/registry/reg_backend_w95.c branches/SAMBA_4_0/source/lib/registry/reg_backend_wine.c branches/SAMBA_4_0/source/lib/registry/reg_samba.c Modified: branches/SAMBA_4_0/ branches/SAMBA_4_0/.bzrignore branches/SAMBA_4_0/source/lib/basic.mk branches/SAMBA_4_0/source/lib/registry/Doxyfile branches/SAMBA_4_0/source/lib/registry/README branches/SAMBA_4_0/source/lib/registry/TODO branches/SAMBA_4_0/source/lib/registry/config.mk branches/SAMBA_4_0/source/lib/registry/man/regdiff.1.xml branches/SAMBA_4_0/source/lib/registry/man/regpatch.1.xml branches/SAMBA_4_0/source/lib/registry/man/regshell.1.xml branches/SAMBA_4_0/source/lib/registry/man/regtree.1.xml branches/SAMBA_4_0/source/lib/registry/patchfile.c branches/SAMBA_4_0/source/lib/registry/regf.idl branches/SAMBA_4_0/source/lib/registry/registry.h branches/SAMBA_4_0/source/lib/registry/tests/generic.c branches/SAMBA_4_0/source/lib/registry/tools/regdiff.c branches/SAMBA_4_0/source/lib/registry/tools/regpatch.c branches/SAMBA_4_0/source/lib/registry/tools/regshell.c branches/SAMBA_4_0/source/lib/registry/tools/regtree.c branches/SAMBA_4_0/source/lib/util/become_daemon.c branches/SAMBA_4_0/source/rpc_server/handles.c branches/SAMBA_4_0/source/rpc_server/winreg/rpc_winreg.c branches/SAMBA_4_0/source/samba4-skip branches/SAMBA_4_0/source/script/lex_compile.sh branches/SAMBA_4_0/source/scripting/ejs/smbcalls_ldb.c branches/SAMBA_4_0/source/smbd/server.c branches/SAMBA_4_0/source/torture/local/config.mk branches/SAMBA_4_0/source/torture/ndr/winreg.c branches/SAMBA_4_0/source/torture/rpc/handles.c branches/SAMBA_4_0/source/torture/rpc/rpc.c branches/SAMBA_4_0/source/torture/rpc/winreg.c branches/SAMBA_4_0/source/torture/ui.c branches/SAMBA_4_0/source/torture/ui.h branches/SAMBA_4_0/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Changeset: Sorry, the patch is too large (13763 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24667