Script initializes Samba to use registry-based configuration:
- Creates minimal smb.conf with 'include = registry'
- Imports ZMB-optimized global settings into registry
- Configures shadow copy, ZFS integration, macOS support
- Restarts Samba services
Run on new systems with: sudo bash deploy/setup-samba-registry.sh
Co-Authored-By: Patrick <patrick@perlbach24.de>
Use 'net conf list' to read global config parameters from Samba registry.
This is more reliable than parsing smb.conf, especially when using
'include = registry' in smb.conf.
Co-Authored-By: Patrick <patrick@perlbach24.de>
Backend:
- Parse global config into structured key-value pairs
- Return parameters array instead of raw text
- Better handling of comments and empty lines
Frontend:
- Add 'Samba Config' tab to shares page
- Display config parameters in readable table format
- Color-code parameter names for clarity
- Add getSambaConfig() method to API client
Co-Authored-By: Patrick <patrick@perlbach24.de>