• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

man/H03-May-2022-483374

tests/H03-May-2022-1,5591,112

tools/H03-May-2022-1,155866

DoxyfileH A D31-Jan-2020723 2524

READMEH A D31-Jan-20201.5 KiB4330

TODOH A D31-Jan-2020107 64

hive.cH A D31-Jan-20204.8 KiB177129

interface.cH A D31-Jan-20207.5 KiB298188

ldb.cH A D31-Jan-202024.1 KiB1,016797

local.cH A D31-Jan-202010.9 KiB409328

patchfile.cH A D31-Jan-202014.2 KiB544399

patchfile_dotreg.cH A D31-Jan-202010.3 KiB436305

patchfile_preg.cH A D31-Jan-20209.8 KiB385288

pyregistry.cH A D31-Jan-202013.8 KiB495382

regf.cH A D31-Jan-202058.6 KiB2,3191,765

regf.idlH A D31-Jan-20204.2 KiB168148

registry.hH A D31-Jan-202016.5 KiB533359

rpc.cH A D31-Jan-202015.3 KiB580455

samba.cH A D31-Jan-20203 KiB10149

util.cH A D31-Jan-20207.6 KiB303222

wine.cH A D31-Jan-20201.3 KiB4619

wscript_buildH A D31-Jan-20201.7 KiB7050

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