Go to main content

Managing SMB File Sharing and Windows Interoperability in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Managing SMB Mounts in the Global Environment

When you mount a share, you can set the uid and gid mount options to specify the user and group owner of the share.

    The values specified by these mount options do the following:

  • Specify the user and group to be used for local access checks. These checks are only used to determine which local users are permitted through the mount point. All other access checks are handled by the server.

  • Determine the UID and GID that appear in file listings when the mounted share does not support per-file security. Such shares might be shared CD-ROMs or Windows FAT volumes. Most shares support per-file security, so the UID and GID that are shown in directory listings are derived from the file security properties.

The following table points to the tasks that superuser can perform to manage SMB mounts.

Task
Description
For Instructions
Mount a share on a public mount point, such as one in the root file system, so that many users can access the share.
Some shares include files and directories that many people on a system might want to access, such as a global set of files or programs. In such cases, instead of users mounting the share in their own directories, the system administrator can mount the share in a public place so that all users can access the share from the same location.
Customize the SMB environment by setting SMB properties.
Use the sharectl command to set SMB properties.
View the SMB property values.
Use the sharectl command to view SMB property values.
Add an SMB share to an automounter map.
Use this procedure if you want an SMB share to be automatically mounted at boot time.