diff options
author | Anoop C S <anoopcs@redhat.com> | 2019-11-22 17:36:55 +0530 |
---|---|---|
committer | Anoop C S <anoopcs@redhat.com> | 2019-12-10 12:05:16 +0530 |
commit | 6db4846134c9bd2558d5635e435300ae669496c9 (patch) | |
tree | 9497e9c93dd0e74abd763ddc11699be4135870fd | |
parent | cc888b0bd2e8be69395393eede2b7f3f9cd893a6 (diff) |
extras/hooks: Remove smb.conf parameter allowing guest access
Change-Id: I88f494f16153d27ab6e2f2faf4d557e075671b10
Fixes: bz#1781483
Signed-off-by: Anoop C S <anoopcs@redhat.com>
-rwxr-xr-x | extras/hook-scripts/set/post/S30samba-set.sh | 1 | ||||
-rwxr-xr-x | extras/hook-scripts/start/post/S30samba-start.sh | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/extras/hook-scripts/set/post/S30samba-set.sh b/extras/hook-scripts/set/post/S30samba-set.sh index e73f00f321c..854f131f6c8 100755 --- a/extras/hook-scripts/set/post/S30samba-set.sh +++ b/extras/hook-scripts/set/post/S30samba-set.sh @@ -89,7 +89,6 @@ function add_samba_share () { STRING+="glusterfs:loglevel = 7\n" STRING+="path = /\n" STRING+="read only = no\n" - STRING+="guest ok = yes\n" STRING+="kernel share modes = no\n" printf "$STRING" >> ${CONFIGFILE} } diff --git a/extras/hook-scripts/start/post/S30samba-start.sh b/extras/hook-scripts/start/post/S30samba-start.sh index 0d5a5edd4af..cac0cbf1464 100755 --- a/extras/hook-scripts/start/post/S30samba-start.sh +++ b/extras/hook-scripts/start/post/S30samba-start.sh @@ -88,7 +88,6 @@ function add_samba_share () { STRING+="glusterfs:loglevel = 7\n" STRING+="path = /\n" STRING+="read only = no\n" - STRING+="guest ok = yes\n" STRING+="kernel share modes = no\n" printf "$STRING" >> "${CONFIGFILE}" } |