ONTAP Discussions

Command to view cifs sessions and security type

SVHO
526 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
456 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
415 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