Skip to main content

vserver cifs users-and-groups local-group create

Contributors
Suggest changes

Create a local group

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver cifs users-and-groups local-group create command creates a local group and optionally sets the description of that local group. The group name must meet the following criteria:

  • The group name length must not exceed 256 characters.

  • The group name cannot be terminated by a period.

  • The group name cannot include commas.

  • The group name cannot include any of the following printable characters: ", /, \, [, ], :, |, <, >, +, =, ;, ?, *, @

  • The group name cannot include characters in the ASCII range 1-31, which are non-printable.

Parameters

-vserver <vserver name> - Vserver

This specifies the name of the Vserver.

-group-name <CIFS name> - Group Name

This specifies the name of the local group.

[-description <TextNoCase>] - Description

This specifies a description for this local group. If the description contains a space, enclose the parameter in quotation marks.

Examples

The following example creates a local group "CIFS_SERVER\g1" associated with Vserver "vs1".

cluster1::> vserver cifs users-and-groups local-group create -vserver vs1 -group-name CIFS_SERVER\g1