Bug 1040055 - rhs-samba.conf does not have "max protocol = SMB2" on fresh RHS2.1U1 installations
Summary: rhs-samba.conf does not have "max protocol = SMB2" on fresh RHS2.1U1 installa...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: samba
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: ---
: RHGS 2.1.2
Assignee: Raghavendra Talur
QA Contact: Lalatendu Mohanty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-10 15:58 UTC by Lalatendu Mohanty
Modified: 2015-05-13 16:30 UTC (History)
4 users (show)

Fixed In Version: samba-3.6.9-167.9
Doc Type: Bug Fix
Doc Text:
Previously, for fresh installations of Red Hat Storage 2.1 Update 1, the rhs-samba.conf and smb.conf configuration files did not have the "max protocol = SMB2" configuration line. This forced all the SMB clients to use the SMB1 version. With this update, Samba server will include SMB version 2 in the supported dialect list.
Clone Of:
Environment:
Last Closed: 2014-02-25 08:08:09 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC

Description Lalatendu Mohanty 2013-12-10 15:58:00 UTC
Description of problem:

rhs-samba.conf does not have "max protocol = SMB2" on fresh RHS2.1U1 installations. So the Samba version by-default talks in smb 1 i.e. if the client have both smb 2 and smb 1 capabilities, rhs samba server will communicate in smb 1 with the client.

This issue will only come for fresh installations of rhs2.1 U1. Upgraded systems from rhs2.1 to rhs2.1u1 will not have this issue.

We had "max protocol = SMB2" in smb.conf of rhs2.1 but somehow we missed it for rhs2.1U1

Version-Release number of selected component (if applicable):

samba-3.6.9-160.7.el6rhs.x86_6

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Vivek Agarwal 2013-12-17 06:57:15 UTC
Samba conf file change, was done in the last build.

Comment 3 Lalatendu Mohanty 2013-12-24 10:48:52 UTC
Checked with fresh install of samba-common-3.6.9-167.8.el6rhs.x86_64 and did not find "max protocol = SMB2" in either smb.conf or rhs-samba.conf

testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
	workgroup = MYGROUP
	server string = Samba Server Version %v
	log file = /var/log/samba/log.%m
	max log size = 50
	load printers = No
	disable spoolss = Yes
	show add printer wizard = No
	stat cache = No
	kernel oplocks = No
	idmap config * : backend = tdb
	printing = bsd
	cups options = raw
	print command = lpr -r -P'%p' %s
	lpq command = lpq -P'%p'
	lprm command = lprm -P'%p' %j
	map archive = No
	map readonly = no
	store dos attributes = Yes

Comment 4 Lalatendu Mohanty 2013-12-26 11:00:12 UTC
Verified the bz with build samba-common-3.6.9-167.9.el6rhs.x86_64. "max protocol = SMB2" is in it.

[root@rhsauto065 samba]# testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[gluster-testvol]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
[global]
	workgroup = MYGROUP
	server string = Samba Server Version %v
	log file = /var/log/samba/log.%m
	max log size = 50
	max protocol = SMB2
	load printers = No
	disable spoolss = Yes
	show add printer wizard = No
	stat cache = No
	kernel oplocks = No
	idmap config * : backend = tdb
	printing = bsd
	cups options = raw
	print command = lpr -r -P'%p' %s
	lpq command = lpq -P'%p'
	lprm command = lprm -P'%p' %j
	map archive = No
	map readonly = no
	store dos attributes = Yes

Comment 5 Pavithra 2014-01-06 10:28:35 UTC
Can you please review the doc text for technical accuracy.

Comment 6 Raghavendra Talur 2014-01-06 11:10:53 UTC
Doc text is accurate.

Comment 7 Lalatendu Mohanty 2014-02-14 09:50:46 UTC
As discussed with Talur and Vivek, the doc test should be as below.

Previously, for fresh installations of Red Hat Storage 2.1 Update 1, the rhs-samba.conf and smb.conf configuration files did not have the "max protocol = SMB2" configuration line. This forced all the SMB clients to use the SMB1 version. With this update, Samba server will include SMB version 2 in the supported dialect list.

Comment 9 errata-xmlrpc 2014-02-25 08:08:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0208.html


Note You need to log in before you can comment on or make changes to this bug.