Skip to main content
A newer release of this product is available.

vserver group-mapping swap

Contributors
Suggest changes

Exchange the positions of two group mappings

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

Description

The vserver group-mapping swap command exchanges the positions of two group mappings in the priority list.

The vserver group-mapping swap command is not supported on Vservers with FlexVol volumes.

Parameters

-vserver <vserver name> - Vserver

This parameter specifies the Vserver on which the group mappings are located.

-direction {krb-unix|win-unix|unix-win} - Name Mapping Direction

This parameter specifies the direction of the group mappings that you want to exchange. Each mapping direction (Kerberos-to-UNIX, Windows-to-UNIX, and UNIX-to-Windows) has its own priority list.

-position <integer> - Position

This parameter specifies the position in the priority list of the first group mapping that you want to exchange. Specify a position as a positive integer.

-with-position <integer> - Position of an existing group mapping entry in the list of group mappings for this Vserver. This entry will be swapped with the entry at 'position'.

This parameter specifies the position in the priority list of the second group mapping that you want to exchange. Specify a position as a positive integer.

Examples

The following example exchanges the positions of two group mappings on a Vserver named vs1. The group mappings have the direction Windows-to-UNIX. The group mappings are exchanged between positions 2 and 4.

cluster1::> vserver group-mapping swap -vserver vs1 -direction win-unix -position 2 -with-position 4