Managing SMB File Sharing and Windows Interoperability in Oracle Solaris 11.2

Exit Print View

Updated: July 2014
 
 

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
/usr/lib/fs/smbfs/mount: can't resolve name "username@server-name", \
node name or service name not known

Verify that you have the following entries in your /etc/security/exec_attr.d/core-os file:

Forced Privilege:solaris:cmd:RO::/usr/lib/fs/smbfs/mount:privs=sys_mount
Forced Privilege:solaris:cmd:RO::/usr/lib/fs/smbfs/umount:privs=sys_mount

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