smbgroupedit

   
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.

Command synopsis

 smbgroupedit   [options]   

Options

-a Unix_group_name

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.

-c SID

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.

-d description

Specifies a comment for the mapping, which will be stored along with it.

-l

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.

-n Windows_group_name

Specifies the name of the Windows NT group. Used with the -a option.

-p privilege

Used along with the -a option to specify a Windows NT privilege to be given to the Unix group.

-s

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.

-t TYPE

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).

-u Unix_group_name

Specifies the name of the Unix group to map to the Windows NT group. Used with the -c option.

-v

Prints a list of groups in the Windows NT domain in which the Samba server is operating. See also the -l and -s options.

-x Unix_group_name

Deletes the mapping for the Unix group specified.

   


Using Samba
Using Samba: A File and Print Server for Linux, Unix & Mac OS X, 3rd Edition
ISBN: 0596007698
EAN: 2147483647
Year: 2003
Pages: 475

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net