-
Notifications
You must be signed in to change notification settings - Fork 14
Description
If one changes the options on the left side of the uI, and save those options, it does not change the settings in smb.conf. It does, however, seem to insert most of the settings in the smb.conf file. However, if you change these settings to no, and then return to the same page, those settings are all reverted to yes.

In addition, the option "winbind trusted domains only" was depreciated in Samba 4.8 (it was replaced with "winbind scan trusted domains"). This causes the smb.conf file to give an error that it is ignoring the command.
Steps to Reproduce
- Install & Configure Domain Controller package.
- Navigate to "Server" > "Samba Windows File Sharing" in the Webmin UI.
- Select the "Winbind Options" menu.
- Change any setting on the left side of the settings page provided to no.
- Select save.
- From terminal, run 'samba-tool testparm' to see the error introduced to the smb.conf file.
- Return t o the Webmin UI, and select "Winbind Options" again
- All options will be reverted to "yes".
Source of change to winbind trusted domains only Option in Samba
Samba 4.8 Features Added
Current winbind options and Valid options in Samba 4.17
These are the available winbind options (source: samba.org 4.17 smb.conf man page). Note that any option marked with a * = default):
- neutralize nt4 emulation = <boolean yes/no*>
- reject md5 clients = <boolean yes/no*>
- reject md5 servers = <boolean yes/no*>
- require strong key = <boolean yes/no*>
- winbindd socket directory = <string, '${prefix}/var/run/winbindd'*>
- winbind:ignore domains = {list of domains}
- winbind cache time = <int, 300*>
- winbind expand groups = <int, 0*>
- winbind enum groups = <boolean yes/no*>
- winbind max clients = <int, 200*>
- winbind normalize names = <boolean yes/no*>
- winbind offline logon = <boolean yes/no*>
- winbind nested groups = <boolean yes*/no>
- winbind nss info = <sfu20 | rfc2307>
- winbind separator = <single character, '' default> ---Note that '+' not recommended.
- winbind sealed pipes = <boolean yes*/no>
- winbind scan trusted domains = <boolean yes/no*>
- winbind rpc only = <boolean yes/no*>
- winbind request timeout = <int, 60*> seconds
- winbind reconnect delay = <int, 30*> seconds
Winbind / Kerberos direct settings (when winbind controls Kerberos)
- kerberos encryption types = { all | strong | legacy }
- include system krb5 conf = <boolean yes*/no>
- winbind refresh tickets = <boolean yes/no*>
- winbind use krb5 enterprise principals = <boolean yes*/no>