Update CIFS Security operation
The Update CIFS Security operation modifies the existing export rules.
The following table describes the elements for this request.
Adapter request elements for Update CIFS Security operation
Element |
Definition |
Required |
---|---|---|
|
Specifies the name of the operation: |
Yes |
|
Specifies a list of arguments that is required for this operation |
Yes |
|
Contains the parent XML element for the |
Conditional; required if the adapter configuration is empty in Grid Manager |
|
Contains the child XML Notes
|
Conditional; required if |
|
Specifies the host name or IP address of the server on which NetApp DataFabric Manager is running |
Conditional; required if |
|
Specifies the user name required to log on to the NetApp DataFabric Manager |
Conditional; required if |
|
Specifies the password that corresponds to the |
Conditional; required if |
|
Specifies the communication protocol used by the adapter |
No |
|
Specifies the port on which NetApp DataFabric Manager is enabled |
No |
|
Specifies the child XML element of the
|
No |
|
Specifies the hostname or IP of the target storage or filer |
Yes |
|
Specifies the name of the CIFS share whose permissions are modified |
Yes |
|
Specifies name of the user |
No |
|
Specifies the name of the unix group |
No |
|
Specifies the access rights to be set to the above share and user/unix-group |
Yes |
A sample adapter request for this operation is given in the following figure.
Sample adapter request for Update CIFS Security operation
<netapp-storage-request>
<operation-name>cifs-set-access</operation-name>
<arguments>
<targets>
<target>
<host>server137</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<target-host>devsim1</target-host>
<cifs-share-name>devcifs2</cifs-share-name>
<user-name>username</user-name>
<access-rights>Full Control</access-rights>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for Update CIFS Security operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>server137</target>
<status>success</status>
<count>0</count>
</metadata>
<output>1 share(s) have been successfully modified</output>
</response>
</responses>
</netapp-storage-response>
Comments
Log in or register to comment.