]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Respect per-user hide and veto files with parametric options
authorVolker Lendecke <vl@samba.org>
Mon, 29 Jul 2024 15:49:49 +0000 (17:49 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 31 Jul 2024 08:39:29 +0000 (08:39 +0000)
commit17becb5f526015de56d00cd1c8f603f8ddacd0ba
tree02640911835ee611f92ba5db8ccbf5d3cf943247
parentfcd595a4642a08169b427af534a00116daf220bf
smbd: Respect per-user hide and veto files with parametric options

For my taste this is a nicer configuration syntax than

/../username1/file1/../username2/file2/

Is this too expensive? I don't think so. The scanning only happens an
tcon time, and it only walks the parametric options. If this turns out
to be a performance problem, we should think about smarter data
structures for parametric options instead of just a linked list of
string triples for everything.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=15688
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/uid.c