How to Enable Guest Access to an SMB Share

This procedure shows how to use the zfs command to enable guest access, but you can also use the share command for other file system types. See the share(8) man page.

  1. Become an administrator.
  2. Enable guest access for a specified share.
    $ zfs create -o mountpoint=/eng pool/eng
    $ zfs share -o share.smb=on -o share.smb.guestok=on pool/eng%eshare

Example 3-8 Enabling Guest Access to an SMB Share

The following example uses the zfs command to enable guest access for the myshare share:

$ zfs share -o share.smb=on -o share.smb.guestok=on tank/home%myshare