Samba - hide a share from a custom user group
I've configured a few samba shares for a few usergroups. Group A (students) has access to share 1 only, group B (internet) has access to share 2 only. The owner of both of the shared folders is not in one of those groups (admin).
The problem now is that both usergroups get to see both of the shares, even while they both have access to only one share.
Things I've already tried in smb.conf:
- Hide unreadable: won't work because all shares have 775 permissions (otherwise group members cannot access their share)
- Browseable = no , include ~/%G.conf , with browseable = yes in the include : Won't work because the usergroups aren't the users' primary usergroups.
|