Bug 1668278 - [Samba] Improve logic in Samba hook scripts for adding volume share section in smb.conf
Summary: [Samba] Improve logic in Samba hook scripts for adding volume share section i...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: doc-Administration_Guide
Version: rhgs-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: RHGS 3.4.z Batch Update 3
Assignee: Srijita Mukherjee
QA Contact: Vivek Das
URL:
Whiteboard:
Depends On:
Blocks: 1660873
TreeView+ depends on / blocked
 
Reported: 2019-01-22 10:50 UTC by Vivek Das
Modified: 2019-02-08 13:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-08 13:09:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Vivek Das 2019-01-22 10:50:43 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.4/html/administration_guide/sect-smb

Section Number and Name: 
6.3.3. Sharing Volumes over SMB

Describe the issue: 
Previously all GlusterFS volumes were being exported by default via smb.conf in a Samba-CTDB setup. This includes creating a share section for CTDB lock volume too which is not recommended. Along with few syntactical errors these scripts failed to execute in a non-Samba setup in the absence of necessary configuration/binary files.

Result: Hereafter newly created GlusterFS volumes are not exported as SMB share via Samba unless either of 'user.cifs' or 'user.smb' volume set options are enabled on the volume.

Suggestions for improvement: 

gluster volume set user.cifs enable
or 
gluster volume set user.smb enable
Additional information:


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