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>
(cherry picked from commit
bc2d87981967bc65155ba09eb5b3e3f913bec50e)
-^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\)
}
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)