1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3
Jeremy Allison d508dff634 s3: smbd: Inside call_trans2setfilepathinfo(), for the TRANSACT2_SETPATHINFO case, ensure we have a VALID_STAT return from filename_convert().
Remember, filename_convert() can return NT_STATUS_OK
with !VALID_STAT() if the last component doesn't exist,
as this may be an object create.

For call_trans2setfilepathinfo(), there are only 4 info levels
for the TRANSACT2_SETPATHINFO (pathname) case that don't require
an existing filesystem object (i.e. a VALID_STAT()) in the return
from filename_convert() as they can create an object in the
filesystem.

If we don't get a VALID_STAT() and the info level isn't one of
those 4, error out.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
2021-12-15 18:36:31 +00:00
..
auth CVE-2020-25717: s3-auth: fix MIT Realm regression 2021-12-03 12:05:42 +00:00
build
client s3: smbclient: Give a message if we try and use any POSIX command without negotiating POSIX first. 2021-12-11 11:14:31 +00:00
exports
groupdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
include lib: Add required includes to source3/include/secrets.h 2021-11-17 17:41:30 +00:00
intl
lib s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
libads s3-libnet_join: return account rid in libnet_JoinCtx 2021-07-14 16:49:30 +00:00
libgpo/gpext
libnet s3:rpc_client: Pass remote name and socket to cli_rpc_pipe_open_schannel_with_creds() 2021-12-02 13:59:31 +00:00
librpc s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
libsmb smbd: s3-dsgetdcname: handle num_ips == 0 2021-12-03 12:54:04 +00:00
locale pam_winbind/ro.po: fix error from previous patch merge 2020-10-29 20:49:16 +00:00
locking smbd: Simplify mark_share_mode_disconnected() 2021-08-06 18:09:06 +00:00
modules vfs_not_implemented: mark all functions with _PUBLIC_ 2021-11-30 15:53:34 +00:00
nmbd source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
param s3:rpc_server: Activate samba-dcerpcd 2021-12-10 14:02:30 +00:00
passdb source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
printing s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
profile
registry CVE-2020-25717: Add FreeIPA domain controller role 2021-11-09 19:45:33 +00:00
rpc_client s3:rpc_client: Add rpc_pipe_open_local_np() 2021-12-10 14:02:30 +00:00
rpc_server s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
rpcclient s3:rpc_client: Add remote name and socket to cli_rpc_pipe_open_bind_schannel() 2021-12-02 13:59:31 +00:00
script s3: tests: Fix the samba3.blackbox.acl_xattr test to actually negotiate SMB1+POSIX before using POSIX calls. 2021-12-11 11:14:31 +00:00
selftest s3: torture: Remove the wildcard unlink test code. 2021-12-09 18:06:35 +00:00
services s3:services: Disable rcinit-based service control code 2021-12-10 14:02:30 +00:00
smbd s3: smbd: Inside call_trans2setfilepathinfo(), for the TRANSACT2_SETPATHINFO case, ensure we have a VALID_STAT return from filename_convert(). 2021-12-15 18:36:31 +00:00
torture s3: smbtorture3: Fix POSIX-BLOCKING-LOCK to actually negotiate SMB1+POSIX before using POSIX calls. 2021-12-11 12:03:36 +00:00
utils smbcontrol: Add rpc-dump-status 2021-12-10 14:02:30 +00:00
web
winbindd s3:rpc_server: Activate samba-dcerpcd 2021-12-10 14:02:30 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript s3:rpc_server: Activate samba-dcerpcd 2021-12-10 14:02:30 +00:00
wscript_build s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
wscript_configure_system_ncurses