samba配置问题

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
sohuu
帖子: 1
注册时间: 2014-03-17 14:09
系统: ubuntu

samba配置问题

#1

帖子 sohuu » 2014-03-17 14:12

想问一下 samba配置里force group = users 与 force group = +users 有什么区别,分别有什么作用?谢谢各位!
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: samba配置问题

#2

帖子 poloshiao » 2014-03-17 15:16

http://manpages.ubuntu.com/manpages/tru ... onf.5.html

force group = users
This specifies a UNIX group name that will be assigned as the default primary group for all users connecting to this service.

force group = +users
If the group name listed here has a '+' character prepended to it then the current user accessing the share only has the primary group default assigned to this group if they are already assigned as a member of that group.
All other users will retain their ordinary primary group.
回复