]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: Enable fd_openat(cwd_fsp, "/absolute/share/path")
authorVolker Lendecke <vl@samba.org>
Sat, 19 Oct 2024 15:30:09 +0000 (17:30 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 18:07:33 +0000 (18:07 +0000)
commit9550f4370e47d765b8a23a8be91fe54d097b67aa
tree744107daa5cee5633d2b45d41378d5a3fa8fac10
parente571da800f8d371a70e89ce89d8b35ae712bb6e8
smbd: Enable fd_openat(cwd_fsp, "/absolute/share/path")

So far fd_openat needed to be called with cwd_fsp and "." if you
wanted to open the share root, this enables using the absolute share
path. The next patch will remove sending the "." with cwd_fsp as a
simplification. Enable that with this little change.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/open.c