[samba] Add commented out 'max protocol' to the default config.

asn asn at fedoraproject.org
Thu Feb 23 18:00:30 UTC 2012


commit 3f6179ff99032d3d5c96066ec98049d58b1b1b5e
Author: Andreas Schneider <asn at redhat.com>
Date:   Thu Feb 23 18:46:14 2012 +0100

    Add commented out 'max protocol' to the default config.

 samba.spec       |    5 ++++-
 smb.conf.default |    7 ++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/samba.spec b/samba.spec
index 188babe..6a5cd05 100644
--- a/samba.spec
+++ b/samba.spec
@@ -1,4 +1,4 @@
-%define main_release 79
+%define main_release 80
 %define samba_version 3.6.3
 %define tdb_version 1.2.9
 %define talloc_version 2.0.5
@@ -688,6 +688,9 @@ fi
 %{_datadir}/pixmaps/samba/logo-small.png
 
 %changelog
+* Thu Feb 23 2012 Andreas Schneider <asn at redhat.com> - 1:3.6.3-80
+- Add commented out 'max protocol' to the default config.
+
 * Mon Feb 13 2012 Andreas Schneider <asn at redhat.com> - 1:3.6.3-79
 - Create a libwbclient package.
 - Replace winbind-devel with libwbclient-devel package.
diff --git a/smb.conf.default b/smb.conf.default
index 5c2d217..fe0d921 100644
--- a/smb.conf.default
+++ b/smb.conf.default
@@ -79,10 +79,13 @@
 #
 # hosts allow = the hosts allowed to connect. This option can also be used on a
 # per-share basis.
-
+#
 # hosts deny = the hosts not allowed to connect. This option can also be used on
 # a per-share basis.
 #
+# max protocol = used to define the supported protocol. The default is NT1. You
+# can set it to SMB2 if you want experimental SMB2 support.
+#
 	workgroup = MYGROUP
 	server string = Samba Server Version %v
 
@@ -91,6 +94,8 @@
 ;	interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
 ;	hosts allow = 127. 192.168.12. 192.168.13.
 
+;	max protocol = SMB2
+
 # --------------------------- Logging Options -----------------------------
 #
 # log file = specify where log files are written to and how they are split.


More information about the scm-commits mailing list