Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Disconnecting selected clients

Disconnecting selected clients using MMC  Top

To disable CIFS service for selected clients from Server Manager, complete the following steps.

Step

Action

1

Connect to the storage system using the MMC as described in Connecting to the storage system using MMC.

2

Perform the following actions to disconnect clients from the storage system:

  1. Click Computer Management, if it is not selected already.
  2. Double-click System Tools > Shared Folders> Sessions.
3

If...

Then...

You want to disconnect all clients

  1. Right-click Sessions.
  2. Select Disconnect All Sessions.
  3. Click Yes in the Shared Folders window.

You want to disconnect one or multiple clients

In the right panel of the MMC

  1. Right-click the client name.
  2. Select Close Session.
  3. Click Yes in the Shared Folders window.

Disconnecting a selected user from the command line  Top

To disconnect a CIFS client from the Data ONTAP command line, complete the following steps.

Step

Action

1

Enter the following command to display a list of connected clients:

cifs sessions *
2

Enter the following command to disconnect a client:

cifs terminate client_name [[-t] time]

client_name is the name of the workstation that you want to disconnect from the storage system.

time is the number of minutes before the client is disconnected from the storage system. Entering 0 disconnects the client immediately.

Note
If you do not specify time and Data ONTAP detects an open file with the client, Data ONTAP prompts you for the number of minutes it should wait before it disconnects the client.

Example

cifs terminate jsmith-pc -t 5

Result

Data ONTAP sends a message to the workstation named jsmith-pc, notifying the user of the impending disconnection. Five minutes after you enter the command, jsmith-pc is disconnected from the storage system.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments