mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
54883d4b3a
The only two callers that pass a root_dir_fid != 0 are reply_ntcreate_and_X() and call_nt_transact_create(). By moving root_dir_fid processing outside of SMB_VFS_CREATE_FILE() we can avoid rewriting get_relative_fid_filename() to work with *AT semantics and dirfsps. Bonus points: the previous code in both functions passed fname to filename_convert() which can't really have worked as it is relative to root_dir_fid so filename_convert() will not be able to stat() the relative path and it's components. The only test I can find that uses a root dir_fid is raw.samba3rootdirfid and that uses a handle on the share root which will work. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14380 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> |
||
---|---|---|
.. | ||
auth | ||
build | ||
client | ||
exports | ||
groupdb | ||
include | ||
intl | ||
lib | ||
libads | ||
libgpo/gpext | ||
libnet | ||
librpc | ||
libsmb | ||
locale | ||
locking | ||
modules | ||
nmbd | ||
param | ||
passdb | ||
printing | ||
profile | ||
registry | ||
rpc_client | ||
rpc_server | ||
rpcclient | ||
script | ||
selftest | ||
services | ||
smbd | ||
torture | ||
utils | ||
web | ||
winbindd | ||
.clang_complete | ||
.dmallocrc | ||
.indent.pro | ||
Doxyfile | ||
mainpage.dox | ||
smbadduser.in | ||
wscript | ||
wscript_build | ||
wscript_configure_system_ncurses |