remove unix charset = UTF-8 if present in smb.conf to fix smb4k [release 4.1.16-2mamba;Fri Jan 30 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 17:37:14 +01:00
parent 83a9fc2a0c
commit 2569cb48bb

View File

@ -7,7 +7,7 @@
Name: samba Name: samba
Version: 4.1.16 Version: 4.1.16
Release: 1mamba Release: 2mamba
Summary: Samba provides seamless file and print services to SMB/CIFS clients Summary: Samba provides seamless file and print services to SMB/CIFS clients
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -410,7 +410,9 @@ if [ $1 -ge 1 ]; then
} }
fi fi
if [ $1 -gt 1 ]; then if [ $1 -gt 1 ]; then
sed -i "s|unix charset = LOCALE|unix charset = UTF-8|" %{_sysconfdir}/samba/smb.conf # remove UTF-8 unix charset definition (leave default) to fix smb4k
sed -i "/unix charset = LOCALE/d" %{_sysconfdir}/samba/smb.conf
sed -i "/unix charset = UTF-8/d" %{_sysconfdir}/samba/smb.conf
fi fi
exit 0 exit 0
@ -928,6 +930,9 @@ fi
%{_mandir}/man8/winbindd.* %{_mandir}/man8/winbindd.*
%changelog %changelog
* Fri Jan 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.16-2mamba
- remove unix charset = UTF-8 if present in smb.conf to fix smb4k
* Fri Jan 16 2015 Automatic Build System <autodist@mambasoft.it> 4.1.16-1mamba * Fri Jan 16 2015 Automatic Build System <autodist@mambasoft.it> 4.1.16-1mamba
- automatic version update by autodist - automatic version update by autodist