smbgroupedit |
This command, new to Samba 3.0, sets up mappings between Unix groups and Windows NT/2000/XP groups and also allows a Unix group to become a domain group . This command must be run by the superuser.
smbgroupedit [options]
Adds a mapping for the specified Unix group. The -n option is used along with this option to specify the Windows NT group to which the Unix group is mapped.
Changes a mapping between a Windows NT group and a Unix group. The Windows NT group is specified as a SID with this option, and the Unix group is specified with the -u option.
Specifies a comment for the mapping, which will be stored along with it.
When used with the -v option, prints a long listing. This is the default. The information printed includes the name of the Windows NT group, its SID, its corresponding Unix group (if a mapping has been defined), the group type, the comment, and the privileges of the group.
Specifies the name of the Windows NT group. Used with the -a option.
Used along with the -a option to specify a Windows NT privilege to be given to the Unix group.
When used with the -v option, prints a short listing. The information printed includes just the name of the Windows NT group, its SID, and, if a mapping has been defined, its corresponding Unix group. This option is useful for determining the SID of a group, for use with the -c option.
Assigns a Windows group type to the group. TYPE is a single character, and is one of b (built-in), d (domain), or l (local).
Specifies the name of the Unix group to map to the Windows NT group. Used with the -c option.
Prints a list of groups in the Windows NT domain in which the Samba server is operating. See also the -l and -s options.
Deletes the mapping for the Unix group specified.