- 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)
20 lines
424 B
Plaintext
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
|