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:
parent
83a9fc2a0c
commit
2569cb48bb
@ -7,7 +7,7 @@
|
||||
|
||||
Name: samba
|
||||
Version: 4.1.16
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Samba provides seamless file and print services to SMB/CIFS clients
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
@ -410,7 +410,9 @@ if [ $1 -ge 1 ]; then
|
||||
}
|
||||
fi
|
||||
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
|
||||
exit 0
|
||||
|
||||
@ -928,6 +930,9 @@ fi
|
||||
%{_mandir}/man8/winbindd.*
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user