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