vserver services access-check authentication translate
Translate between Various Names and Their Identifiers
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The vserver services access-check authentication translate
command translates SIDs, UIDs, and GIDs to names. If you enter a SID, the command returns a Windows name; if you enter a Windows name, the command returns a SID; if you enter a UNIX username, the command returns a UID; if you enter a UID, the command returns a UNIX username; if you enter a GID, the command returns a UNIX group name; if you enter a UNIX group-name, the command returns a GID.
Parameters
[-node {<nodename>|local}]
- Node Name (privilege: advanced)-
The name of the node on which the command is executed.
-vserver <vserver>
- Vserver Name (privilege: advanced)-
The name of the Vserver.
- {
-uid <integer>
- UNIX User ID (privilege: advanced) -
The UNIX user's UID.
- |
-gid <integer>
- UNIX Group ID (privilege: advanced) -
The UNIX user's GID.
- |
-sid <text>
- Windows SID (privilege: advanced) -
The Windows user's SID.
- |
-unix-user-name <text>
- UNIX User Name (privilege: advanced) -
The UNIX username.
- |
-unix-group-name <text>
- UNIX Group Name (privilege: advanced) -
The UNIX group name.
- |
-win-name <text>
- Windows Name (privilege: advanced) } -
The Windows name.
Examples
This example translates the UNIX UID 0 to username "root" on node "node2" for Vserver "vs1."
cluster1::vserver services access-check*> authentication translate -vserver vs1 -uid 0 -node node2 root
This example translates and the Windows username "administrator" to the corresponding SID on node "node2" for Vserver "vs1."
cluster1::vserver services access-check*> authentication translate -vserver vs1 -win-name administrator -node node2 S-1-5-21-1407423728-2963865486-1834115207-500