Skip to main content
NetApp Knowledge Base

How to manually unblock SMB/CIFS access that blocked by Workload security

Views:
158
Visibility:
Public
Votes:
0
Category:
data-infrastructure-insights
Specialty:
bluexp_insights
Last Updated:

Applies to

NetApp Workload Security

Answer

Manually Restore Users for SMB

Use the following steps to manually restore any users from ONTAP if your Workload Security trial expires, or if the agent/collector is down.

You can get the list of users blocked in Workload Security from the users list page.

  1. Login to the ONTAP cluster (where you want to unblock users) with cluster admin credentials. (For Amazon FSx, login with FSx credentials).

  2. Run the following command to list all users blocked by Workload Security for SMB in all SVMs:

::> vserver name-mapping show -direction win-unix -replacement " "Vserver:   <vservername>
Direction: win-unix
Position Hostname         IP Address/Mask
-------- ---------------- ----------------
1       -                 -                   Pattern: CSLAB\\US040
                                         Replacement:
2       -                 -                   Pattern: CSLAB\\US030
                                         Replacement:
2 entries were displayed.

In the above output, 2 users were blocked (US030, US040) with domain CSLAB.

  1. Once we identify the position from the above output, run the following command to unblock the user:

::> vserver name-mapping delete -direction win-unix -position <position>

  1. Confirm the users are unblocked by running the command:

::> vserver name-mapping show -direction win-unix -replacement " "

No entries should be displayed for the users previously blocked.

Additional Information

Blocking User Access

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.