Comment 17 for bug 2003867

Revision history for this message
Jakob Mortensen (ubjmortensen) wrote :

Just to add some more: We have made a test-setup where we update everything else except samba, checks that everything works and then update samba from 2:4.15.13+dfsg-0ubuntu0.20.04.1 to version 2:4.15.13+dfsg-0ubuntu0.20.04.2 and everything breaks down.
The we increased the log level.
In the test-setup there is a windows-server called RD2019. So we have a conf file called rd2019.conf under /etc/samba. In smb.conf we have an include statement saying: include = /etc/samba/%m.conf.
Now in log.smbd it says that it can't find /etc/samba/"ip-address of RD2019".conf. So it has stopped looking for the file name rd2019.conf after the update. So somehow it doesn't understand the %m parameter in the include statement after the update. Network, dns etc. is all the same before and after the update, so only samba has changed. If we rename the conf file to RD2019.conf the error stays. If we rename the conf file to "ip-address of RD2019".conf network-shares are mapped correctly and everything works! Is there another parameter than %m that we should use or is this a bug?
Any help would be very, very much appreciated.