View Source

# *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.
# *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}}:
{code}
$ smbutil view //cal@solarsystem
{code}
# *When prompted, type the password associated with your user name.*
# *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.

h5. Example:  Listing CIFS Shares


The following command shows how to view the shares on the {{solarsystem}} server:
{code}
$ 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
{code}

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

{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