beautypg.com

Managing user and group permissions – HP StoreAll Storage User Manual

Page 78

background image

Use the -A ALLOWCLIENTIPSLIST or –E DENYCLIENTIPSLIST options to list client IP addresses
allowed or denied access to the share. Use commas to separate the IP addresses, and enclose the
list in quotes. You can include an optional bitmask to specify entire subnets of IP addresses (for
example, ibrix_cifs -A “192.186.0.1,102.186.0.2/16”). The default is "", which
allows (or denies) all IP addresses.

The -F FILEMODE and -M DIRMODE options specify the default mode for newly created files or
directories, in the same manner as the Linux chmod command. The range of values is 0000–0777.
The default is 0700.

To see the valid settings for the -S option, use the following command:

ibrix_cifs -L

View share information:

ibrix_cifs -i [-h HOSTLIST]

Modify a share:

ibrix_cifs -m -s SHARENAME [-D SHAREDESCRIPTION] [-S SETTINGLIST] [-A

ALLOWCLIENTIPSLIST] [-E DENYCLIENTIPSLIST] [-F FILEMODE] [-M DIRMODE]

[-h HOSTLIST]

Delete a share:

ibrix_cifs –d -s SHARENAME [-h HOSTLIST]

Managing user and group permissions

Use the ibrix_cifsperms command to manage share-level permissions for users and groups.

Add a user or group to a share and assign share-level permissions:

ibrix_cifsperms -a -s SHARENAME -u USERNAME -t TYPE -p PERMISSION [-h

HOSTLIST]

For -t TYPE, specify either allow or deny.

For -p PERMISSION, specify one of the following:

fullcontrol

change

read

For example, the following command gives everyone read permission on share1:

ibrix_cifsperms -a -s share1 -u Everyone -t allow -p read

Modify share-level permissions for a user or group:

ibrix_cifsperms -m -s SHARENAME -u USERNAME -t TYPE -p PERMISSION [-h

HOSTLIST]

Delete share-level permissions for a user or group:

ibrix_cifsperms -d -s SHARENAME [-u USERNAME] [-t TYPE] [-h HOSTLIST]

Display share-level permissions:

ibrix_cifsperms -i -s SHARENAME [-t TYPE] [-h HOSTLIST]

Managing CIFS shares with Microsoft Management Console

The Microsoft Management Console (MMC) can be used to add, view, or delete CIFS shares.
Administrators running MMC must have X9000 Software share management privileges.

78

Using CIFS