The cifsProtocol data type describes the cifs resource for HCPnamespaces.
Properties
The table below describes the properties included in the cifsProtocol data type.
| Property name |
Data type |
Description |
| caseForcing |
Boolean |
Specifies whether the CIFS protocol is case forcing for the namespace. Valid values are:
- UPPER
- The protocol changes object names to all uppercase in requests it passes to HCP.
- LOWER
- The protocol changes object names to all lowercase in requests it passes to HCP.
- DISABLED
- The protocol is not case forcing.
The default is DISABLED.
These values are not case sensitive.
|
| caseSensitive |
Boolean |
Specifies whether the CIFS protocol is case sensitive for the namespace. Valid values are:
- true
- The protocol is case sensitive.
- false
- The protocol is not case sensitive.
The default is true.
|
| enabled |
Boolean |
Specifies whether the CIFS protocol is enabled for the namespace. Valid values are:
- true
- CIFS is enabled.
- false
- CIFS is disabled.
The default is false.
|
| ipSettings |
ipSettings |
Specifies which IP addresses can and cannot access the namespace through the CIFS protocol. |
| requiresAuthentication |
Boolean |
Specifies whether user authentication is required or allowed for access to the namespace through the CIFS protocol. Valid values are:
- true
- User authentication is required.
- false
- User authentication is allowed.
The default is true.
This property can be set to true only if the owning tenant supports AD authentication.
|
Example
Here’s an XML example of the cifsProtocol data type:
<cifsProtocol>
<caseForcing>DISABLED</caseForcing/>
<caseSensitive>true</caseSensitive>
<enabled>true</enabled>
<ipSettings>
<allowAddresses>
<ipAddress>192.168.140.10</ipAddress>
<ipAddress>192.168.140.14</ipAddress>
<ipAddress>192.168.140.15</ipAddress>
<ipAddress>192.168.149.0/24</ipAddress>
</allowAddresses>
<denyAddresses>
<ipAddress>192.168.149.5</ipAddress>
</denyAddresses>
</ipSettings>
<requiresAuthentication>true</requiresAuthentication>
</cifsProtocol>