Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1242767 - SMB: share entry from smb.conf is not removed after setting user.cifs and user.smb to disable.
SMB: share entry from smb.conf is not removed after setting user.cifs and use...
Status: CLOSED ERRATA
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: samba (Show other bugs)
3.1
Unspecified Unspecified
high Severity high
: ---
: RHGS 3.1.0
Assigned To: Raghavendra Talur
surabhi
: Regression
Depends On: 1242892 1243041
Blocks: 1202842
  Show dependency treegraph
 
Reported: 2015-07-14 03:26 EDT by surabhi
Modified: 2015-07-29 01:12 EDT (History)
6 users (show)

See Also:
Fixed In Version: glusterfs-3.7.1-10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1242892 (view as bug list)
Environment:
Last Closed: 2015-07-29 01:12:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 04:26:26 EDT

  None (edit)
Description surabhi 2015-07-14 03:26:05 EDT
Description of problem:
********************************************
Setting user.smb and user.cifs to disable doesn't remove the samba share from smb.conf.

when volume is stopped and started then only the share goes off from smb.conf.


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

rpm -qa | grep glusterfs
glusterfs-client-xlators-3.7.1-9.el7rhgs.x86_64
glusterfs-cli-3.7.1-9.el7rhgs.x86_64
glusterfs-libs-3.7.1-9.el7rhgs.x86_64
glusterfs-3.7.1-9.el7rhgs.x86_64
glusterfs-fuse-3.7.1-9.el7rhgs.x86_64
glusterfs-server-3.7.1-9.el7rhgs.x86_64
samba-vfs-glusterfs-4.1.17-13.el7rhgs.x86_64

How reproducible:
always

Steps to Reproduce:
1.create a volume
2.Start the volume
3.Set the user.cifs and user.smb to disable
4.check the output from testparm
5.Share entry for the volume should be removed.

Actual results:
share is still present in smb.conf and is ready for access.

Expected results:
share entry should be removed and the share should not be ready for access if user.cifs and user.smb is disabled.

Additional info:
Comment 3 Raghavendra Talur 2015-07-14 14:22:25 EDT
Patch posted at https://code.engineering.redhat.com/gerrit/#/c/52988/
Comment 6 surabhi 2015-07-16 08:15:02 EDT
Verified the bug with following steps on new build:

1. Create a volume 
2. start a volume
3. Check the share in smb.conf
4. now set the volume option user.cifs disable , check testparm and smb.conf entries
5.Share should not be present in smb.conf once the option is disable.

Also verified with setting user.cifs and user.smb enable 
user.cifs and user.cifs disable
user.cifs enable and user.smb disable
user.cifs disable and user.smb enable

All above cases works fine.Moving the bz to verified.
glusterfs-3.7.1-10
Comment 7 errata-xmlrpc 2015-07-29 01:12:24 EDT
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://rhn.redhat.com/errata/RHSA-2015-1495.html

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