|
| 1 | +# SAMBA‑Util |
| 2 | +A modern, cross‑platform graphical tool for managing Samba shares, users, and configuration files. |
| 3 | + |
| 4 | +SAMBA‑Util provides a clean and intuitive interface built with Avalonia UI, allowing administrators to configure Samba without manually editing `smb.conf` or running complex terminal commands. |
| 5 | +It is designed for Linux environments and focuses on simplicity, safety, and transparency. |
| 6 | + |
| 7 | +--- |
| 8 | + |
| 9 | +## ✨ Features |
| 10 | + |
| 11 | +### 🔧 Share Management |
| 12 | +- Create, edit, and delete Samba shares |
| 13 | +- Configure paths, permissions, masks, and visibility |
| 14 | +- Automatic validation of share names and paths |
| 15 | +- Real‑time reload of Samba configuration |
| 16 | + |
| 17 | +### 👤 User Management |
| 18 | +- Add and remove Samba users |
| 19 | +- Synchronize system users with Samba |
| 20 | +- Secure password handling |
| 21 | +- Detection of invalid or expired credentials |
| 22 | + |
| 23 | +### 🛠 System Integration |
| 24 | +- Reads and writes `/etc/samba/smb.conf` safely |
| 25 | +- Performs privileged operations using `sudo` |
| 26 | +- Detects incorrect admin passwords without breaking system authentication |
| 27 | +- Displays Samba service status and logs |
| 28 | + |
| 29 | +### 🎨 Modern UI |
| 30 | +- Cross‑platform Avalonia interface |
| 31 | +- GitHub‑style theme |
| 32 | +- Responsive layout |
| 33 | +- SVG/PNG icon support |
| 34 | +- Clean, minimal design |
| 35 | + |
| 36 | +--- |
| 37 | + |
| 38 | +## 📦 Requirements |
| 39 | + |
| 40 | +- Linux distribution with Samba installed |
| 41 | +- .NET 9.0 runtime (or self‑contained build) |
| 42 | +- `sudo` privileges for administrative actions |
| 43 | +- Access to `/etc/samba/smb.conf` |
| 44 | + |
| 45 | +--- |
| 46 | + |
| 47 | +## 🚀 Running SAMBA‑Util |
| 48 | + |
| 49 | +### From source: |
| 50 | +```bash |
| 51 | +git clone https://github.com/youruser/SAMBA-Util.git |
| 52 | +cd SAMBA-Util |
| 53 | +dotnet run |
0 commit comments