mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
smbd: force sync rename with lease break
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15697 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
a5635791cf
commit
bc2d879819
@ -1,4 +1 @@
|
||||
^samba3.smb2.compound_async.rename_non_compound_no_async\(fileserver\)
|
||||
^samba3.smb2.compound_async.rename_same_srcdst_non_compound_no_async\(fileserver\)
|
||||
^samba3.smb2.compound_async.rename_last\(fileserver\)
|
||||
^samba3.smb2.compound_async.rename_middle\(fileserver\)
|
||||
|
@ -120,7 +120,11 @@ NTSTATUS smbd_smb2_request_process_setinfo(struct smbd_smb2_request *req)
|
||||
}
|
||||
tevent_req_set_callback(subreq, smbd_smb2_request_setinfo_done, req);
|
||||
|
||||
return smbd_smb2_request_pending_queue(req, subreq, 500);
|
||||
/*
|
||||
* Windows never sends async interim responses if a rename triggers a
|
||||
* lease break. See test smb2.lease.compound_rename_middle.
|
||||
*/
|
||||
return smbd_smb2_request_pending_queue(req, subreq, 0);
|
||||
}
|
||||
|
||||
static void smbd_smb2_request_setinfo_done(struct tevent_req *subreq)
|
||||
|
Loading…
Reference in New Issue
Block a user