Bug 1314659

Summary: SMB: Provide example smb.conf file to have information regarding samba and add only required settings in actual smb.conf
Product: Red Hat Gluster Storage Reporter: surabhi <sbhaloth>
Component: sambaAssignee: Guenther Deschner <gdeschner>
Status: CLOSED ERRATA QA Contact: Vivek Das <vdas>
Severity: medium Docs Contact:
Priority: medium    
Version: rhgs-3.1CC: anoopcs, gdeschner, madam, nlevinki, pmulay, rcyriac, rhinduja
Target Milestone: ---Keywords: Reopened, ZStream
Target Release: RHGS 3.4.z Batch Update 3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.8.5-103.el7rhgs, samba-4.8.5-103.el6rhs Doc Type: Enhancement
Doc Text:
With this update, the smb.conf file has been simplified to enhance its usability. Previously, the smb.conf file contained default parameter settings, various comments, and explanations. Thus making it difficult for users to find a particular section, and adding new parameters. This upgrade introduces the smb.conf.example file, without deleting the existing smb.conf file from previous version. This new file contains the extended information about the configuration, whereas the smb.conf file will include only the necessary parameters.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-04 07:37:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description surabhi 2016-03-04 08:05:10 UTC
Description of problem:
*********************************
Currently smb.conf has lots of information which is carried from the upstream samba configuration where more of information than the actual configuration.

When we do setup in RHGS , it may create confusions and any mis-configuration because of the large content present in smb.conf.

It would be good to have a separate example file for smb.conf information and only required configuration options in actual smb.conf.

Version-Release number of selected component (if applicable):
samba-4.2.4-13.rhgs

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:
Having example conf file and having the actual smb.conf with relevant config settings would avoid any mis-configuration while doing the setup ex. AD.


Additional info:

Comment 3 Michael Adam 2016-04-13 09:41:47 UTC
Assigning to Jose.

Comment 7 Amar Tumballi 2018-04-19 04:16:28 UTC
Closed the samba bugs in bulk when PM_Score was less than 0. As the team was working on few of them, opening all of them.

Comment 9 Poornima G 2018-11-20 11:12:17 UTC
As per the discussion with team, For a next major rebase we should pick up the RHEL change (ship a simpler smb.conf)

Comment 12 Vivek Das 2018-12-28 10:33:21 UTC
Validated
-------------
For new installations there is a short and clean smb.conf alongside detailed smb.conf.example file with all those comments and explanations available.
After upgrade we get the smb.conf.example retaining the previous version of smb.conf.

Marking this as verified.

Comment 17 errata-xmlrpc 2019-02-04 07:37:31 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.

https://access.redhat.com/errata/RHBA-2019:0262