s3:smb2_server: fix drain_socket error handling
authorStefan Metzmacher <metze@samba.org>
Mon, 14 Oct 2013 14:42:55 +0000 (16:42 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 27 Nov 2013 13:39:10 +0000 (14:39 +0100)
commit9393e28df59954414313bfae70ffb796d3e332fe
tree7d6bd2b55aea68cc6bb9c430e11a3c8a67851dd1
parent22ee3b472da68e3f1d202ace44e2adaca51211c0
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>
source3/smbd/smb2_server.c