1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/libcli
Ralph Boehme d89294ecfc s4/libcli/smb2: avoid using smb2_composite_setpathinfo() in smb2_util_setatr()
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 66e40690bd)
2022-09-06 07:54:13 +00:00
..
composite s4-libcli: Remove unused header from composite/composite.c 2019-11-10 22:27:47 +00:00
dgram lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
ldap auth:creds: Add obtained arg to cli_credentials_set_gensec_features() 2021-04-28 03:43:34 +00:00
rap s4-libcli/rap: Set the switch_value before NDR_BUFFERS to prepare for new libndr behaviour 2019-12-12 02:30:40 +00:00
raw libcli/smb: pass smb3_capabilities to smbXcli_conn_create() 2021-03-17 00:49:32 +00:00
resolve lib: addns: Fix ads_dns_lookup_srv() and functions to return size_t * num servers. 2020-09-15 10:09:37 +00:00
smb2 s4/libcli/smb2: avoid using smb2_composite_setpathinfo() in smb2_util_setatr() 2022-09-06 07:54:13 +00:00
smb_composite CVE-2016-2124: s4:libcli/sesssetup: don't fallback to non spnego authentication if we require kerberos 2021-11-09 19:45:34 +00:00
util Add SMB2 lsa helper routines 2020-04-28 18:09:39 +00:00
wbclient wbclient: "ev" is no longer used in wbc_xids_to_sids 2016-09-28 00:04:36 +02:00
wrepl
cliconnect.c s4:libcli: fix 'Conditional jump or move' valgrind error 2016-04-25 10:35:15 +02:00
clideltree.c s4: libcli: In smbcli_deltree() use smbcli_unlink_wcard() in place of smbcli_unlink(). 2021-12-09 18:06:35 +00:00
clifile.c s4: libcli: smbcli_unlink() is no longer used with wildcard patterns. 2021-12-09 18:06:35 +00:00
clilist.c
climessage.c
clireadwrite.c source4/libcli/clireadwrite.c: typo fixes 2019-10-31 00:43:37 +00:00
clitrans2.c
finddc.h
finddcs_cldap.c
libcli.h s4: libcli: Add smbcli_unlink_wcard(). 2021-12-09 18:06:35 +00:00
wscript_build s4:libcli: Remove (now unused) pysmb.c bindings 2019-01-26 04:05:25 +01:00