| Argument | Type | Description |
|---|
| name ( mandatory ) | string | Name of the SMB share that clients connect to. |
| directory | file | Directory on the router that the share points to. When it is not set, the value of name from the root directory is used. The directory is created automatically if it does not exist. |
| read-only | bool | Whether clients can only read the share. Access can also be restricted per user with read-only in users. Default: no. |
| require-encryption | bool | Whether only encrypted connections can access the share; recommended for macOS clients. Default: no. |
| valid-users | multi { array-id, user: enum
} | List of SMB users allowed to access the share. When the list is empty, all users can access it. |
| invalid-users | multi { array-id, user: enum
} | List of SMB users explicitly denied access to the share. |