mirror of
https://github.com/samba-team/samba.git
synced 2025-01-19 10:03:58 +03:00
b409d4120f
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)
87 lines
2.3 KiB
XML
87 lines
2.3 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
|
|
<refentry id="regpatch.1">
|
|
|
|
<refmeta>
|
|
<refentrytitle>regpatch</refentrytitle>
|
|
<manvolnum>1</manvolnum>
|
|
</refmeta>
|
|
|
|
|
|
<refnamediv>
|
|
<refname>regpatch</refname>
|
|
<refpurpose>Applies registry patches to registry files</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsynopsisdiv>
|
|
<cmdsynopsis>
|
|
<command>regpatch</command>
|
|
<arg choice="opt">--help</arg>
|
|
<arg choice="opt">--backend=BACKEND</arg>
|
|
<arg choice="opt">--credentials=CREDENTIALS</arg>
|
|
<arg choice="opt">location</arg>
|
|
<arg choice="opt">patch-file</arg>
|
|
</cmdsynopsis>
|
|
</refsynopsisdiv>
|
|
|
|
<refsect1>
|
|
<title>DESCRIPTION</title>
|
|
|
|
<para>The regpatch utility applies registry patches to Windows registry
|
|
files. The patch files should have the same format as is being used
|
|
by the regdiff utility and regedit32.exe from Windows.</para>
|
|
|
|
<para>If no patch file is specified on the command line,
|
|
regpatch attempts to read it from standard input.</para>
|
|
</refsect1>
|
|
|
|
|
|
<refsect1>
|
|
<title>OPTIONS</title>
|
|
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term>--help</term>
|
|
<listitem><para>
|
|
Show list of available options.</para></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>--backend BACKEND</term>
|
|
<listitem><para>Name of backend to load. Possible values are:
|
|
creg, regf, dir and rpc. The default is <emphasis>dir</emphasis>.
|
|
</para></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry>
|
|
<term>--credentials=CREDENTIALS</term>
|
|
<listitem><para>
|
|
Credentials to use, if any. Password should be separated from user name by a percent sign.</para></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title>VERSION</title>
|
|
|
|
<para>This man page is correct for version 4.0 of the Samba suite.</para>
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title>SEE ALSO</title>
|
|
|
|
<para>regdiff, regtree, regshell, gregedit, samba, diff, patch</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1>
|
|
<title>AUTHOR</title>
|
|
|
|
<para>This utility is part of the <ulink url="http://www.samba.org/">Samba</ulink> suite, which is developed by the global <ulink url="http://www.samba.org/samba/team/">Samba Team</ulink>.</para>
|
|
|
|
<para>This manpage and regpatch were written by Jelmer Vernooij. </para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|