AFF

How to close/terminate a CIFS session on an SVM?

AhmedAl-Batoosh
84 Views

Hi everyone,

I’m working on a storage virtual machine (SVM) with CIFS enabled and I need to close or terminate an active CIFS session.

I’m looking for guidance on:

  • give local user or AD user to do this activity so  you help to do this

  • what privilege i can give (can i give him Read only )

 

If anyone can share the steps or commands, or point me to relevant documentation, I’d really appreciate it.

Thanks in advance for your help!

Iraq
1 ACCEPTED SOLUTION

TMACMD
76 Views

You can use the command line in ONTAP. This would require setting up role based access control. (RBAC)

you can also use windows computer management. Open it. Right click on the computer and connect to the the SVM. Go through the items untl you find shares and sessions. 

for that to with the user must be in the SVM builtin\Administrators group. 

i don’t have the time right now on how to setup RBAC. It is impossible to this ask read only as the the act of terminating a session is by definition destructive

View solution in original post

3 REPLIES 3

TMACMD
77 Views

You can use the command line in ONTAP. This would require setting up role based access control. (RBAC)

you can also use windows computer management. Open it. Right click on the computer and connect to the the SVM. Go through the items untl you find shares and sessions. 

for that to with the user must be in the SVM builtin\Administrators group. 

i don’t have the time right now on how to setup RBAC. It is impossible to this ask read only as the the act of terminating a session is by definition destructive

Dear @TMACMD 

THANK YOU FOR YOUR COMMAND

as per my post I went to run code of power shell (to close the session based on ID) by the user on .
as I understood must be the user only R/W? right?

 

Iraq

AhmedAl-Batoosh
25 Views

do you have reference for that ?? share with us please.

Iraq
Public