I have a functioning samba4 installation on 23.05.
I recently wanted to hide my mp4 files from the share and so I added veto to config file but it did not apparently work. What am I doing wrong?
I found that the openwrt system constructs a configuration file from /etc/config/samba4 and these options show up in /var/etc/smb.con and there it does not carry the veto files options. However, in its global declaration, it does show veto files as
However, in the options for shares, it does not transfer. I wonder if the code to transfer this is coded incorrectly or there is no provision to translate this from config/samba4 to /var/etc/smb.conf anyway.
This is not a critical need but would love to find out how this works for the learning value. Wonder if there is a way to discover this.
Have you tried the lighter ksmbd? Maybe that one does support the 'veto' option, not sure (it sure is a better fit for OpenWrt). Usually packages have a script translating UCI settings to the native configuration somewhere in /usr/lib/.