Provides access to SMB Sessions with shared authentication credentials.
samba, smb, cifs, files
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.
Display Name | API Name | Default Value | Allowable Values | Description |
---|---|---|---|---|
Hostname | hostname | The network host of the SMB file server. | ||
Port | port | 445 | Port to use for connection. | |
Share | share | The network share to which files should be listed from. This is the "first folder"after the hostname: smb://hostname:port/[share]/dir1/dir2 | ||
Username | username | Guest | The username used for authentication. | |
Password | password | The password used for authentication. Sensitive Property: true | ||
Domain | domain | The domain used for authentication. Optional, in most cases username and password is sufficient. | ||
SMB Dialect | smb-dialect | AUTO |
| The SMB dialect is negotiated between the client and the server by default to the highest common version supported by both end. In some rare cases, the client-server communication may fail with the automatically negotiated dialect. This property can be used to set the dialect explicitly (e.g. to downgrade to a lower version), when those situations would occur. |
Use Encryption | use-encryption | false |
| Turns on/off encrypted communication between the client and the server. The property's behavior is SMB dialect dependent: SMB 2.x does not support encryption and the property has no effect. In case of SMB 3.x, it is a hint/request to the server to turn encryption on if the server also supports it. |
Timeout | timeout | 5 sec | Timeout for read and write operations. |