No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
create directory_share cifs_auth_client

create directory_share cifs_auth_client


The create directory_share cifs_auth_client command is used to create the name and permission of a common Internet file system (CIFS) share user or user group.


create directory_share cifs_auth_client < domain_type > < name > < permission > < share_name >





domain_type Domain type.

AD: domain user who uses the active directory (AD) protocol for authentication

LDAP: domain user who uses Lightweight Directory Access Protocol (LDAP) for authentication

LOCAL: local user

Everyone: all users.

name Name of a user or user group.

The value contains 1 to 256 characters.

Character strings starting with @ are user group names or user names.

The default value is @Everyone.

When Domain type is set to Everyone, you do not need to specify name, and the name is set to @Everyone by default.

permission Share permission.

ro: read-only

ful: full control

rw: read and write, but unable to be deleted or renamed

denied: access forbidden.

share_name Share name.

The value can contain only 1 to 80 characters. The value cannot include special characters such as /\[]:|<>+=;,?* or double quotation marks.


Resource administrator

Usage Guidelines



Create the name and permission of a common Internet file system share user.

admin:/>create directory_share cifs_auth_client AD user1 full sharecifs
Command executed successfully.

System Response


Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24874

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next