1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/source3
Christof Schmitt a6ccceb97e nfs4_acls: Correctly skip chown when gid did not change
Commit 86f7af84 introduced a problem that a chown is always attempted,
even when the owning gid did not change. Then the ACL is set in the file
system as root. Fix the check by correctly comparing with gid, not uid.

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

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Wed Jul 13 17:30:30 UTC 2022 on sn-devel-184
2022-07-13 17:30:30 +00:00
..
auth s3:smbd: Free allocated strings before leaving user_in_netgroup() function 2022-06-09 22:40:43 +00:00
build
client s3/client: fix dfs deltree, resolve dfs path 2022-06-17 17:12:07 +00:00
exports
groupdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
include s3:libads: Remove no longer used is_mine flag from ADS_STRUCT 2022-06-27 15:50:30 +00:00
intl
lib s3:dbwrap_ctdb: improve the error handling in ctdb_async_ctx_init_internal() 2022-07-01 18:34:17 +00:00
libads s3: libads: Fix coverity false positive. 2022-07-04 16:42:28 +00:00
libgpo/gpext
libnet s3:libads: Allocate ads->auth.ccache_name under ADS_STRUCT talloc context 2022-06-27 15:50:30 +00:00
librpc lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
libsmb s3:libads: Allocate ADS_STRUCT under a talloc context 2022-06-27 15:50:30 +00:00
locale spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
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 nfs4_acls: Correctly skip chown when gid did not change 2022-07-13 17:30:30 +00:00
nmbd source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
param dsdb: Allow password history and password changes without an NT hash 2022-06-26 22:10:29 +00:00
passdb lib/util: Change function to mem_equal_const_time() 2022-06-09 22:49:29 +00:00
printing s3:printing: Do not clear the printer-list.tdb 2022-06-30 22:08:39 +00:00
profile profile3: remove an unused include 2022-01-18 20:22:38 +00:00
registry registry3: Align some integer types 2022-05-20 19:02:37 +00:00
rpc_client spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
rpc_server mdssvc: return all-zero policy handle if spotlight is disabled 2022-07-12 15:42:52 +00:00
rpcclient s3:rpcclient: Fix crash in rpcclient 2022-03-07 00:00:32 +00:00
script s3:tests: Reformat xattr-tdb-1/run.sh 2022-06-22 10:10:48 +00:00
selftest CI: fix check for correct mdsvc resonse when connecting to a share with Spotlight disabled 2022-07-12 14:45:36 +00:00
services s3:services: Disable rcinit-based service control code 2021-12-10 14:02:30 +00:00
smbd smbd: follow-up fix for "if close fails just log it, don't crash" 2022-07-09 09:04:46 +00:00
torture Revert "vfs: remove dirfsp arg from SMB_VFS_CREATE_FILE()" 2022-04-28 13:12:33 +00:00
utils testparm: clarify "Weak crypto is allowed" message 2022-07-01 14:35:09 +00:00
web
winbindd s3:winbind: Use the canonical realm name to renew the credentials 2022-07-12 12:38:55 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript Revert "s3:smbd: Remove NIS support" 2022-06-09 21:45:28 +00:00
wscript_build s3:waf: Fix version number of public libsmbconf 2022-06-24 09:48:38 +00:00
wscript_configure_system_ncurses