ONTAP 9.13.1 commands

vserver nfs credentials show

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

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

-vserver <vserver name> - Vserver

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

{ -unix-user-id <integer> - UNIX User ID

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

[-client-ip <IP Address>] - Client IP Address

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

| -unix-user-name <text> - UNIX User Name

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

| -unix-group-id <integer> - UNIX Group ID

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

| -unix-group-name <text> - UNIX Group Name }

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

The credential entry flags.

[-last-refresh-time <[<integer>h][<integer>m][<integer>s]>] - Time since Last Refresh

Time since last refreshed.

[-last-access-time <[<integer>h][<integer>m][<integer>s]>] - Time since Last Access

Time since last access.

[-hit-count <integer>] - Number of Hits

Number of times the cached credential is fetched successfully.

[-unix-cred-flags <integer>] - UNIX Credential Flags

UNIX credentials flags.

[-unix-cred-domain-id <integer>] - UNIX Credential Domain ID

UNIX credentials domain ID.

[-unix-cred-uid <integer>] - UNIX Credential UID

User ID of the UNIX user.

[-unix-cred-primary-gid <integer>] - UNIX Credential Primay GID

Primary GID of the UNIX user.

[-unix-cred-additional-gids <integer>,…​] - UNIX Credential Additional GIDs

Additional GIDs of the UNIX user.

[-win-cred-flags <integer>] - Windows Credential Flags

Windows credentials flags.

[-win-cred-user-sid <text>] - Windows Credential User SID

SID of the windows user.

[-win-cred-primary-group-sid <text>] - Windows Credential Primary Group SID

SID of the windows user’s primary group.

[-win-cred-domain-sids <text>,…​] - Windows Credential Domain SIDs

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
Top of Page