cifs shares sharename
cifs shares -add sharename path description
cifs shares -change sharename description
cifs shares -delete sharename
Listing shares
To list all shares and their access control lists, use the
command cifs shares with no arguments. To list a single
share and its access control list, use the command cifs
shares sharename where sharename is the name of the share.
conga> cifs shares
Name Mount Point description
Links /home/links Links to other resources
r-x Everyone
Eng-users /home/eng-users Engineering
r-x marketing
rwx engineering
--- Everyone
HOME /home Default Share
r-x sam
--- Everyone
C$ / Remote Administration
rwx sam
--- Everyone
conga> cifs shares eng-users
Name Mount Point description
Eng-users /home/eng-users Engineering
r-x marketing
rwx engineering
--- Everyone
Creating new shares
To create a share, use the -add form:
cifs shares -add sharename path description
sharename is the name of the share; clients will use this name to access the share.
Deleting existing shares
To delete a share, use the -delete form:
cifs shares -delete sharename
Changing descriptions of existing shares
To change the description of a share, use the -change form:
cifs shares -change sharename description