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

Contents of /rpms/e-smith-samba/sme9/e-smith-samba-2.4.0-maxProtocol.patch

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


Revision 1.1 - (show annotations) (download)
Sat Jul 6 00:20:17 2013 UTC (11 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-samba-2_4_0-17_el6_sme, e-smith-samba-2_4_0-24_el6_sme, e-smith-samba-2_4_0-14_el6_sme, e-smith-samba-2_4_0-15_el6_sme, e-smith-samba-2_4_0-20_el6_sme, e-smith-samba-2_4_0-13_el6_sme, e-smith-samba-2_4_0-11_el6_sme, e-smith-samba-2_4_0-16_el6_sme, e-smith-samba-2_4_0-22_el6_sme, e-smith-samba-2_4_0-21_el6_sme, e-smith-samba-2_4_0-12_el6_sme, e-smith-samba-2_4_0-18_el6_sme, e-smith-samba-2_4_0-27_el6_sme, e-smith-samba-2_4_0-19_el6_sme, e-smith-samba-2_4_0-26_el6_sme, e-smith-samba-2_4_0-23_el6_sme, e-smith-samba-2_4_0-25_el6_sme, HEAD
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-11.sme
- Add templates for max protocol [SME: 7753]

1 diff -ruN e-smith-samba-2.2.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol e-smith-samba-2.2.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol
2 --- e-smith-samba-2.2.0.old/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 1969-12-31 16:00:00.000000000 -0800
3 +++ e-smith-samba-2.2.0/root/etc/e-smith/templates/etc/smb.conf/11maxProtocol 2013-06-29 11:45:09.000000000 -0700
4 @@ -0,0 +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 + {
10 + $OUT .= "client max protocol = $smb{ClientMaxProtocol}\n";
11 + }
12 + if ($smb{ServerMaxProtocol})
13 + {
14 + $OUT .= "server max protocol = $smb{ServerMaxProtocol}";
15 + }
16 +}

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