View Source

*Note* \- If you own the directory on which you want to mount a CIFS share, you can perform the mount operation yourself. If you do not own the directory, you must perform the mount operation as the owner of the directory or as superuser.
# *Verify that the {{network/smb/client}} service is enabled.*
{code}
$ svcs network/smb/client
STATE STIME FMRI
online 19:24:36 svc:/network/smb/client:default
{code}
This service is enabled by default, so the usual state for the service is online.
# *If the service is disabled, enable it by typing the following command:*
{code}
$ svcadm enable network/smb/client
{code}
# *Find the share that you want to mount from a server.*
{code}
$ smbutil view //solarsystem
{code}
# *Type your password at the prompt.*
# *Perform the mount on your directory.*
To mount the {{/tmp}} share from the {{solarsystem}} server on the {{/mnt}} mount point, type:
{code}
$ mount -F smbfs //solarsystem/tmp /mnt
{code}

{include:bottom_navigation}

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact