The samba-tool group add subcommand supports options such as --groupou (to specify an alternate organizational unit location for the new group object) and --group-type (to set the group type, such as Security or Distribution). Other options like --group-scope, --description, --mail-address, --notes, --gid-number, and --nis-domain are also valid, but --sid, --login-script, and --default-gpo are not part of this subcommand — the SID is generated automatically, and login-script/default-GPO settings apply to user accounts or Group Policy Objects, not to group creation.
Community Discussion