docs: add documentation for the samba-tool ntacl changedomsid command
authorBjörn Baumbach <bb@sernet.de>
Wed, 19 Jun 2019 10:22:01 +0000 (12:22 +0200)
committerBjörn Baumbach <bb@sernet.de>
Thu, 20 Jun 2019 15:34:28 +0000 (15:34 +0000)
Signed-off-by: Björn Baumbach <bb@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
docs-xml/manpages/samba-tool.8.xml

index f94864b07c978cd594b5a3027088e0754dd57809..7f8f02d619ae35336c5a568cfaf400d3301abdc5 100644 (file)
        <para>Manage NT ACLs.</para>
 </refsect2>
 
+<refsect3>
+       <title>ntacl changedomsid <replaceable>original-domain-SID</replaceable> <replaceable>new-domain-SID</replaceable> <replaceable>file</replaceable> [options]</title>
+       <para>Change the domain SID for ACLs.
+       Can be used to change all entries in acl_xattr when the machine's SID
+       has accidentially changed or the data set has been copied
+       to another machine either via backup/restore or rsync.</para>
+
+       <variablelist>
+       <varlistentry>
+       <term>--use-ntvfs</term>
+       <listitem><para>
+       Set the ACLs directly to the TDB or xattr. The POSIX permissions will
+       NOT be changed, only the NT ACL will be stored.
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--service=SERVICE</term>
+       <listitem><para>
+       Specify the name of the smb.conf service to use. This option is
+       required in combination with the --use-s3fs option.
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--use-s3fs</term>
+       <listitem><para>
+       Set the ACLs for use with the default s3fs file server via the VFS
+       layer. This option requires a smb.conf service, specified by the
+       --service=SERVICE option.
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--xattr-backend=[native|tdb]</term>
+       <listitem><para>
+       Specify the xattr backend type (native fs or tdb).
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--eadb-file=EADB_FILE</term>
+       <listitem><para>
+       Name of the tdb file where attributes are stored.
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--recursive</term>
+       <listitem><para>
+       Set the ACLs for directories and their contents recursively.
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--follow-symlinks</term>
+       <listitem><para>
+       Follow symlinks when --recursive is specified.
+       </para></listitem>
+       </varlistentry>
+
+       <varlistentry>
+       <term>--verbose</term>
+       <listitem><para>
+       Verbosely list files and ACLs which are being processed.
+       </para></listitem>
+       </varlistentry>
+       </variablelist>
+</refsect3>
+
+
 <refsect3>
        <title>ntacl get <replaceable>file</replaceable> [options]</title>
        <para>Get ACLs on a file.</para>