ONTAP 9.15.1 commands

vserver cifs users-and-groups local-group rename

Rename 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 rename command renames a local group. The new group name must remain in the same domain as the old group name. The new 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 local group’s name.

-new-group-name <CIFS name> - New Group Name

This specifies the local group’s new name.

Examples

The following example renames the local group "CIFS_SERVER\g_old" to "CIFS_SERVER\g_new" on Vserver "vs1".

cluster1::> vserver cifs users-and-groups local-group rename -group-name CIFS_SERVER\g_old -new-group-name CIFS_SERVER\g_new -vserver vs1
Top of Page