/[smeserver]/rpms/e-smith-samba/sme9/e-smith-samba-2.4.0.bz10575.FixMaxProtocol.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme9/e-smith-samba-2.4.0.bz10575.FixMaxProtocol.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed May 2 17:13:27 2018 UTC (6 years, 6 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-samba-2_4_0-27_el6_sme, e-smith-samba-2_4_0-26_el6_sme, HEAD
* Wed May 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-26.sme
- fix wrong syntax for max protocol for current samba version [SME: 10575]
- removed client max protocol option as not available for current samba version
- added min protocol option

1 jpp 1.1 diff -Nur e-smith-samba-2.4.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol
2     --- e-smith-samba-2.4.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 2018-05-02 12:52:52.784000000 -0400
3     +++ e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 2018-05-02 13:05:05.368000000 -0400
4     @@ -1,12 +1,12 @@
5     {
6     # Normally this should not be set as the automatic negotiation phase in the SMB protocol takes care of choosing the appropiate protocol.
7     $OUT = "";
8     - if ($smb{ClientMaxProtocol})
9     + if ($smb{ServerMinProtocol})
10     {
11     - $OUT .= "client max protocol = $smb{ClientMaxProtocol}\n";
12     + $OUT .= "min protocol = $smb{ServerMinProtocol}\n";
13     }
14     if ($smb{ServerMaxProtocol})
15     {
16     - $OUT .= "server max protocol = $smb{ServerMaxProtocol}";
17     + $OUT .= "max protocol = $smb{ServerMaxProtocol}";
18     }
19     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed