1SMBLDAP-GROUPMOD.CMD(8)User Contributed Perl DocumentatioSnMBLDAP-GROUPMOD.CMD(8)
2
3
4

NAME

6       smbldap-groupmod - Modify a group
7

SYNOPSIS

9       smbldap-groupmod [-g gid [-o]] [-a] [-r rid] [-s sid] [-t group type]
10       [-n group_name ] [-m members(,)] [-x members (,)] group
11

DESCRIPTION

13       The smbldap-groupmod command modifies the system account files to
14       reflect the changes that are specified on the command line. The options
15       which apply to the smbldap-groupmod command are
16
17       -g gid The numerical value of the group's ID. This value must be
18       unique, unless the -o option is used. The value must be non negative.
19       Any files which the old group ID is the file roup ID must have the file
20       group ID changed manually.
21
22       -n group_name
23          The name of the group will be changed from group to group_name.
24
25       -m members
26          The members to be added to the group in comma-delimeted form.
27
28       -x members
29          The members to be removed from the group in comma-delimted form.
30
31       -a
32          add an automatic Security ID for the group (SID).
33
34       -s sid
35          set the group SID.
36          The SID must be unique and defined with the domain Security ID
37       ($SID) like sid=$SID-rid where rid is the group rid.
38
39       -r rid
40          set the group rid.
41          The SID is then calculated as sid=$SID-rid where $SID is the domain
42       Security ID.
43
44       -t group type
45          set the NT Group type for the new group. Available values are 2
46       (domain group), 4 (local group) and 5 (builtin group). The default
47       group type is 2.
48

EXAMPLES

50       smbldap-groupmod -g 253 development This will change the GID of the
51       'development' group to '253'.
52
53       smbldap-groupmod -n Idiots Managers This will change the name of the
54       'Managers' group to 'Idiots'.
55
56       smbldap-groupmod -m "jdoe,jsmith" "Domain Admins" This will add 'jdoe'
57       and 'jsmith' to the 'Domain Admins' group.
58
59       smbldap-groupmod -x "jdoe,jsmith" "Domain Admins" This will remove
60       'jdoe' and 'jsmith' from the 'Domain Admins' group.
61

SEE ALSO

63       groupmod(1)
64
65
66
67perl v5.38.0                      2023-07-22           SMBLDAP-GROUPMOD.CMD(8)
Impressum