s3:smb2_server: fix drain_socket error handling
commit8b7251201edd04081aa737373f74d9b14e7fe649
authorStefan Metzmacher <metze@samba.org>
Mon, 14 Oct 2013 14:42:55 +0000 (14 16:42 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 10 Dec 2013 11:58:34 +0000 (10 12:58 +0100)
tree25d41a45dbea19ab414871a5261fd723b8b0cb4b
parentfe04555152e382554356b3f4f754e37bdf83a83c
s3:smb2_server: fix drain_socket error handling

smbd_smb2_request_error_ex() should return NTSTATUS and the caller
will terminate the connection.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
(cherry picked from commit 9393e28df59954414313bfae70ffb796d3e332fe)
source3/smbd/smb2_server.c