Managing SMB Shares (Task Map)

The following table points to the tasks that you can use to manage SMB shares.

Task Description For Instructions

Enable cross-protocol locking.

Use the mount or the zfs create command to enable cross-protocol locking by setting the nbmand option.

How to Enable Cross-Protocol Locking

Create an SMB share by using the ZFS file system's share property.

Makes a dataset available to clients.

How to Create an SMB Share (zfs)

Modify the properties of an SMB share by using the share command.

Changes share property values.

How to Modify SMB Share Properties (zfs)

Enable guest access to an SMB share.

Use the zfs command to enable guest access for a specified share by setting the guestok property.

How to Enable Guest Access to an SMB Share

Enable access-based enumeration (ABE) for an SMB share.

Use the zfs command to enable ABE filtering for a specified share by setting the abe property to true.

How to Enable Access-Based Enumeration for a Share

Remove an SMB share by using the unshare command.

When you remove a share, it can no longer be accessed by a system.

How to Remove an SMB Share (zfs)

Create an autohome share rule.

Specify custom share rules for autohome shares.

How to Create a Specific Autohome Share Rule

Restrict host access to a share by using the ZFS file system share property.

Use this procedure to restrict access to a client host in one of the following ways: read-write access, read-only access, or no access. You might use this procedure if you are familiar with the ZFS file system sharenfs property.

How to Restrict Client Host Access to an SMB Share (zfs)