Hi,
I'm looking to manage my samba share through groups, this way I just have to add or remove user from the proper group to grant access.
The problem is samba doesn't refresh group membership when it's launched, so if I add a user to the authorized group, it can't access the share, and if I remove a user from the authorized group, the user still got access.
I have to restart the service to get samba refreshing permission.
As you can imagine, it's not usable at all as it stops the connections to all users.
I'm using FreeBSD 14.0 p2 and samba 4.16.11
Here is my smb4.conf file:
As I never used samba before, I'm not familiar with all available options, so maybe I misconfigured something.
Does anyone have any idea on how to solve this situation ?
Many thanks in advance
I'm looking to manage my samba share through groups, this way I just have to add or remove user from the proper group to grant access.
The problem is samba doesn't refresh group membership when it's launched, so if I add a user to the authorized group, it can't access the share, and if I remove a user from the authorized group, the user still got access.
I have to restart the service to get samba refreshing permission.
As you can imagine, it's not usable at all as it stops the connections to all users.
I'm using FreeBSD 14.0 p2 and samba 4.16.11
Here is my smb4.conf file:
Code:
[global]
server string = FBSD 14 server
workgroup = WORKGROUP
log file = /var/log/samba4/smb.log
max log size = 50
load printers = No
disable netbios = Yes
map to guest = Bad User
security = USER
server role = standalone server
invalid users = nobody root
read raw=yes
write raw=yes
strict sync = no
sync always = no
map acl inherit = yes
server multi channel support = no
[share1]
comment = Files Samba Network Share
path = /hddpool1/share1
valid users = @share1
browsable = Yes
inherit acls = Yes
read only = No
vfs objects = zfsacl
nfs4:acedup = merge
nfs4:mode = special
nfs4:chown = yes
As I never used samba before, I'm not familiar with all available options, so maybe I misconfigured something.
Does anyone have any idea on how to solve this situation ?
Many thanks in advance