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