OpenSolaris 2008.11 System Administration Guide
OpenSolaris 2008.11 System Administration Guide: How to Find Available CIFS Shares

Table of Contents

  1. Determine the server that you want to query about available shares.
    If you are not familiar with the CIFS file servers available in your domain, contact your system administrator. You might be able to use Network Neighborhood on Windows systems or the GNOME file browser to browse for available CIFS shares.
  2. List the available CIFS shares on a server.
    The following command shows how to view the shares on the solarsystem server for the user cal:
    $ smbutil view //cal@solarsystem
    
  3. When prompted, type the password associated with your user name.
  4. View the list of available CIFS shares.
    The smbutil view output shows the name of the share, its type, and an optional text description of the share.
Example:  Listing CIFS Shares

The following command shows how to view the shares on the solarsystem server:

$ smbutil view //cal@solarsystem
Password:
Share        Type       Comment
-------------------------------
netlogon     disk       Network Logon Service
ipc$         IPC        IPC Service (Samba Server)
tmp          disk       Temporary file space
public       disk       Public Stuff
ethereal     disk
root         disk       Home Directories

6 shares listed from 6 available

Most shares have a type of disk because the shares are files and directories. The other share types are as follows:

  • IPC – Represents an interprocess communication (IPC) device, such as a pipe or a mailslot
  • printer – Represents a printer queue
  • device – Represents a communications device