1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3
Ralph Boehme bdb2714671 vfs_gpfs: finally: use gpfswrap_fgetacl() instead of gpfswrap_getacl()
Replaces path based gpfswrap_getacl() with handle based version
gpfswrap_fgetacl(). When dealing with files in snapshots fsp->fsp_name points to
the active dataset, which will cause ENOENT failures if files are deleted there
any only present in the snapshot:

[2022/05/06 11:32:55.233435,  4, pid=12962, effective(1460548, 273710), real(1460548, 0)]
   calling open_file with flags=0x0 flags2=0x800 mode=0644, access_mask = 0x80, open_access_mask = 0x80
[2022/05/06 11:32:55.233460, 10, pid=12962, effective(1460548, 273710), real(1460548, 0), class=vfs]
   gpfs_get_nfs4_acl invoked for dir/subdir/file.txt
[2022/05/06 11:32:55.233495,  5, pid=12962, effective(1460548, 273710), real(1460548, 0), class=vfs]
   smbd_gpfs_getacl failed with No such file or directory
[2022/05/06 11:32:55.233521,  9, pid=12962, effective(1460548, 273710), real(1460548, 0), class=vfs]
   gpfs_getacl failed for dir/subdir/file.txt with No such file or directory
[2022/05/06 11:32:55.233546, 10, pid=12962, effective(1460548, 273710), real(1460548, 0)]
   smbd_check_access_rights_fsp: Could not get acl on dir/subdir/file.txt {@GMT-2022.05.04-11.58.53}: NT_STATUS_OBJECT_NAME_NOT_FOUND

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15069

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
(cherry picked from commit a0dc4c9026)
2022-06-09 08:54:16 +00:00
..
auth s3:auth: Fix user_in_list() for UNIX groups 2022-04-11 08:51:01 +00:00
build
client s3/client: Restore '-E' handling 2022-05-30 09:10:47 +00:00
exports
groupdb
include lib: Remove unused asprintf_strupper_m() 2022-01-18 20:22:38 +00:00
intl
lib vfs_aixacl: add proper header file 2022-02-27 19:08:16 +00:00
libads s3:libads: Clear previous CLDAP ping flags when reusing the ADS_STRUCT 2022-05-30 08:15:10 +00:00
libgpo/gpext
libnet s3:libnet: Do not set ADS_AUTH_ALLOW_NTLMSSP in FIPS mode 2022-01-22 00:27:52 +00:00
librpc s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
libsmb s3:libsmb: Fix errno for failed authentication in SMBC_server_internal() 2022-03-17 09:14:56 +00:00
locale
locking s3: smbd: Move implicit call to lp_posix_cifsu_locktype() out of init_strict_lock_struct(). 2022-01-06 15:11:38 +00:00
modules vfs_gpfs: finally: use gpfswrap_fgetacl() instead of gpfswrap_getacl() 2022-06-09 08:54:16 +00:00
nmbd source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
param docs-xml: add 'kdc enable fast' option 2022-03-14 14:27:13 +00:00
passdb s3:passdb: Also allow to handle UPNs in lookup_name_smbconf() 2022-04-28 09:03:34 +00:00
printing smbd: NULL out "fsp" in close_file() 2022-02-14 17:46:14 +00:00
profile profile3: remove an unused include 2022-01-18 20:22:38 +00:00
registry CVE-2020-25717: Add FreeIPA domain controller role 2021-11-09 19:45:33 +00:00
rpc_client s3:rpc_client: let rpccli_netlogon_network_logon() fallback to workstation = lp_netbios_name() 2022-03-16 13:41:14 +00:00
rpc_server srvsvc: Announce [username] in NetShareEnum 2022-05-20 09:10:43 +00:00
rpcclient rpcclient: Fix ncacn_ip_tcp:<ip-address> 2022-01-10 11:47:34 +00:00
script s3/script/tests: Test smbclient -E redirects output to stderr 2022-05-30 08:15:10 +00:00
selftest selftest: Test for bug 15062 -- list "username" in netshareenum 2022-05-20 08:17:17 +00:00
services s3:services: Disable rcinit-based service control code 2021-12-10 14:02:30 +00:00
smbd s3: smbd: Allow a durable handle on a leased stat-open. 2022-05-09 08:18:05 +00:00
torture s3: cmd_vfs: cmd_set_nt_acl(). All calls to SMB_VFS_FSTAT(fsp, &fsp->fsp_name->st) clobber fsp->fsp_name->st.st_ex_iflags. 2022-04-11 07:49:13 +00:00
utils s3: smbget: Fix auth_fn, order of //server/share parameters is mixed in prompt. 2022-04-15 13:46:10 +00:00
web
winbindd s3:winbind: Remove no longer used domain's private_data pointer 2022-04-15 14:45:44 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript waf: re-add missing readlink test 2022-02-27 20:03:27 +00:00
wscript_build CVE-2021-44142: libadouble: add basic cmocka tests 2022-01-31 14:26:10 +00:00
wscript_configure_system_ncurses