Backend:
- Use 'net conf setparm' to update individual parameters
- Accept dictionary of key-value pairs in API
Frontend:
- Add Edit/Cancel/Save buttons to Samba Config tab
- Inline editing of configuration values
- Save changes back to registry
Changes are applied immediately via net conf setparm.
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>