Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

WFA 5 workflow execution fails on disconnect user CIFS session

Views:
114
Visibility:
Public
Votes:
0
Category:
oncommand-workflow-automation-wfa
Specialty:
om
Last Updated:

Applies to

WFA 5.x

Issue

In workflows where you disconnect CIFS sessions for users via powershell the workflow fails

CLI

PS C:\powershell> close-nccifssession -SessionId 13404964290887995043
Close-NcCifsSession : Cannot bind parameter 'SessionId'. Cannot convert value "13404964290887995043" to type "System.Int64". Error: "Value was either too large or too small for an Int64."


WFA log extract:
10:31:13.823 ERROR  [Close Cifs Session] Parameter 'SessionId' is mandatory for Data ONTAP 9.0 and up.
10:31:13.839 ERROR  [Close Cifs Session] Error closing session for windows user test_cs_quota1
10:31:13.917 ERROR  [Close Cifs Session] Command failed for Workflow 'User_Quota_Increase' with error : Error closing session for windows user test_cs_quota1
10:31:13.917 INFO  [Close Cifs Session] ***** Workflow Execution Failed *****

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support