tsmb-cfg
The tsmb-cfg utility is used to manage the configuration of Fusion SMB while it is running.
By default, configuration changes made with the tsmb-cfg utility are not persistent across server restarts.
For changes made with the CLI to persist, you must start Fusion SMB in persistent configuration mode by running tsmb-server -p.
Usage
tsmb-cfg [<option>,...] <command> [<parameter>,...]
Options
When running the tsmb-cfg utility, the following options can be used in conjunction with the specified commands:
-c <path>, --config <path>: Wherepathis the the path to the Fusion SMB configuration file.
When not specified, the default location to the configuration file is/etc/tsmb.conf.--timeout <sec>: Wheresecis the total time (in seconds) to wait for an operation to complete. (Default: 200)
The following options will display an output and then exit:
-v, --version: Displays the utility version string.-h, --help: Displays a help message.
tsmb-cfg global
The subcommands under tsmb-cfg global are used to manage the global configuration of Fusion SMB, corresponding with the [global] section of the configuration file.
tsmb-cfg global add
This subcommand is used to add a new global configuration parameter to the running Fusion SMB instance.
Usage: tsmb-cfg global add <parameter> [<value>]
Available parameters:
| Parameter | Description |
|---|---|
-l <value>or --listen <value> | Corresponds with the global listen parameter. Adds a network listening configuration.Applies to:SMBNFS
Value Type: string This parameter is required. Fusion SMB will fail to start unless a value is specified. Multiple Values Allowed This parameter can be specified multiple times in your configuration to enable multiple listening configurations—for example, to listen on both IPv4 and IPv6. Value Format:
Default Value: N/A. Value MUST be set. Examples:
|
-hor --help | Display a help message. |
tsmb-cfg global del
This subcommand is used to delete a global configuration parameter from the running Fusion SMB instance.
Usage: tsmb-cfg global del <parameter>
Available parameters:
| Parameter | Description |
|---|---|
-l <value>or --listen <value> | Corresponds with the global listen parameter. Removes a network listening configuration.<value> is a previously added listening configuration to be removed. |
-hor --help | Display a help message. |
tsmb-cfg global update
This subcommand is used to update a global configuration parameter of the running Fusion SMB instance.
Usage: tsmb-cfg global update <parameter> [<value>]
Available parameters:
| Parameter | Description |
|---|---|
-d <value>or --dialects <value> | Corresponds with the global dialects parameter. Sets the supperted SMB dialects.Mutually exclusive with: dialect_maxApplies to:SMB
Value Type: string Value Format:
Default Value: Examples:
|
-D <value>or --dialect_max <value> | Corresponds with the global dialect_max parameter. Sets the maximum supported dialect.Mutually exclusive with: dialectsApplies to:SMB
Value Type: string Value Format:
Default Value: Examples:
|
-t <value>or --durable_v1_timeout <value> | Corresponds with the global durable_v1_timeout parameter. Sets the timeout for V1 durable handles.Applies to:SMB
Value Type: integer Value Format:
Default Value: Examples:
|
-T <value>or --durable_v2_timeout <value> | Corresponds with the global durable_v2_timeout parameter. Sets the default timeout for V2 durable handles.Applies to:SMB
Value Type: integer Value Format:
Default Value: Examples:
|
--encrypt <value> | Corresponds with the global encrypt_data parameter. Controls whether the server should encrypt SMB messages in transit.Overridden by Per-Share Parameter: encrypt_dataApplies to:SMB
Value Type: boolean Value Format:
Default Value: |
--reject-unencrypted <value> | Corresponds with the global reject_unencrypted_access parameter. Controls whether the server should discard incoming unencrypted SMB messages.Applies to:SMB
Value Type: boolean Value Format:
Default Value: |
--require-signing <value> | Corresponds with the global require_message_signing parameter. Controls whether the server should discard incoming unsigned SMB messages.Applies to:SMB
Value Type: boolean Value Format:
Default Value: |
--access-based-share-enumeration <value> | Corresponds with the global access_based_share_enumeration parameter. Controls whether the server should hide shares during enumeration based on access permission.Applies to:SMB
Value Type: boolean Value Format:
Default Value: |
--log-destination <value> | Corresponds with the global log_destination parameter. Sets the destination for log messages.Applies to:SMBNFS
Value Type: Value format:
Default value: |
--log-level <value> | Corresponds with the global log_level parameter. Sets the default level of severity for log messages.Applies to:SMBNFS
Value Type: Value format:
Logging topics can also be set at individual levels. This is often used in troubleshooting specific issues. The topics are as follows:
Default value: Examples:
|
--log-params <value> | Corresponds with the global log_params parameter. Sets the configuration parameters for logging.Applies to:SMBNFS
Value Type: Value format:
Default value: none. None of the formatting options are enabled. |
--smb2-credits-max <value> | Corresponds with the global smb2_credits_max parameter. Sets the number of SMB2 credits advertised to clients.Applies to:SMB
Value Type: integer Value Format: Default Value: |
--shares-max <value> | Corresponds with the global shares_max parameter. Sets the maximum number of shares that can be configured.Applies to:SMBNFS
Value Type: integer Value Format: Default Value: |
--sessions-max <value> | Corresponds with the global sessions_max parameter. Sets the maximum number of authenticated user sessions that are allowed to be established on the server.Applies to:SMBNFS
Value Type: integer Value Format: Default Value: |
--userdb-idmap <value> | Corresponds with the global userdb_idmap parameter. Sets the POSIX ID Mapping method.Applies to:SMBNFS
Value Type: string Value Format:
Default Value: Examples:
|
--userdb-idmap-cache Clear | Clears the POSIX ID Mapping cache. |
--apple-extensions <value> | Corresponds with the global apple_extensions parameter. Controls whether the server should enable Apple extensions in the SMB protocol for macOS.Applies to:SMB
Value Type: boolean Value Format:
Default Value: |
-hor --help | Display a help message. |
tsmb-cfg global list
This subcommand is used to list the global configuration parameters of the running Fusion SMB instance.
Usage: tsmb-cfg global list [<parameters>]
Available parameters:
| Parameter | Description |
|---|---|
-f <format>or --format <format> | <format> is the format in which to output the global configuration info. The supported formats are: raw, json (Default: raw). |
-hor --help | Display a help message. |
tsmb-cfg global help
This subcommand is used to display the help message for the other tsmb-cfg global subcommands.
Usage: tsmb-cfg global help
tsmb-cfg share
The subcommands under tsmb-cfg share are used to manage the shares configuration of Fusion SMB, corresponding with the [share] section of the configuration file.
tsmb-cfg share add
This subcommand is used to add a new share to a running Fusion SMB instance.
Usage: tsmb-cfg share add <parameter> [<value>]
Mandatory Parameters
When adding a share, the following parameters are required:
| Parameter | Description |
|---|---|
-n <value>or --name <value> | Corresponds with the share netname parameter. Sets the name by which the share is identified and accessed.Applies to:SMBNFS
Value Type: string note Default Value: none Examples:
|
-p <value>or --path <value> | Corresponds with the share path parameter. Sets the path or the name of the print queue for the share.Applies to:SMBNFS
Value Type: string Value Format:
Default Value: none Examples:
|
-s <value>or --spool-path <value> | Corresponds with the share spool_path parameter. Sets the path to the spool directory on the server's file system.Applies to:SMB
Value Type: string Value Format: Default Value: none Examples:
|
Additional Parameters
| Parameter | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
-hor --hidden <value> | Corresponds with the share hidden parameter. Controls whether the share is a hidden share.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--administrative <value> | Corresponds with the share administrative parameter. Controls whether the share is an administrative share.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--server <value> | Corresponds with the server parameter. Controls the server for share scoping.Applies to:SMB
Value Type: string Default Value: none (the share will be visible through any hostname) Examples:
| ||||||||||||||
-A <value>or --audit-level <value> | Corresponds with the share audit_level parameter. Sets the audit logging level for the share.Applies to:SMB
Value Type: integer Default Value: none Examples:
| ||||||||||||||
-c <value>or --ca <value> | Corresponds with the share ca parameter. Enables or disables the persistent file handle database for the share.Overrides Global Parameter: caApplies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
-C <value>or --ca-params <value> | Corresponds with the share ca_params parameter. Controls the behavior of the persistent file handle database for the share.Applies to:SMB
Value Type: string Possibly Overrides Global Parameter: ca_pathThis parameter is only required when Fusion SMB is configured as an active-passive cluster. The path parameter is only needed when ca_db is configured with the legacy fs option, during a rolling upgrade from 3024.3.22.6+ to 3024.10.0 or newer, or in standalone configurations (without scale-out).Value Format:
Default Value: Examples:
| ||||||||||||||
--dfs <value> | Corresponds with the share dfs parameter. Controls whether the share should be visible in DFS.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--vss <value> | Corresponds with the share vss parameter. Enables or disables Volume Shadow Copy (VSS) for the share.Overrides Global Parameter: vssApplies to:SMB
Value Type: boolean Value Format:
Default Value: as set in the global configuration. | ||||||||||||||
--vss-params <value> | Corresponds with the share vss_params parameter. Sets the VSS parameters parameters for the share.Overrides Global Parameter: vss_paramsApplies to:SMB
Value Type: string note The following format applies only when when the default VSS implementation is used. If the underlying file system of the share has a different VSS implementation, use that file system's specific format to configure VSS. Value Format:
Default Value: as set in the global configuration. Examples:
| ||||||||||||||
--case-insensitive <value> | Corresponds with the share case_insensitive parameter. Controls whether the share should be case-insensitive.Overrides Global Parameter: case_insensitiveApplies to:SMB
Value Type: boolean Value Format:
Default Value: as set in the global configuration. | ||||||||||||||
--oplock <value> | Corresponds with the share oplock parameter. Controls opportunistic locking (oplock) behavior for the share.Potentially Overrides Global Parameter: oplockIgnored when global parameter oplock is set to disabledApplies to:SMB
Value Type: string Value Format:
Default Value: | ||||||||||||||
-l <value>or --force-l2oplock <value> | Deprecated. Use --oplock instead. Corresponds with the share force_level2oplock parameter. Controls opportunistic locking (oplock) behavior for the share.warning This parameter is deprecated. Use Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--encrypt <value> | Corresponds with the share encrypt_data parameter. Controls whether encryption in transit should be enabled for the share.Overrides Global Parameter: encrypt_dataApplies to:SMB
Value Type: boolean Value Format:
Default Value: as set in the global configuration. | ||||||||||||||
--access-based-enumeration <value> | Corresponds with the share access_based_enumeration parameter. Controls whether the share should hide shares during enumeration based on access permission.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
-P <value>or --permissions <value> | Corresponds with the share permissions parameter. Sets the permissions for the share.Applies to:SMBNFS
Value Type: string Value Format:
important If an Moreover, Fusion SMB will continue attempting to resolve the To ignore unresolved Default Value: Examples:
| ||||||||||||||
--security-descriptor <value> | Corresponds with the share security_descriptor parameter. Sets the security descriptor for the share.Applies to:SMBNFS
Value Type: string Value Format: SDDL string Default Value: none Examples:
| ||||||||||||||
-r <value>or --remark <value> | Corresponds with the share remark parameter. Sets a human-readable comment on the share.Applies to:SMBNFS
Value Type: string Default Value: none Examples:
| ||||||||||||||
-t <value>or --type <value> | Corresponds with the share type parameter. Sets the type of the share.Applies to:SMBNFS
Value Type: string note Only Value Format:
Default Value: | ||||||||||||||
-a <value>or --files-allow <value> | Corresponds with the share files_allow parameter. Sets the pattern of allowed files for veto files.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
-d <value>or --files-deny <value> | Corresponds with the share files_deny parameter. Sets the pattern of denied files for veto files.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
--compression-deny <value> | Corresponds with the share compression_deny parameter. Controls which files should not be compressed with SMB compression enabled.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
--compress-data <value> | Corresponds with the share compress_data parameter. Controls whether SMB compression support is advertised for the share.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
-m <value>or --map-attributes <value> | Corresponds with the share map_attributes parameter. Controls the manner in which Windows attributes are stored for the files..Applies to:SMBNFS
Value Type: string Value Format:
Default Value: Examples:
| ||||||||||||||
--map-acls <value> | Corresponds with the share map_acls parameter. Sets the method for storing ACLs.Applies to:SMBNFS
Value Type: string Value Format:
Default Value:
note With the default value, the server does not change the POSIX permission bits of a file. To let the server change them, configure a method that can write them, for example Applies to:NFS
note With the default value, a mode requested by an NFS client, for example in the attributes of an Examples:
| ||||||||||||||
-S <value>or --security <value> | Corresponds with the share security parameter. Sets the file security model for the share.Applies to:SMBNFS
Value Type: string Value Format:
Default Value: | ||||||||||||||
-v <value>or --vfs <value> | Corresponds with the share vfs parameter. Sets the VFS behavior for the share.Applies to:SMBNFS
Value Type: string Value Format:
Default Value: none ( Examples:
CephFS module optionsThe CephFS module takes these options after the
note
note The | ||||||||||||||
-Z <value>or --vfs-zerocopy-read <value> | Corresponds with the share vfs_zerocopy_read parameter. Enables or disables zero-copy for reads.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--vfs-clone-file-range <value> | Corresponds with the share vfs_clone_file_range parameter. Enables or disables clone_file_range for server-side copy if supported.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--vfs-data-threads <value> | Corresponds with the share vfs_data_threads parameter. Sets the number of share specific VFS data threads.Potentially Overrides Global Parameter: vfs_data_threadsApplies to:SMBNFS
Value Type: integer Value Format:
Default Value: | ||||||||||||||
--vfs-metadata-threads <value> | Corresponds with the share vfs_metadata_threads parameter. Sets the number of share specific VFS metadata threads.Potentially Overrides Global Parameter: vfs_metadata_threadsApplies to:SMBNFS
Value Type: integer Value Format:
Default Value: | ||||||||||||||
--vfs-data-queues <value> | Corresponds with the share vfs_data_queues parameter. Sets the number of queues the share specific VFS data threads are split into.Potentially Overrides Global Parameter: vfs_data_queuesValue Type: integer Value Format: Default Value: | ||||||||||||||
--vfs-fallocate-min <value> | Corresponds with the share vfs_fallocate_min parameter. Sets the minimum threshold for using the fallocate() system call.Applies to:SMB
Value Type: integer Value Format: Default Value: | ||||||||||||||
--vfs-fallocate-max <value> | Corresponds with the share vfs_fallocate_max parameter. Sets the maximum threshold for using the fallocate() system call.Applies to:SMB
Value Type: integer Value Format: Default Value: | ||||||||||||||
--hosts-allow <value> | Corresponds with the share hosts_allow parameter. Sets the allowed hosts for host-based access control.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
--hosts-deny <value> | Corresponds with the share hosts_deny parameter. Sets the denied hosts for host-based access control.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
--create-mask <value> | Corresponds with the share create_mask parameter. Sets the maximum allowed POSIX permission for a file.Applies to:SMBNFS
Value Type: Value format: Default value: Examples:
| ||||||||||||||
--force-create-mode <value> | Corresponds with the share force_create_mode parameter. Sets the minimum required POSIX permissions for a file.Applies to:SMBNFS
Value Type: Value format: Default value: Examples:
| ||||||||||||||
--directory-mask <value> | Corresponds with the share directory_mask parameter. Sets the maximum allowed POSIX permission for a directory.Applies to:SMBNFS
Value Type: Value format: Default value: Examples:
| ||||||||||||||
--force-directory-mode <value> | Corresponds with the share force_directory_mode parameter. Sets the minimum required POSIX permissions for a directory.Applies to:SMBNFS
Value Type: Value format: Default value: Examples:
| ||||||||||||||
--enable-oplock <value> | Deprecated. Use --oplock instead.. Corresponds with the share enable_oplock parameter. Controls whether the share should enable oplocks.warning This parameter is deprecated. Use Overrides Global Parameter: enable_oplockApplies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--named-streams <value> | Corresponds with the share named_streams parameter. Controls whether the share should enable named streams.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--recycle-bin <value> | Corresponds with the share recycle_bin parameter. Controls whether the recycle bin is enabled. | ||||||||||||||
--recycle-bin-params path=<value> | Corresponds with the share recycle_bin_params parameter. Controls where the recycle bin path is stored. | ||||||||||||||
--share-id <value> | Corresponds with the share share_id parameter. Sets a stable share ID, kept across restarts.Applies to:SMBNFS
Value Type: integer Value Format: Default Value: none (the server allocates the share ID itself, in the order of the shares in the configuration) Examples:
| ||||||||||||||
-hor --help | Display a help message. |
tsmb-cfg share del
This subcommand is used to remove a share from a running Fusion SMB instance, or to remove a scoped share.
Usage: tsmb-cfg share del -n <netname> [<parameter>,...]
Mandatory parameters:
| Parameter | Description |
|---|---|
-n <netname>or --name <value> | Corresponds with the share netname parameter. Sets the name by which the share is identified and accessed.Applies to:SMBNFS
Value Type: string note Default Value: none Examples:
|
Optional parameters:
| Parameter | Description |
|---|---|
--server <value> | Corresponds with the server parameter. Removes share scoping for the share, making it available through all hostnames.Applies to:SMB
Value Type: string Default Value: none (the share will be visible through any hostname) Examples:
|
-hor --help | Display a help message. |
tsmb-cfg share update
This subcommand is used to update a share in a running Fusion SMB instance.
Usage: tsmb-cfg share update -n <netname> <parameter> [<value>]
Mandatory parameters:
| Parameter | Description |
|---|---|
-n <netname>or --name <value> | Corresponds with the share netname parameter. Sets the name by which the share is identified and accessed.Applies to:SMBNFS
Value Type: string note Default Value: none Examples:
|
Optional parameters:
| Parameter | Description | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--oplock <value> | Corresponds with the share oplock parameter. Controls opportunistic locking (oplock) behavior for the share.Potentially Overrides Global Parameter: oplockIgnored when global parameter oplock is set to disabledApplies to:SMB
Value Type: string Value Format:
Default Value: | ||||||||||||||
-l <value>or --force-l2oplock <value> | Deprecated. Use --oplock instead. Corresponds with the share force_level2oplock parameter. Controls opportunistic locking (oplock) behavior for the share.warning This parameter is deprecated. Use Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
-e <value>or --encrypt <value> | Corresponds with the share encrypt_data parameter. Controls whether encryption in transit should be enabled for the share.Overrides Global Parameter: encrypt_dataApplies to:SMB
Value Type: boolean Value Format:
Default Value: as set in the global configuration. | ||||||||||||||
--access-based-enumeration <value> | Corresponds with the share access_based_enumeration parameter. Controls whether the share should hide shares during enumeration based on access permission.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
-P <value>or --permissions <value> | Corresponds with the share permissions parameter. Sets the permissions for the share.Applies to:SMBNFS
Value Type: string Value Format:
important If an Moreover, Fusion SMB will continue attempting to resolve the To ignore unresolved Default Value: Examples:
| ||||||||||||||
--security-descriptor <value> | Corresponds with the share security_descriptor parameter. Sets the security descriptor for the share.Applies to:SMBNFS
Value Type: string Value Format: SDDL string Default Value: none Examples:
| ||||||||||||||
-r <value>or --remark <value> | Corresponds with the share remark parameter. Sets a human-readable comment on the share.Applies to:SMBNFS
Value Type: string Default Value: none Examples:
| ||||||||||||||
-a <value>or --files-allow <value> | Corresponds with the share files_allow parameter. Sets the pattern of allowed files for veto files.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
-d <value>or --files-deny <value> | Corresponds with the share files_deny parameter. Sets the pattern of denied files for veto files.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
--compression-deny <value> | Corresponds with the share compression_deny parameter. Controls which files should not be compressed with SMB compression enabled.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
--compress-data <value> | Corresponds with the share compress_data parameter. Controls whether SMB compression support is advertised for the share.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--hosts-allow <value> | Corresponds with the share hosts_allow parameter. Sets the allowed hosts for host-based access control.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
--hosts-deny <value> | Corresponds with the share hosts_deny parameter. Sets the denied hosts for host-based access control.Applies to:SMB
Value Type: string Value Format:
Examples:
| ||||||||||||||
--vfs-params <value> | Corresponds with the share vfs parameter. Sets the VFS parameters for the share.Applies to:SMBNFS
Value Type: string Value Format:
Default Value: none ( Examples:
CephFS module optionsThe CephFS module takes these options after the
note
note The | ||||||||||||||
--hidden <value> | Corresponds with the share hidden parameter. Controls whether the share is a hidden share.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--case-insensitive <value> | Corresponds with the share case_insensitive parameter. Controls whether the share should be case-insensitive.Overrides Global Parameter: case_insensitiveApplies to:SMB
Value Type: boolean Value Format:
Default Value: as set in the global configuration. | ||||||||||||||
--create-mask <value> | Corresponds with the share create_mask parameter. Sets the maximum allowed POSIX permissions for a file.Applies to:SMBNFS
Value Type: Value format: Default value: Examples:
| ||||||||||||||
--force-create-mode <value> | Corresponds with the share force_create_mode parameter. Sets the minimum required POSIX permissions for a file.Applies to:SMBNFS
Value Type: Value format: Default value: Examples:
| ||||||||||||||
--directory-mask <value> | Corresponds with the share directory_mask parameter. Sets the maximum allowed POSIX permissions for a directory.Applies to:SMBNFS
Value Type: Value format: Default value: Examples:
| ||||||||||||||
--force-directory-mode <value> | Corresponds with the share force_directory_mode parameter. Sets the minimum required POSIX permissions for a directory.Applies to:SMBNFS
Value Type: Value format: Default value: Examples:
| ||||||||||||||
--enable-oplock <value> | Deprecated. Use --oplock instead. Corresponds with the share enable_oplock parameter. Controls whether the share should enable oplocks.warning This parameter is deprecated. Use Overrides Global Parameter: enable_oplockApplies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--named-streams <value> | Corresponds with the share named_streams parameter. Controls whether the share should enable named streams.Applies to:SMB
Value Type: boolean Value Format:
Default Value: | ||||||||||||||
--recycle-bin <value> | Corresponds with the share recycle_bin parameter. Controls whether the recycle bin is enabled. | ||||||||||||||
--recycle-bin-params path=<value> | Corresponds with the share recycle_bin_params parameter. Controls where the recycle bin path is stored. | ||||||||||||||
-hor --help | Display a help message. |
tsmb-cfg share list
This subcommand is used to list the active shares in a running Fusion SMB instance.
Usage: tsmb-cfg share list [<parameter>,...]
Optional parameters:
| Parameter | Description |
|---|---|
-l <value>or --info-level <value> | Specifies the output's level of detail, where <value> is one of: • 1: (Default) List only the netname, and for scoped shares, the server.• 2: List shares with options set in configuration file, including the share_id when one is configured. |
-f <value>or --format <value> | Specifies the output's format, where <value> is one of: • raw: (Default) Output in a raw, human-readable format.• json: Output in JSON format. |
-n <value>or --name <value> | Filters the output to only include shares with the specified netname. |
--server <value> | Filters the output to only include shares scoped to the specified server. |
-hor --help | Display a help message. |
tsmb-cfg share help
This subcommand is used to display the help message for the other tsmb-cfg share subcommands.
Usage: tsmb-cfg share help
tsmb-cfg connection
The subcommands under tsmb-cfg connection are used to manage the connections of Fusion SMB instance.
tsmb-cfg connection disconnect
This subcommand is used to terminate active connections from a running Fusion SMB instance.
Usage: tsmb-cfg connection disconnect [<clients>]
| Argument | Description |
|---|---|
<clients> | Comma separated list of client IP:port pairs to disconnect from a Fusion SMB instance. List Format: <IPv4:port,[IPv6]:port,...> |
tsmb-cfg help
This command is used to display the help message for the tsmb-cfg utility.