From 218926d8a0eb9952135d9f5e2fe854f6bd902d7a Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Sun, 2 Mar 2025 14:03:01 +1300 Subject: [PATCH] manpages:samba-tool group addunixattrs Signed-off-by: Douglas Bagnall Reviewed-by: Rowland Penny --- docs-xml/manpages/samba-tool.8.xml | 37 ++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/docs-xml/manpages/samba-tool.8.xml b/docs-xml/manpages/samba-tool.8.xml index 27bb9ad4a8c..fab4bc114e6 100644 --- a/docs-xml/manpages/samba-tool.8.xml +++ b/docs-xml/manpages/samba-tool.8.xml @@ -3305,6 +3305,43 @@ Valid class attributes: MACHINE|USER|BOTH Add members to an AD group. + + group addunixattrs <replaceable>groupname</replaceable> <replaceable>gidnumber</replaceable> [options] + + Add RFC2307 Unix attributes to a group account in the Active +Directory domain. +The groupname specified on the command is the sAMaccountName. + +Unix (RFC2307) attributes will be added to the group account. +Add 'idmap_ldb:use rfc2307 = Yes' to smb.conf to use these attributes for UID/GID mapping. + +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. + + +Example1: +samba-tool group addunixattrs Group1 10000 + + +Example1 shows how to add RFC2307 attributes to a domain enabled group +account. + + +The groups Unix ID will be set to '10000', provided this ID isn't already +in use. + + + + + -H URL, --URL=URL + LDB URL for database or target server + + + + + + group delete <replaceable>groupname</replaceable> [options] Delete an AD group. -- 2.47.2