diff options
author | Stefan Metzmacher <metze@samba.org> | 2019-01-24 09:10:11 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-04-24 07:00:29 +0000 |
commit | 6122f423d8d9f2e5a49f090f0ed6c276e0d387dc (patch) | |
tree | 57eb60a96433575fb91e1808c2254abec6f0be3c /source3/smbd | |
parent | dc06b1b364dc98e32147914e10a2bd08c88786a1 (diff) | |
download | samba-6122f423d8d9f2e5a49f090f0ed6c276e0d387dc.tar.gz |
smb2_tcon: avoid STATUS_PENDING responses for tree connect
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12844
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13698
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 8a11da429bd3c89766f43c2bff681837a769987c)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smb2_tcon.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c index 3a4a15d3059..5efe020f169 100644 --- a/source3/smbd/smb2_tcon.c +++ b/source3/smbd/smb2_tcon.c @@ -102,7 +102,11 @@ NTSTATUS smbd_smb2_request_process_tcon(struct smbd_smb2_request *req) } tevent_req_set_callback(subreq, smbd_smb2_request_tcon_done, req); - return smbd_smb2_request_pending_queue(req, subreq, 500); + /* + * Avoid sending a STATUS_PENDING message, it's very likely + * the client won't expect that. + */ + return smbd_smb2_request_pending_queue(req, subreq, 0); } static void smbd_smb2_request_tcon_done(struct tevent_req *subreq) |