]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
manpages:samba-tool group addunixattrs
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sun, 2 Mar 2025 01:03:01 +0000 (14:03 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 12 Mar 2025 19:57:34 +0000 (19:57 +0000)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Rowland Penny <rpenny@samba.org>
docs-xml/manpages/samba-tool.8.xml

index 27bb9ad4a8c8b5f2695e487f9e81029dad549341..fab4bc114e6a6b2da23c0aaa9baefc0b7b7a7d9a 100644 (file)
@@ -3305,6 +3305,43 @@ Valid class attributes: MACHINE|USER|BOTH
        <para>Add members to an AD group.</para>
 </refsect3>
 
+<refsect3>
+       <title>group addunixattrs <replaceable>groupname</replaceable> <replaceable>gidnumber</replaceable> [options]</title>
+
+       <para> Add RFC2307 Unix attributes to a group account in the Active
+Directory domain.
+The groupname specified on the command is the sAMaccountName.</para>
+
+<para>Unix (RFC2307) attributes will be added to the group account.</para>
+<para>Add 'idmap_ldb:use rfc2307 = Yes' to smb.conf to use these attributes for UID/GID mapping.</para>
+
+<para>The command may be run from the root userid or another authorized userid.
+The -H or --URL= option can be used to execute the command against a
+remote server.</para>
+
+<para>
+Example1:
+<programlisting>samba-tool group addunixattrs Group1 10000</programlisting>
+</para>
+<para>
+Example1 shows how to add RFC2307 attributes to a domain enabled group
+account.
+</para>
+<para>
+The groups Unix ID will be set to '10000', provided this ID isn't already
+in use.
+</para>
+
+<variablelist>
+         <varlistentry>
+           <term>-H URL, --URL=URL</term>
+           <listitem><para>LDB URL for database or target server</para></listitem>
+         </varlistentry>
+</variablelist>
+
+
+</refsect3>
+
 <refsect3>
        <title>group delete <replaceable>groupname</replaceable> [options]</title>
        <para>Delete an AD group.</para>