Workgroup not settable
The dashboard capability to change the Samba Workgroup is missing. It was previously located under Shares, Settings.
#6 Updated by cpg almost 7 years ago
the issue here is that the existing code does not account for systems without this value in them. this would fix it:
- @workgroup = Setting.find_by_name('workgroup') + @workgroup = Setting.find_or_create_by(Setting::GENERAL, 'workgroup', 'WORKGROUP')
however, validation needs to be done with the data. i am investigating what the validation requirements should be.
Also available in: Atom