samba-tool group: Add --special parameter to add predefined special group
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 10 Feb 2022 04:14:56 +0000 (17:14 +1300)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Mar 2022 11:55:30 +0000 (11:55 +0000)
commit7b710a05de4aa66b6b20ff399f7ef64c506353af
tree22ba60cb1eb05845aa878db2e2fb2e6919b7ea0b
parent4f1b7684ed437d1e4bf77a867ee0384bc939f312
samba-tool group: Add --special parameter to add predefined special group

This allows default security groups that have been added since Windows
Server 2008 R2, such as Protected Users, to be created in pre-existing
domains. An error message is generated if a group already exists with
the same name, DN, or SID.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
python/samba/netcmd/group.py
selftest/knownfail.d/samba-tool-group-special [deleted file]