netcmd: docs: update documentation for new auth policy command structure
authorRob van der Linde <rob@catalyst.net.nz>
Mon, 25 Mar 2024 00:46:47 +0000 (13:46 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 28 Mar 2024 01:50:41 +0000 (01:50 +0000)
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
docs-xml/manpages/samba-tool.8.xml

index a9b626110903de3b5abb746cb5bbd92497056b68..62ce4e690d451b0f4cde089a67dfa4838d2be5e4 100644 (file)
                                </para>
                        </listitem>
                </varlistentry>
-               <varlistentry>
-                       <term>--user-allowed-to-authenticate-from-device-group=GROUP</term>
-                       <listitem>
-                               <para>
-                                       User is allowed to
-                                       authenticate, if the device they
-                                       authenticate from is assigned
-                                       and granted membership of a
-                                       given <constant>GROUP</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --user-allowed-to-authenticate-from
-                               </para>
-                       </listitem>
-               </varlistentry>
-               <varlistentry>
-                       <term>--user-allowed-to-authenticate-from-device-silo=SILO</term>
-                       <listitem>
-                               <para>
-                                       User is allowed to
-                                       authenticate, if the device they
-                                       authenticate from is assigned
-                                       and granted membership of a
-                                       given <constant>SILO</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --user-allowed-to-authenticate-from
-                               </para>
-                       </listitem>
-               </varlistentry>
                <varlistentry>
                        <term>--user-allowed-to-authenticate-to=SDDL</term>
                        <listitem>
                                </para>
                        </listitem>
                </varlistentry>
-               <varlistentry>
-                       <term>--user-allowed-to-authenticate-to-by-group=GROUP</term>
-                       <listitem>
-                               <para>
-                                       The user account, offering a
-                                       network service, covered by
-                                       this policy, will only be allowed
-                                       access from other accounts
-                                       that are members of the given
-                                       <constant>GROUP</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --user-allowed-to-authenticate-to
-                               </para>
-                       </listitem>
-               </varlistentry>
-               <varlistentry>
-                       <term>--user-allowed-to-authenticate-to-by-silo=SILO</term>
-                       <listitem>
-                               <para>
-                                       The user account, offering a
-                                       network service, covered by
-                                       this policy, will only be
-                                       allowed access from other accounts
-                                       that are assigned to,
-                                       granted membership of (and
-                                       meet any authentication
-                                       conditions of) the given <constant>SILO</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --user-allowed-to-authenticate-to
-                               </para>
-                       </listitem>
-               </varlistentry>
                <varlistentry>
                        <term>--service-tgt-lifetime-mins</term>
                        <listitem>
                                </para>
                        </listitem>
                </varlistentry>
-               <varlistentry>
-                       <term>--service-allowed-to-authenticate-from-device-silo=SILO</term>
-                       <listitem>
-                               <para>
-                                       The service account (eg a Managed
-                                       Service Account, Group Managed
-                                       Service Account) is allowed to
-                                       authenticate, if the device it
-                                       authenticates from is assigned
-                                       and granted membership of a
-                                       given <constant>SILO</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --service-allowed-to-authenticate-from
-                               </para>
-                       </listitem>
-               </varlistentry>
-               <varlistentry>
-                       <term>--service-allowed-to-authenticate-from-device-group=GROUP</term>
-                       <listitem>
-                               <para>
-                                       The service account (eg a Managed
-                                       Service Account, Group Managed
-                                       Service Account) is allowed to
-                                       authenticate, if the device it
-                                       authenticates from is a member
-                                       of the given <constant>GROUP</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --service-allowed-to-authenticate-from
-                               </para>
-                       </listitem>
-               </varlistentry>
                <varlistentry>
                        <term>--service-allowed-to-authenticate-to=SDDL</term>
                        <listitem>
                                </para>
                        </listitem>
                </varlistentry>
-               <varlistentry>
-                       <term>--service-allowed-to-authenticate-to-by-group=GROUP</term>
-                       <listitem>
-                               <para>
-                                       The service account (eg a Managed
-                                       Service Account, Group Managed
-                                       Service Account), will only be
-                                       allowed access by other accounts
-                                       that are members of the given
-                                       <constant>GROUP</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --service-allowed-to-authenticate-to
-                               </para>
-                       </listitem>
-               </varlistentry>
-               <varlistentry>
-                       <term>--service-allowed-to-authenticate-to-by-silo=SILO</term>
-                       <listitem>
-                               <para>
-                                       The service account (eg a
-                                       Managed Service Account, Group
-                                       Managed Service Account), will
-                                       only be allowed access by other
-                                       accounts that are assigned
-                                       to, granted membership of (and
-                                       meet any authentication
-                                       conditions of) the given <constant>SILO</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --service-allowed-to-authenticate-to
-                               </para>
-                       </listitem>
-               </varlistentry>
                <varlistentry>
                        <term>--computer-tgt-lifetime-mins</term>
                        <listitem>
                                </para>
                        </listitem>
                </varlistentry>
-               <varlistentry>
-                       <term>--computer-allowed-to-authenticate-to-by-group=GROUP</term>
-                       <listitem>
-                               <para>
-                                       The computer account (eg a server
-                                       or workstation), will only be
-                                       allowed access by other accounts
-                                       that are members of the given
-                                       <constant>GROUP</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --computer-allowed-to-authenticate-to
-                               </para>
-                       </listitem>
-               </varlistentry>
-               <varlistentry>
-                       <term>--computer-allowed-to-authenticate-to-by-silo=SILO</term>
-                       <listitem>
-                               <para>
-                                       The computer account (eg a
-                                       server or workstation), will
-                                       only be allowed access by
-                                       other accounts that are
-                                       assigned to, granted
-                                       membership of (and meet any
-                                       authentication conditions of)
-                                       the given <constant>SILO</constant>.
-                               </para>
-                               <para>
-                                       This attribute avoids the need to write SDDL by hand and
-                                       cannot be used with --computer-allowed-to-authenticate-to
-                               </para>
-                       </listitem>
-               </varlistentry>
-
-             </variablelist>
+       </variablelist>
 </refsect3>
 
 <refsect3>
        </variablelist>
 </refsect3>
 
+<refsect3>
+       <title>domain auth policy user-allowed-to-authenticate-from set</title>
+       <para>Set the user-allowed-to-authenticate-from property by scenario.</para>
+       <variablelist>
+               <varlistentry>
+                       <term>-H, --URL</term>
+                       <listitem><para>
+                               LDB URL for database or target server.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--name</term>
+                       <listitem><para>
+                               Name of authentication policy.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--by-group=GROUP</term>
+                       <listitem><para>
+                               User is allowed to
+                               authenticate, if the device they
+                               authenticate from is assigned
+                               and granted membership of a
+                               given <constant>GROUP</constant>.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--silo=SILO</term>
+                       <listitem><para>
+                               User is allowed to
+                               authenticate, if the device they
+                               authenticate from is assigned
+                               and granted membership of a
+                               given <constant>SILO</constant>.
+                       </para></listitem>
+               </varlistentry>
+       </variablelist>
+</refsect3>
+
+<refsect3>
+       <title>domain auth policy user-allowed-to-authenticate-to set</title>
+       <para>Set the user-allowed-to-authenticate-to property by scenario.</para>
+       <variablelist>
+               <varlistentry>
+                       <term>-H, --URL</term>
+                       <listitem><para>
+                               LDB URL for database or target server.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--name</term>
+                       <listitem><para>
+                               Name of authentication policy.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--group=GROUP</term>
+                       <listitem><para>
+                               The user account, offering a
+                               network service, covered by
+                               this policy, will only be allowed
+                               access from other accounts
+                               that are members of the given
+                               <constant>GROUP</constant>.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--silo=SILO</term>
+                       <listitem><para>
+                               The user account, offering a
+                               network service, covered by
+                               this policy, will only be
+                               allowed access from other accounts
+                               that are assigned to,
+                               granted membership of (and
+                               meet any authentication
+                               conditions of) the given <constant>SILO</constant>.
+                       </para></listitem>
+               </varlistentry>
+       </variablelist>
+</refsect3>
+
+<refsect3>
+       <title>domain auth policy service-allowed-to-authenticate-from set</title>
+       <para>Set the service-allowed-to-authenticate-from property by scenario.</para>
+       <variablelist>
+               <varlistentry>
+                       <term>-H, --URL</term>
+                       <listitem><para>
+                               LDB URL for database or target server.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--name</term>
+                       <listitem><para>
+                               Name of authentication policy.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--group=GROUP</term>
+                       <listitem><para>
+                               The service account (eg a Managed
+                               Service Account, Group Managed
+                               Service Account) is allowed to
+                               authenticate, if the device it
+                               authenticates from is a member
+                               of the given <constant>GROUP</constant>.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--silo=SILO</term>
+                       <listitem><para>
+                               The service account (eg a Managed
+                               Service Account, Group Managed
+                               Service Account) is allowed to
+                               authenticate, if the device it
+                               authenticates from is assigned
+                               and granted membership of a
+                               given <constant>SILO</constant>.
+                       </para></listitem>
+               </varlistentry>
+       </variablelist>
+</refsect3>
+
+<refsect3>
+       <title>domain auth policy service-allowed-to-authenticate-to set</title>
+       <para>Set the service-allowed-to-authenticate-to property by scenario.</para>
+       <variablelist>
+               <varlistentry>
+                       <term>-H, --URL</term>
+                       <listitem><para>
+                               LDB URL for database or target server.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--name</term>
+                       <listitem><para>
+                               Name of authentication policy.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--group=GROUP</term>
+                       <listitem><para>
+                               The service account (eg a Managed
+                               Service Account, Group Managed
+                               Service Account), will only be
+                               allowed access by other accounts
+                               that are members of the given
+                               <constant>GROUP</constant>.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--silo=SILO</term>
+                       <listitem><para>
+                               The service account (eg a
+                               Managed Service Account, Group
+                               Managed Service Account), will
+                               only be allowed access by other
+                               accounts that are assigned
+                               to, granted membership of (and
+                               meet any authentication
+                               conditions of) the given <constant>SILO</constant>.
+                       </para></listitem>
+               </varlistentry>
+       </variablelist>
+</refsect3>
+
+<refsect3>
+       <title>domain auth policy computer-allowed-to-authenticate-to set</title>
+       <para>Set the computer-allowed-to-authenticate-to property by scenario.</para>
+       <variablelist>
+               <varlistentry>
+                       <term>-H, --URL</term>
+                       <listitem><para>
+                               LDB URL for database or target server.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--name</term>
+                       <listitem><para>
+                               Name of authentication policy.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--group=GROUP</term>
+                       <listitem><para>
+                               The computer account (eg a server
+                               or workstation), will only be
+                               allowed access by other accounts
+                               that are members of the given
+                               <constant>GROUP</constant>.
+                       </para></listitem>
+               </varlistentry>
+               <varlistentry>
+                       <term>--silo=SILO</term>
+                       <listitem><para>
+                               The computer account (eg a
+                               server or workstation), will
+                               only be allowed access by
+                               other accounts that are
+                               assigned to, granted
+                               membership of (and meet any
+                               authentication conditions of)
+                               the given <constant>SILO</constant>.
+                       </para></listitem>
+               </varlistentry>
+       </variablelist>
+</refsect3>
+
 <refsect2>
        <title>domain auth silo</title>
        <para>Manage authentication silos.</para>