How to Find Available CIFS Shares

  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.
    As the following example shows, the smbutil view output lists 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

For more information:

Labels

osoladmin osoladmin Delete
task task Delete
filesystem filesystem Delete
cifs cifs Delete
accessing accessing Delete
smallsiteadmin smallsiteadmin Delete
sundoc sundoc Delete
singleadmin singleadmin Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


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