|
|
d84cf8 |
From 0769c5ddc78ea37b9a43ac35dd71ec8cea4b8da8 Mon Sep 17 00:00:00 2001
|
|
|
d84cf8 |
From: yinkui <13965432176@163.com>
|
|
|
d84cf8 |
Date: Fri, 16 Aug 2019 10:15:07 +0800
|
|
|
d84cf8 |
Subject: [PATCH 412/449] gluster-smb:add smb parameter when access gluster by
|
|
|
d84cf8 |
cifs
|
|
|
d84cf8 |
|
|
|
d84cf8 |
Backport of https://review.gluster.org/23240
|
|
|
d84cf8 |
|
|
|
d84cf8 |
Change-Id: I9ff54f2ca6f86bb5b2f4740485a0159e1fd7785f
|
|
|
d84cf8 |
BUG: 1783232
|
|
|
d84cf8 |
Signed-off-by: yinkui <13965432176@163.com>
|
|
|
d84cf8 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/202472
|
|
|
d84cf8 |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
d84cf8 |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
d84cf8 |
---
|
|
|
d84cf8 |
extras/hook-scripts/set/post/S30samba-set.sh | 1 +
|
|
|
d84cf8 |
extras/hook-scripts/start/post/S30samba-start.sh | 1 +
|
|
|
d84cf8 |
2 files changed, 2 insertions(+)
|
|
|
d84cf8 |
|
|
|
d84cf8 |
diff --git a/extras/hook-scripts/set/post/S30samba-set.sh b/extras/hook-scripts/set/post/S30samba-set.sh
|
|
|
d84cf8 |
index d2a62d3..e73f00f 100755
|
|
|
d84cf8 |
--- a/extras/hook-scripts/set/post/S30samba-set.sh
|
|
|
d84cf8 |
+++ b/extras/hook-scripts/set/post/S30samba-set.sh
|
|
|
d84cf8 |
@@ -90,6 +90,7 @@ function add_samba_share () {
|
|
|
d84cf8 |
STRING+="path = /\n"
|
|
|
d84cf8 |
STRING+="read only = no\n"
|
|
|
d84cf8 |
STRING+="guest ok = yes\n"
|
|
|
d84cf8 |
+ STRING+="kernel share modes = no\n"
|
|
|
d84cf8 |
printf "$STRING" >> ${CONFIGFILE}
|
|
|
d84cf8 |
}
|
|
|
d84cf8 |
|
|
|
d84cf8 |
diff --git a/extras/hook-scripts/start/post/S30samba-start.sh b/extras/hook-scripts/start/post/S30samba-start.sh
|
|
|
d84cf8 |
index 2854bdd..0d5a5ed 100755
|
|
|
d84cf8 |
--- a/extras/hook-scripts/start/post/S30samba-start.sh
|
|
|
d84cf8 |
+++ b/extras/hook-scripts/start/post/S30samba-start.sh
|
|
|
d84cf8 |
@@ -89,6 +89,7 @@ function add_samba_share () {
|
|
|
d84cf8 |
STRING+="path = /\n"
|
|
|
d84cf8 |
STRING+="read only = no\n"
|
|
|
d84cf8 |
STRING+="guest ok = yes\n"
|
|
|
d84cf8 |
+ STRING+="kernel share modes = no\n"
|
|
|
d84cf8 |
printf "$STRING" >> "${CONFIGFILE}"
|
|
|
d84cf8 |
}
|
|
|
d84cf8 |
|
|
|
d84cf8 |
--
|
|
|
d84cf8 |
1.8.3.1
|
|
|
d84cf8 |
|