Manual:IP/SMB

From MikroTik Wiki
Jump to navigation Jump to search

Summary

Sub-menu: /ip smb


SMB server provides windows sharing access to configured folders of the router.

Server settings

Property Description
enabled (yes | no; Default: no) If SMB service is enabled
domain (string; Default: MSHOME)
allow-guests (yes | no; Default: yes) If SMB guest user is allowed to access created shares
interface (string; Default: all) list of interfaces that SMB service is available on.

Share settings

Sub-menu: /ip smb share


To set up SMB share users have to specify what folders can be accessed by the router. If folder does not exist it will be created automatically for use by created share.


Property Description
disabled (yes | no; Default: no) If SMB share is accessible to any configured SBM user
max-sessions (number; Default: 10) How many SMB simultaneous connections are allowed to shared folder
name (string; Default: ) Name of the SMB share
directory (string; Default: ) What folder should be assigned to the SMB share. If left empty value of name argument will be used from the root folder.

User setup

Sub-menu: /ip smb share


Set up users that can access SMB shares of the router.


Property Description
disabled (yes | no; Default: no) If SMB service is enabled
name (string; Default: ) login name of the SMB service user
read-only (yes | no; Default: yes) Sets if user has only read-only rights when accessing shares or full access. Read-only shares will be accessible only as read only for all users.

Example