1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/libcli
Ralph Boehme 52d8af2f42 libcli/smb: only allow SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET in lease_flag
MS-SMB2 3.3.5.9.11 Handling the SMB2_CREATE_REQUEST_LEASE_V2 Create Context:

  The server MUST attempt to locate a Lease by performing a lookup in the
  LeaseTable.LeaseList using the LeaseKey ...

  If no lease is found, one MUST be allocated with the following values set:

  ...

  * Lease.Breaking is set to FALSE.

  ...

Ensures we ignore SMB2_LEASE_FLAG_BREAK_IN_PROGRESS. Found by
MS-SMB2-Prototocol-Testsuite "BreakReadLeaseV2TestCaseS0".

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2024-11-05 14:39:31 +00:00
..
auth libcli/auth: split out netlogon_creds_cli_check_transport() 2024-10-30 23:08:36 +00:00
cldap cldap: Save a few lines in cldap_netlogon 2024-10-25 09:04:11 +00:00
dns libcli: Add missing newlines to logging messages 2023-08-08 04:39:36 +00:00
drsuapi libcli:drsuapi: Fix code spelling 2023-04-27 14:25:38 +00:00
echo s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
http libcli/http: Detect unsupported Transfer-encoding type 2024-04-08 03:00:39 +00:00
ldap lib: Make GUID_to_ndr_buf() return void 2024-03-12 13:31:31 +00:00
lsarpc libcli/lsarpc: add struct trustAuthInOutBlob; forward declaration 2014-04-02 09:03:42 +02:00
named_pipe_auth libcli/named_pipe_auth: let tstream_npa_existing_socket use tstream_bsd_fail_readv_first_error(true) 2023-10-24 09:36:38 +00:00
nbt libcli:nbt: Initialize struct nbt_name_register 2024-07-16 11:41:33 +00:00
netlogon lib: Give lib/util/util_file.c its own header file 2024-04-16 23:51:45 +00:00
registry
samsync libcli/auth: make sure low level crypto function are not used directly 2024-10-30 23:08:36 +00:00
security libsecurity: Simplify struct ace_condition_script 2024-09-06 14:23:58 +00:00
smb libcli/smb: only allow SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET in lease_flag 2024-11-05 14:39:31 +00:00
smbreadline libcli:smbreadline: Fix code spelling 2023-06-23 13:44:31 +00:00
tstream_binding_handle libcli/tstream_binding_handle: implement get_binding() 2024-09-26 15:22:45 +00:00
util Add ntstatus_gen for Rust 2024-10-23 14:21:33 +00:00
wsp libcli/wsp: Test AQS parser 2023-10-25 22:23:38 +00:00