11 Commits

Author SHA1 Message Date
03a9b49bf0 nas-samba: chmod /nas /nas/home to 0755 for Samba traversal 2026-04-26 06:05:51 +00:00
bdd2e4e2a5 nas-samba: fix home dir ownership and permissions for Samba access 2026-04-26 06:03:10 +00:00
580eec66cd nas-samba: ensure /var/lib/samba/private/ exists in entrypoint 2026-04-26 05:57:33 +00:00
6599fc5a21 nas-samba v2.0.0: persist Samba TDB, fix startup user migration 2026-04-26 05:54:55 +00:00
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
888acdbd7e nas-samba v1.0.2: add tmpfile ephemeral upload/download endpoints 2026-04-26 05:22:17 +00:00
3c67eb75c3 nas-samba v1.0.1: health check, hostname, remove demo credentials
- Add health check (curl /api/health) so Traefik can verify container health
- Set container hostname to nas.alexzaw.dev
- Remove hardcoded demo credentials from login page
- Remove admin123 fallback password — require SMB_PASSWORD env var
- Fail fast if no admin password is configured
2026-04-26 05:13:01 +00:00
5bffff1d9b nas-samba: configurable admin user (uses SMB_PASSWORD) 2026-03-16 23:34:28 +00:00
61b1dea366 nas-samba: clean up duplicate files, single server.js in app/ 2026-03-16 23:31:40 +00:00
c94cbd7f36 nas-samba: use SMB_PASSWORD for admin login, configurable username 2026-03-16 23:29:10 +00:00
618e023996 nas-samba: rebuilt as single Ubuntu image with Samba + CloudNAS (no MongoDB) 2026-03-16 23:22:42 +00:00