projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c711dea
)
samba4: support both user map and valid users on same time
author
Liangbin Lian
<jjm2473@gmail.com>
Thu, 24 Nov 2022 10:05:50 +0000
(18:05 +0800)
committer
Tianling Shen
<cnsztl@gmail.com>
Mon, 28 Nov 2022 06:51:42 +0000
(14:51 +0800)
Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
net/samba4/files/samba.init
patch
|
blob
|
history
diff --git
a/net/samba4/files/samba.init
b/net/samba4/files/samba.init
index b849a1cd370d182f93f4ad1656642bbcc8410deb..468ba553a2b87ba3cb8d1ca2b9f638f820764a3d 100644
(file)
--- a/
net/samba4/files/samba.init
+++ b/
net/samba4/files/samba.init
@@
-115,9
+115,8
@@
smb_add_share() {
if [ "$force_root" -eq 1 ]; then
printf "\tforce user = root\n"
printf "\tforce group = root\n"
- else
- [ -n "$users" ] && printf "\tvalid users = %s\n" "$users"
fi
+ [ -n "$users" ] && printf "\tvalid users = %s\n" "$users"
[ -n "$create_mask" ] && printf "\tcreate mask = %s\n" "$create_mask"
[ -n "$dir_mask" ] && printf "\tdirectory mask = %s\n" "$dir_mask"