s3:smbd: map nterror on smb2_flush errorpath
authorAnton Nefedov via samba-technical <samba-technical@lists.samba.org>
Thu, 15 Mar 2018 11:38:41 +0000 (14:38 +0300)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 Apr 2018 10:56:12 +0000 (12:56 +0200)
commitb11b0e0f7fcbc72814c2240aff8ed35519f022b9
tree0d59efc8d4d5d347d1de4eb0c4c11dd276f65051
parent24354b0fdaa0512ffc50c9f037135f4f1d11a008
s3:smbd: map nterror on smb2_flush errorpath

smbd_smb2_flush_recv() expects nterror in tevent_req, and otherwise
aborts in tevent_req_is_nterror()

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13338

Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 98623129446672521b7fa41d3457b8ce95db828c)
source3/smbd/smb2_flush.c