Hide Forgot
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:
Samba conf file change, was done in the last build.
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
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
Can you please review the doc text for technical accuracy.
Doc text is accurate.
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.
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