JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Managing SMB File Sharing and Windows Interoperability in Oracle Solaris 11.1     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  Sharing Files Between Windows and Oracle Solaris Systems

2.  Setting Up Identity Mapping Between Windows and Oracle Solaris Systems

3.  Setting Up a Oracle Solaris SMB Server to Manage and Share Files

4.  Using SMB File Sharing on Client Systems

Managing SMB Mounts in Your Local Environment (Task Map)

How to Find Available SMB Shares on a Known File Server

How to Mount an SMB Share on a Directory You Own

How to View the List of Mounted SMB Shares

How to Unmount an SMB Share From a Directory You Own

How to Store an SMB Persistent Password

How to Configure the PAM Module to Store an SMB Persistent Password

How to Delete an SMB Persistent Password

Managing SMB Mounts in the Global Environment (Task Map)

How to Mount a Multiuser SMB Share

How to Customize the SMB Environment in Oracle Solaris

How to View the SMB Environment Property Values

How to Add an Automounter Entry for an SMB Share

Troubleshooting the SMB Client

Viewing SMB Client Property Settings

Access Denied Message When Accessing a Server

Cannot View or Mount SMB Shares

Cannot Mount SMB Shares as a Regular User

tar and gtar Warnings

Viewing XATTR Status for Mounted Shares

A.  SMB DTrace Provider

Glossary

Index

Troubleshooting the SMB Client

The following are troubleshooting issues for the Oracle Solaris SMB client. For related troubleshooting information, see the following:

Viewing SMB Client Property Settings

The Oracle Solaris SMB client configuration uses the sharectl command to set properties. Before you change property values, view the current property settings by running the sharectl get smbfs command.

Access Denied Message When Accessing a Server

You get an Access Denied error when attempting to access or view SMB shares from a server. This problem might occur because the password you supplied is wrong or the SMB server is part of a domain.

If the SMB server is part of a domain, you must provide the domain name for the smbadm show-shares or mount command. Otherwise, the server assumes that you are attempting to authenticate a local user, and the authentication process fails.

For example, if the server solarsystem is in the MYDOMAIN domain, the following commands would be appropriate to view and access SMB shares as user cal:

# smbadm show-shares -c cal "//MYDOMAIN@solarsystem"
# mount -F smbfs "//MYDOMAIN;cal@solarsystem/tmp" /mnt

Cannot View or Mount SMB Shares

If you are unable to view or mount SMB shares, use the smbadm show-shares [-A | -u username] [-t] server command. The -A option gives anonymous access to the server if the server permits such access.

Cannot Mount SMB Shares as a Regular User

You might see the following error message when you attempt to mount an SMB share as a regular user on a mount point that you own:

$ mount -F smbfs //username@server-name/share-name mount-point
mount: mount_smbfs: mount-point: Not owner

Verify that you have the following entries in your /etc/security/exec_attr file:

Basic Solaris  User:solaris:cmd:::/usr/lib/fs/smbfs/mount:privs=sys_mount
Basic Solaris User:solaris:cmd:::/usr/lib/fs/smbfs/umount:privs=sys_mount

These entries in the /etc/security/exec_attr file enable you to mount and unmount SMB shares on mount points that you own as a regular user.

tar and gtar Warnings

You might see the file changed as we read it warning in the following situations:

Other than these warnings, the tar and gtar operations succeed as expected.

You can ignore these warnings.


Note - smbfs ignores calls to set any file or directory attributes, as those have no direct representation in SMB. Also, smbfs does not support the “UNIX extensions” that would permit the storing of attributes with some servers.


Viewing XATTR Status for Mounted Shares

By default, shares that are mounted by the mount_smbfs command enable Oracle Solaris extended attributes by setting the xattr mount option. However, if the SMB server does not support Windows named streams, shares mounted by mount_smbfs set the noxattr mount option.

To verify whether the xattr or noxattr mount option is used, do the following:

$ mount -v | grep 'type smbfs'

The following example shows that the share mounted on /mnt has xattr set, while the share mounted on /tmp has noxattr set:

$ mount -v | grep 'type smbfs'
//root@solarsystem/tmp on /mnt type smbfs   
  remote/read/write/setuid/devices/intr/xattr/dev=5080000 on Tue Jun  5 18:20:48 2012
//root@pluto/files on /files type smbfs
 remote/read/write/setuid/devices/intr/noxattr/dev=4800000 on Mon Jun  4 11:37:26 2012