View information about SMB shares using the MMC

Contributors

You can view information about SMB shares on your SVM and perform some management tasks using the Microsoft Management Console (MMC). Before you can view the shares, you need to connect the MMC to the SVM.

About this task

You can perform the following tasks on shares contained within SVMs using the MMC:

  • View shares

  • View active sessions

  • View open files

  • Enumerate the list of sessions, files and tree connections in the system

  • Close open files in the system

  • Close open sessions

  • Create/manage shares

Note

The views displayed by the preceding capabilities are node specific and not cluster specific. Therefore, when you use the MMC to connect to the SMB server host name (that is, cifs01.domain.local), you are routed, based on how you have set up DNS, to a single LIF within your cluster.

The following functions are not supported in MMC for ONTAP:

  • Creating new local users/groups

  • Managing/viewing existing local users/groups

  • Viewing events or performance logs

  • Storage

  • Services and applications

In instances where the operation is not supported, you might experience remote procedure call failed errors.

Steps
  1. To open Computer Management MMC on any Windows server, in the Control Panel, select Administrative Tools > Computer Management.

  2. Select Action > Connect to another computer.

    The Select Computer dialog box appears.

  3. Type the name of the storage system or click Browse to locate the storage system.

  4. Click OK.

    The MMC connects to the SVM.

  5. In the navigation pane, click Shared Folders > Shares.

    A list of shares on the SVM is displayed in the right display pane.

  6. To display the share properties for a share, double-click the share to open the Properties dialog box.

  7. If you cannot connect to the storage system using MMC, you can add the user to the BUILTIN\Administrators group or BUILTIN\Power Users group by using one of the following commands on the storage system:

    cifs users-and-groups local-groups add-members -vserver <vserver_name> -group-name BUILTIN\Administrators -member-names <domainuser>
    
    cifs users-and-groups local-groups add-members -vserver <vserver_name> -group-name "BUILTIN\Power Users" -member-names <domainuser>