ipa-client-samba overwrites the smb.conf. To keep the settings persistent in OMV, the following steps must be carried out:
Copy the complete content of smb.conf (without the homes part and workgroup) and paste it in the WebUI under Services -> SMB/CIFS -> Settings at the bottom under Extra options BEFORE saving any other changes.
Check the "Enable NetBIOS" box.
Set Workgroup to the short domain name (YOUR).
Another option for saving settings that wont be over written.
Beitrag
RE: How to bind WEBUI to specific network interface
I am not sure witch config file you want to modify so this might not apply. I will use smb.conf for this example.
Create a directorymkdir /etc/samba/smb.conf.d
Create a new config file with the settings you want. nano /etc/samba/smb.conf.d/new.conf
In samba "extra options" add include = /etc/samba/smb.conf.d/new.conf
Now OMV wont change your settings in new.conf.
I think this would work for any setting that has extra options but not sure. I know it works for samba. So the only thing needed would be…
Create a directorymkdir /etc/samba/smb.conf.d
Create a new config file with the settings you want. nano /etc/samba/smb.conf.d/new.conf
In samba "extra options" add include = /etc/samba/smb.conf.d/new.conf
Now OMV wont change your settings in new.conf.
I think this would work for any setting that has extra options but not sure. I know it works for samba. So the only thing needed would be…