AFF
AFF
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
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!
Solved! See The Solution
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
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?
do you have reference for that ?? share with us please.