docker-samba icon indicating copy to clipboard operation
docker-samba copied to clipboard

force user / group by share

Open thibp opened this issue 2 years ago • 1 comments

Description

Hello,

Is it possible to have force user / group by share. I saw that a user made some code, but unfortunately removed it. It could be usefull, as the only solution by now is global. Unless you have one share, it is not a sustainable solution.

Thanks in advance, Best regards

thibp avatar Nov 04 '23 00:11 thibp

you can just put in a global parameter - "include = /data/smb-include.conf

and create smb-inlude with a native smb.conf shares section, forgoing the yml shares section. From there you can set individual shares without relying on the odd behavior of the share builder for the shares

ACiDGRiM avatar Dec 25 '23 05:12 ACiDGRiM