Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

RouterOS only supports SMB v1SMB2.1 SMB3.0 and v2.002, SMB3.1.1 dialects (SMB1 is not supported due to security vulnerabilities)

Server settings

PropertyDescription
allow-guests (yes | no; Default: yes)Whether the SMB guest user is allowed to access created shares
comment (string; Default: MikrotikSMB)Set comment for the server
domain (string; Default: MSHOME)Name of windows workgroup
enabled (yes | no ; Default: no)| auto Default: auto)The default value is 'auto.' This means that the SMB server will automatically be enabled when the first non-disabled SMB share is configured under '/ip smb share'Enable/disable SMB service
interface (string; Default: all)List of interfaces on which SMB service will be running. all - SMB will be available on all interfaces.
Note

Starting from version 7.14, the 'allow-guest' option has been replaced by a default guest user located in 'ip/smb/users'. This default guest user can now be disabled or enabled in this section.

Share settings

Sub-menu: /ip smb share

...

PropertyDescription
comment (string; Default: default share)Set a comment for the share
disabled (yes | no; Default: no)If disabled, the share will not be accessible.
max

valid-

sessions

users (

number

list of strings; | Default:

10

)

How many SMB simultaneous connections Specifies which users are allowed to a shared folderaccess a particular Samba share.

invalid-users (list of strings; | Default: )

Is used to specify users who are explicitly denied access to a Samba share.

require-encription (yes | no; Default: no)

Enforces the use of encryption for all connections to a particular Samba share
name (string; Default: )Name of the SMB share
directory (string; Default: )Directory on router assigned to SMB share. If left empty value of name argument will be used from the root folder.

...