• Home
  • History
  • Annotate
  • only in this directory
NameDateSize

..13-Aug-201321

config.mkH A D13-Aug-20133.4 KiB

dir.cH A D13-Aug-20139.2 KiB

DoxyfileH A D13-Aug-2013723

hive.cH A D13-Aug-20134.8 KiB

interface.cH A D13-Aug-20137.4 KiB

ldb.cH A D13-Aug-201319.9 KiB

local.cH A D13-Aug-20139.6 KiB

man/H13-Aug-20136

patchfile.cH A D13-Aug-201313 KiB

patchfile_dotreg.cH A D13-Aug-20136 KiB

patchfile_preg.cH A D13-Aug-20139.2 KiB

pyregistry.cH A D13-Aug-201312.6 KiB

READMEH A D13-Aug-20131.5 KiB

regf.cH A D13-Aug-201355.3 KiB

regf.idlH A D13-Aug-20134.2 KiB

registry.hH A D13-Aug-201316.5 KiB

registry.pc.inH A D13-Aug-2013281

rpc.cH A D13-Aug-201313.4 KiB

samba.cH A D13-Aug-20132.9 KiB

tests/H13-Aug-20137

TODOH A D13-Aug-2013107

tools/H13-Aug-20137

util.cH A D13-Aug-20135.9 KiB

wine.cH A D13-Aug-20131.3 KiB

README

1This is the registry library. The registry is basically a bunch of
2hives, each of which is loaded from a file. When using a local registry, 
3it is possible to specify where hives should be loaded from, etc. 
4
5There are separate APIs for accessing the data in a hive and the 
6data in the registry itself. Each supports different backends. 
7
8The following "full registry" backends are currently provided:
9
10 * Remote (over DCE/RPC)
11 * Local (allows "mounting" hives)
12 * Wine (uses the wine plain-text file)
13
14The following hive backends are supported:
15
16 - ldb 
17 - regf (NTUSER.DAT-style files)
18 - rpc (Remote individual hives)
19 - directory
20
21reg_open_samba() loads a set of hives based on smb.conf settings.
22Lines in smb.conf should have the following syntax:
23
24registry:<hivename> = <backend>:<location>
25
26So an example usage could be:
27
28registry:HKEY_CURRENT_USER = regf:NTUSER.DAT
29registry:HKEY_LOCAL_MACHINE = ldb:tdb://registry.tdb
30
31WERR_NOT_SUPPORTED will be returned for all hives that haven't been set.
32
33On Windows the various registry hives are loaded from:
34
35HKEY_CURRENT_CONFIG: %SystemRoot%\System32\Config\System
36HKEY_CURRENT_USER: %Profile%\NTUser.dat
37HKEY_LOCAL_MACHINE\SAM: %SystemRoot%\System32\Config\Sam
38HKEY_LOCAL_MACHINE\Security: %SystemRoot%\System32\Config\Security
39HKEY_LOCAL_MACHINE\Software: %SystemRoot%\System32\Config\Software
40HKEY_LOCAL_MACHINE\System: %SystemRoot%\System32\Config\System
41HKEY_USERS\.DEFAULT: %SystemRoot%\System32\Config\Default
42HKEY_LOCAL_MACHINE\HARDWARE: is autogenerated
43