smbd: pass dirfsp to create_file_unixpath()
authorRalph Boehme <slow@samba.org>
Thu, 7 May 2020 14:32:10 +0000 (16:32 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 21 May 2020 05:23:31 +0000 (05:23 +0000)
commit9f5fd73846931b7de90e1d5decf46a6e92cc6f21
tree1edd8820c551dc132ef97bb4c204de0e8c33ab39
parent12b2844571e50937542d543c7726bd855020b2e1
smbd: pass dirfsp to create_file_unixpath()

As the calls to

* lease_match()
* open_streams_for_delete()
* check_base_file_access
* SMB_VFS_STAT

and others needs to be updated to work with atnames in the
future, we assert (dirfsp == conn->cwd_fsp).

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/open.c