Managing SMB Servers and Clients by Using SMB Utilities (Task Map)

SMB utilities must be run as superuser or with specific privileges to be fully effective, but requests for some information can be made by all users. The following task map provides pointers to the tasks for managing SMB servers and clients.

Task Description For Instructions

Attach a remote SMB share to a specified mount point.

Use the mount command to mount an SMB share to a directory you own.

How to Mount an SMB Share on a Directory You Own

How to Mount a Multiuser SMB Share

How to Add an Automounter Entry for an SMB Share

mount_smbfs(8) man page

Configure and manage file-sharing protocols such as SMB and NFS and network protocols such as NetBIOS.

Use the sharectl command to do the following:

  • Set client and server operational properties

  • Display property values for a specific protocol

  • Obtain the status of a protocol

How to Configure WINS

Disabling and Re-enabling NetBIOS

How to Customize the SMB Environment in Oracle Solaris

How to View the SMB Environment Property Values

sharectl(8) man page

Manage SMB shares on various file system types.

Use the zfs command to configure SMB sharing on Oracle Solaris ZFS file systems.

Use the share command to manage SMB shares on various file system types.

How to Create an SMB Share (zfs)

The share(8) and zfs(8) man pages

For information about SMB share properties, see the share_smb(8) man page.

Manage domain membership of the SMB server.

The SMB server can use domain mode or workgroup mode. You can also use the smbadm command to configure SMB local groups.

How to Configure the SMB Server in Domain Mode

How to Configure the SMB Server in Workgroup Mode

How to Create an SMB Group

How to Add a Member to an SMB Group

How to Remove a Member From an SMB Group

How to Modify SMB Group Properties

smbadm(8) man page

Managing the Oracle Solaris SMB client.

Use the smbadm command to perform the following SMB client tasks:

  • View the shares available for mounting from a particular SMB server.

  • Create or remove persistent passwords used to authenticate to SMB servers.

  • Resolve a name to an IP address for a server that uses SMB over NetBIOS, not TCP.

  • Resolve the server name to the NetBIOS workgroup and system name.

How to Find Available SMB Shares on a Known File Server

How to Mount an SMB Share on a Directory You Own

Storing SMB Persistent Passwords

Configuring the PAM Module to Store an SMB Persistent Password

Deleting an SMB Persistent Password

How to Mount a Multiuser SMB Share

Display statistical information about the smbd server.

Use the smbstat command to show statistical information about the SMB server. By default, the smbstat command shows general information about the SMB server as well as dispatched SMB request counters.

smbstat(8) man page

Remove a named SMB share from a mount point.

Use the umount command to unmount a named SMB share.

How to Unmount an SMB Share From a Directory You Own

mount_smbfs(8) man page

Create, modify, and remove SMB shares on ZFS file systems.

Use the zfs set command to set the SMB sharing property for the ZFS file system.

Use the zfs share command to share a ZFS file system.

Use the zfs destroy command to remove SMB shares from a ZFS file system.

How to Remove an SMB Share (zfs)

zfs(8) man page

Create, modify, and remove SMB shares on non-ZFS file systems.

Use the share command to create an SMB share on non-ZFS file system types.

Set the property values with the share command to modify an SMB share on non-ZFS file system types.

Use the unshare command to remove SMB shares from non-ZFS file system types.

unshare(8) man page