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

vserver nfs credentials show

Contributors
Suggest changes

Show credentials cached by NFS

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

Description

The vserver nfs credentials show command displays the user account credentials stored on a specific node for a given UNIX user. This command has no effect if the vserver specified has no active data interfaces on the node where the command is run.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

-node <nodename> - Node (privilege: advanced)

The name of the node on which the command is executed.

-vserver <vserver name> - Vserver (privilege: advanced)

Use this parameter to search for user credentials in the Vserver you specify.

{ -unix-user-id <integer> - UNIX User ID (privilege: advanced)

Use this parameter to search for user credentials for the UNIX user id you specify.

[-client-ip <IP Address>] - Client IP Address (privilege: advanced)

Use this parameter to search for user credentials for the client ip you specify.

| -unix-user-name <text> - UNIX User Name (privilege: advanced)

Use this parameter to search for user credentials for the UNIX user name you specify.

| -unix-group-id <integer> - UNIX Group ID (privilege: advanced)

Use this parameter to search for user credentials for the UNIX group id you specify.

| -unix-group-name <text> - UNIX Group Name (privilege: advanced) }

Use this parameter to search for user credentials for the UNIX group name you specify.

[-flags {ip-qualifier-configured|ip-qualifier-not-configured|unix-extended-creds-present|no-unix-extended-creds|unix-extended-creds-requested|unix-creds-transient-failure|cifs-creds-present|no-cifs-creds|cifs-creds-requested|cifs-cifs-transient-failure|place-holder|transient-failure|transient-error-on-last-refresh|id-name-mapping-present|no-id-name-mapping|id-name-mapping-requested|id-name-mapping-transient-failure|unix-cred-is-partial}] - Credential Entry Flags (privilege: advanced)

The credential entry flags.

[-last-refresh-time <[<integer>h][<integer>m][<integer>s]>] - Time since Last Refresh (privilege: advanced)

Time since last refreshed.

[-last-access-time <[<integer>h][<integer>m][<integer>s]>] - Time since Last Access (privilege: advanced)

Time since last access.

[-hit-count <integer>] - Number of Hits (privilege: advanced)

Number of times the cached credential is fetched successfully.

[-unix-cred-flags <integer>] - UNIX Credential Flags (privilege: advanced)

UNIX credentials flags.

[-unix-cred-domain-id <integer>] - UNIX Credential Domain ID (privilege: advanced)

UNIX credentials domain ID.

[-unix-cred-uid <integer>] - UNIX Credential UID (privilege: advanced)

User ID of the UNIX user.

[-unix-cred-primary-gid <integer>] - UNIX Credential Primay GID (privilege: advanced)

Primary GID of the UNIX user.

[-unix-cred-additional-gids <integer>,…​] - UNIX Credential Additional GIDs (privilege: advanced)

Additional GIDs of the UNIX user.

[-win-cred-flags <integer>] - Windows Credential Flags (privilege: advanced)

Windows credentials flags.

[-win-cred-user-sid <text>] - Windows Credential User SID (privilege: advanced)

SID of the windows user.

[-win-cred-primary-group-sid <text>] - Windows Credential Primary Group SID (privilege: advanced)

SID of the windows user's primary group.

[-win-cred-domain-sids <text>,…​] - Windows Credential Domain SIDs (privilege: advanced)

Domain SIDs of the windows user.

Examples

Show the credentials cached by NFS Cred Store for the UNIX user node1 on node node1.

gnk1cluster1::*> vserver nfs credentials show -node gnk1cluster1-01 -vserver coke -unix-user-name root

Credentials
-----------
                     Node: gnk1cluster1-01
                  Vserver: coke
                Client IP: -
                    Flags: ip-qualifier-not-configured, unix-extended-creds-present, cifs-creds-present, id-name-mapping-present
  Time since Last Refresh: 10s
   Time since Last Access: 5s
                Hit Count: 24
Unix Credentials:
                    Flags: 0
                Domain ID: 0
                      UID: 0
              Primary GID: 1
          Additional GIDs: 1
Windows Credentials:
                    Flags: 8759
                 User SID: S-1-5-21-2552784647-1202982559-4146209732-500
        Primary Group SID: S-1-5-21-2552784647-1202982559-4146209732-513
              Domain SIDs: S-1-5-21-2552784647-1202982559-4146209732
                           S-1-1
                           S-1-5
                           S-1-5-32
ID-Name Information:
                     Type: user
                       ID: 0
                     Name: root