NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

ONTAP Discussions

Command to view cifs sessions and security type

SVHO
2,475 Views

 

I want to view user connected to cifs and what type of security (kerberos or ntlm) in one command.

 

vserver cifs security show -vserver cmc_svm1

 

vserver cifs session show -vserver

2 REPLIES 2

ChLokesh
2,405 Views

Hello,

 

Please try the follwoing command at the cluster level.

::> cifs session show -fields windows-user, unix-user, auth-mechanism

 

Hope this inofrmation is helpful. 

liu
2,364 Views

You can use this command 

 cifs session show -fields windows-user ,unix-user ,auth-mechanism

You can see this intuitively

Such as:

cluster1::> vserver cifs security modify -vserver vs1 -kerberos-clock-skew 3 -kerberos-ticket-age 8

cluster1::> vserver cifs security show -vserver vs1

Vserver: vs1

                    Kerberos Clock Skew:                   3 minutes
                    Kerberos Ticket Age:                   8 hours
                   Kerberos Renewal Age:                   7 days
                   Kerberos KDC Timeout:                   3 seconds
                    Is Signing Required:               false
        Is Password Complexity Required:                true
   Use start_tls For AD LDAP connection:               false
              Is AES Encryption Enabled:               false
                 LM Compatibility Level:  lm-ntlm-ntlmv2-krb
             Is SMB Encryption Required:               false

 

Public