Allowing specified users and groups access to the CIFS share
To allow specified users and groups access to the CIFS share
- To allow specified users and groups access to the CIFS share, enter the following:
CIFS> share allow sharename @group1 \ [,@group2,user1,user2,...]
sharename
Name of the CIFS share for which you want to allow specified users and groups access.
Names of the Access Appliance shares are non case sensitive and can consist of the following characters: lower and uppercase letters "a" - "z" and "A" - "Z," numbers "0" - "9" and special characters: "_" and "-". ( "-", cannot be used as the first character in a share name).
group
If the CIFS server joined a domain, and there is a space in the user or group name, the user or group name needs to be entered with double quotes (for example, "@domain users").
By default, all groups are allowed to access the shares.
In the case where a CIFS share has joined a domain, and the domain contains trusted domains, and allow_trusted_domains is set to yes on the CIFS server, if you want to allow/deny users or groups from the trusted domains, the user or group needs to be prefixed with the trusted domain name. Separate the domain and user/group with a double backslash.
For example:
CIFS> share allow sharename "@domain name\\group name"
user
Name of the CIFS user allowed access to the CIFS share.
By default, all users are allowed to access the shares.
If all is specified, then default access restrictions are restored on the CIFS share.
CIFS> share allow share1 user1,@group1