/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-maxProtocol.patch
ViewVC logotype

Contents of /rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-maxProtocol.patch

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


Revision 1.1 - (show annotations) (download)
Sat Jun 29 19:09:07 2013 UTC (11 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-59_el5_sme, e-smith-samba-2_2_0-62_el5_sme, e-smith-samba-2_2_0-61_el5_sme, e-smith-samba-2_2_0-56_el5_sme, e-smith-samba-2_2_0-63_el5_sme, e-smith-samba-2_2_0-57_el5_sme, e-smith-samba-2_2_0-58_el5_sme, e-smith-samba-2_2_0-55_el5_sme, e-smith-samba-2_2_0-66_el5_sme, e-smith-samba-2_2_0-65_el5_sme, e-smith-samba-2_2_0-60_el5_sme, e-smith-samba-2_2_0-64_el5_sme, HEAD
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 2.2.0-55.sme
- Add templates for max protocol [SME: 7341]

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