Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| docs:guide-user:services:nas:ksmbd [2024/07/02 14:01] – [Example] streamline sample config and mention buffers palebloodsky | docs:guide-user:services:nas:ksmbd [2024/12/11 13:48] – [Example] sppmaster | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| < | < | ||
| chown -R nobody: | chown -R nobody: | ||
| + | </ | ||
| + | |||
| + | To access a shared storage over the LAN using a **username** and **password** you have to use '' | ||
| + | |||
| + | < | ||
| + | root@OpenWrt: | ||
| + | Usage: ksmbd.adduser [-v] [-P PWDDB] [-c CONF] [-a | -u | -d] [-p PWD] USER | ||
| + | |||
| + | If neither `-a', `-u', nor `-d' is given, either add or update USER. | ||
| + | USER must be UTF-8 and [1, 48) bytes. | ||
| + | USER cannot contain colon (`:'). | ||
| + | |||
| + | -a, --add add USER to user database | ||
| + | -u, --update | ||
| + | -d, --delete | ||
| + | -p, --password=PWD | ||
| + | PWD must be UTF-8 and [0, 129) bytes | ||
| + | -P, --pwddb=PWDDB | ||
| + | `/ | ||
| + | -C, --config=CONF | ||
| + | `/ | ||
| + | -v, --verbose | ||
| + | -V, --version | ||
| + | -h, --help | ||
| + | |||
| + | See ksmbd.adduser(8) for more details. | ||
| </ | </ | ||
| Line 42: | Line 68: | ||
| </ | </ | ||
| - | On devices with sufficient RAM (typically >256MB) performance can be improved, increase or comment out the preset buffer limits in LuCI -> Services -> Network Shares -> Edit Template. Save and apply: | + | On devices with sufficient RAM (typically >256MB) performance can be improved, increase or comment out the preset buffer limits in LuCI -> Services -> Network Shares -> Edit Template. Save and apply: |
| + | As of this commit https:// | ||
| + | For versions below 24.10 you have to manually edit the template and adjust the values accordingly. | ||
| < | < | ||
| #smb2 max read = 512K | #smb2 max read = 512K | ||
| Line 48: | Line 76: | ||
| #smb2 max trans = 512K | #smb2 max trans = 512K | ||
| </ | </ | ||
| + | |||
| ===== Global section ===== | ===== Global section ===== | ||
| The '' | The '' | ||