TOS 5 upgrade changes router hostname (Samba 4 troubles)

Yes, but with problems

image

Here it is my smb.conf

[global]
	netbios name = turris 
	display charset = UTF-8
	interfaces = br-lan 
	server string = Turris
	unix charset = UTF-8
	workgroup = CASA
	bind interfaces only = yes
	deadtime = 30
	enable core files = no
#	invalid users = root
	local master = no
	map to guest = Bad User
    min protocol = SMB1
    max protocol = SMB2
    client min protocol = SMB1
    client max protocol = SMB2
    server signing = auto
    client signing = auto
    smb encrypt = auto
	min receivefile size = 16384
	null passwords = yes
	passdb backend = smbpasswd
	security = user
	smb passwd file = /etc/samba/smbpasswd
	use sendfile = yes

######### Dynamic written config options #########

[transmission]
	path = /mnt/sda6
	create mask = 0777
	directory mask = 0777
	read only = no
	guest ok = yes

[windows]
	path = /mnt/sda2
	create mask = 0777
	directory mask = 0777
	read only = no
	guest ok = yes

Also, I tried using the conf from @Maxmilian_Picmaus but without any success