190130
From aec3dd00fa76547316fddd07e6ded428d945986c Mon Sep 17 00:00:00 2001
190130
From: Anoop C S <anoopcs@redhat.com>
190130
Date: Fri, 22 Nov 2019 17:36:55 +0530
190130
Subject: [PATCH 413/449] extras/hooks: Remove smb.conf parameter allowing
190130
 guest access
190130
190130
Backport of https://review.gluster.org/23745
190130
190130
Change-Id: I88f494f16153d27ab6e2f2faf4d557e075671b10
190130
BUG: 1775637
190130
Signed-off-by: Anoop C S <anoopcs@redhat.com>
190130
Reviewed-on: https://code.engineering.redhat.com/gerrit/202473
190130
Tested-by: RHGS Build Bot <nigelb@redhat.com>
190130
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
190130
---
190130
 extras/hook-scripts/set/post/S30samba-set.sh     | 1 -
190130
 extras/hook-scripts/start/post/S30samba-start.sh | 1 -
190130
 2 files changed, 2 deletions(-)
190130
190130
diff --git a/extras/hook-scripts/set/post/S30samba-set.sh b/extras/hook-scripts/set/post/S30samba-set.sh
190130
index e73f00f..854f131 100755
190130
--- a/extras/hook-scripts/set/post/S30samba-set.sh
190130
+++ b/extras/hook-scripts/set/post/S30samba-set.sh
190130
@@ -89,7 +89,6 @@ function add_samba_share () {
190130
         STRING+="glusterfs:loglevel = 7\n"
190130
         STRING+="path = /\n"
190130
         STRING+="read only = no\n"
190130
-        STRING+="guest ok = yes\n"
190130
         STRING+="kernel share modes = no\n"
190130
         printf "$STRING"  >> ${CONFIGFILE}
190130
 }
190130
diff --git a/extras/hook-scripts/start/post/S30samba-start.sh b/extras/hook-scripts/start/post/S30samba-start.sh
190130
index 0d5a5ed..cac0cbf 100755
190130
--- a/extras/hook-scripts/start/post/S30samba-start.sh
190130
+++ b/extras/hook-scripts/start/post/S30samba-start.sh
190130
@@ -88,7 +88,6 @@ function add_samba_share () {
190130
         STRING+="glusterfs:loglevel = 7\n"
190130
         STRING+="path = /\n"
190130
         STRING+="read only = no\n"
190130
-        STRING+="guest ok = yes\n"
190130
         STRING+="kernel share modes = no\n"
190130
         printf "$STRING"  >> "${CONFIGFILE}"
190130
 }
190130
-- 
190130
1.8.3.1
190130