mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
d89294ecfc
smb2_composite_setpathinfo() uses SEC_FLAG_MAXIMUM_ALLOWED which can
have unwanted side effects like breaking oplocks if the effective access
includes [READ|WRITE]_DATA.
For changing the DOS attributes we only need SEC_FILE_WRITE_ATTRIBUTE. With this
change test_smb2_oplock_batch25() doesn't trigger an oplock break anymore.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15153
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
composite | ||
dgram | ||
ldap | ||
rap | ||
raw | ||
resolve | ||
smb2 | ||
smb_composite | ||
util | ||
wbclient | ||
wrepl | ||
cliconnect.c | ||
clideltree.c | ||
clifile.c | ||
clilist.c | ||
climessage.c | ||
clireadwrite.c | ||
clitrans2.c | ||
finddc.h | ||
finddcs_cldap.c | ||
libcli.h | ||
wscript_build |