Files
runtipi/apps/nas-samba/source/smb.conf
alexz b1697d6e1e nas-samba v2.0.0: per-user home directories, Samba accounts, remove quotas
- Each user gets a Linux + Samba account and home dir at /nas/home/<username>/
- Web UI file browsing scoped to per-user directories
- Creating/deleting users from web UI also manages system + Samba accounts
- Replaced hardcoded [data] SMB share with [homes] (per-user automatic shares)
- Removed hardcoded alexz user from entrypoint — server.js handles all user management
- Removed storage quotas from backend and frontend
- Existing users get home directories auto-created on startup (migration)
2026-04-26 05:51:23 +00:00

20 lines
424 B
Plaintext

[global]
workgroup = WORKGROUP
server string = NAS Samba
server role = standalone server
log file = /var/log/samba/log.%m
max log size = 50
logging = file
map to guest = bad user
server min protocol = SMB2
server max protocol = SMB3
[homes]
comment = Home Directory
browseable = no
read only = no
valid users = %S
path = /nas/home/%S
create mask = 0664
directory mask = 0775