{"id":49393406,"url":"https://github.com/florianibach/samba-admin-ui","last_synced_at":"2026-04-28T14:35:59.144Z","repository":{"id":330191417,"uuid":"1120804017","full_name":"florianibach/samba-admin-ui","owner":"florianibach","description":"A simple web UI/GUI to manage Samba users and shares for homelab environments.","archived":false,"fork":false,"pushed_at":"2026-02-13T10:15:26.000Z","size":115,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-13T19:14:57.217Z","etag":null,"topics":["docker","gui","homelab","raspberry-pi","samba","samba-share","self-hosted","selfhost","ui"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/florianibach.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"roadmap/info.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-22T01:04:20.000Z","updated_at":"2026-02-12T12:22:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/florianibach/samba-admin-ui","commit_stats":null,"previous_names":["florianibach/samba-admin-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/florianibach/samba-admin-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianibach%2Fsamba-admin-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianibach%2Fsamba-admin-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianibach%2Fsamba-admin-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianibach%2Fsamba-admin-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florianibach","download_url":"https://codeload.github.com/florianibach/samba-admin-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florianibach%2Fsamba-admin-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32385414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","gui","homelab","raspberry-pi","samba","samba-share","self-hosted","selfhost","ui"],"created_at":"2026-04-28T14:35:57.294Z","updated_at":"2026-04-28T14:35:59.122Z","avatar_url":"https://github.com/florianibach.png","language":"Go","funding_links":["https://buymeacoffee.com/floibach"],"categories":[],"sub_categories":[],"readme":"# samba-admin-ui\n\n[![GitHub Repo](https://img.shields.io/badge/GitHub-Repository-blue?logo=github)](https://github.com/florianibach/samba-admin-ui)\n\n[![DockerHub Repo](https://img.shields.io/badge/Docker_Hub-Repository-blue?logo=docker)](https://hub.docker.com/r/floibach/samba-admin-ui)\n\n\nA simple web UI to manage Samba users and shares for homelab environments.\n\nThis project is intentionally minimal and opinionated: it focuses on the most common Samba tasks without trying to replace full system configuration or enterprise tooling.\n\n---\nThis project is built and maintained in my free time.  \nIf it helps you or saves you some time, you can support my work on [![BuyMeACoffee](https://raw.githubusercontent.com/pachadotdev/buymeacoffee-badges/main/bmc-black.svg)](https://buymeacoffee.com/floibach)\n\nThank you for your support!\n\n\n## Features\n\n### Samba\n- List Samba users\n- Create Samba users (with password confirmation)\n- Enable / disable Samba users\n- Delete Samba users\n- Create, enable, disable and delete Samba shares\n- UI-managed shares are kept separate from manually managed shares\n\n### Linux (read-only in UI)\n- List Linux users (UID ≥ 1000)\n- Show UID and group IDs\n- Indicate whether a Samba user exists as a Linux user\n\n### Architecture\n- Runs fully containerized\n- Uses SQLite for internal state\n- Linux users are created automatically on container start if missing\n- Samba configuration (`smb.conf`) is mounted read-only\n- No direct editing of system files through the UI\n- Runs on Raspberry Pi\n\n---\n\n## Non-Goals\n\nThis project deliberately does **not** aim to:\n- Replace full Samba configuration management\n- Edit advanced Samba options\n- Manage Linux groups or ACLs via UI (planned post-MVP)\n- Be an enterprise-ready or multi-tenant solution\n\nThis is a **homelab-focused tool**.\n\n---\n\n## Docker Usage\n\n### Minimal `docker-compose.yml`\n\n```yaml\nservices:\n  samba-admin-ui:\n    image: ghcr.io/florianibach/samba-admin-ui:latest\n    container_name: samba-admin-ui\n    ports:\n      - \"8080:8080\"\n    volumes:\n      # (optional) Samba config (read-only)\n      - ./samba-admin-ui/samba/smb.conf:/etc/samba/smb.conf:ro      \n\n      # UI-managed share definitions\n      - ./samba-admin-ui/samba:/etc/samba\n\n      # Samba internal databases (users, passwords, state)\n      - ./samba-admin-ui/samba-lib:/var/lib/samba\n\n      # Internal app database (SQLite)\n      - ./samba-admin-ui/data:/data\n\n      # Actual share paths on the host\n      - /srv/disk0:/shares\n````\n\nThen open:\n\n```\nhttp://localhost:8080\n```\n\n---\n\n## Important Notes\n\n* The container runs as **root** to manage Samba and Linux users.\n* Linux users are created without passwords and with `nologin`.\n* Only users with UID ≥ 1000 are shown in the Linux users overview.\n* This tool assumes you know what you are doing — it is designed for trusted environments.\n\n---\n\n## Data Persistence\n\nYou should persist at least:\n\n* `/var/lib/samba` – Samba users and passwords\n* `/data/` – internal application state\n* `/etc/samba/shares.d` – UI-managed shares\n\nIf you want to mount an existing samba configuration, mount (you can mount this as read-only):\n* `/etc/samba/smb.conf` - must contain `include = /etc/samba/shares.d/ui/shares.conf` at the end of the global section\n\n\n---\n\n## Project Status\n\n**MVP – stable and usable**\n\nPlanned post-MVP features:\n\n* Linux user management\n* Improved responsive UI\n\n---\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianibach%2Fsamba-admin-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorianibach%2Fsamba-admin-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorianibach%2Fsamba-admin-ui/lists"}