s3:smb2_server: fix drain_socket error handling
commitdc552665b8e41594c4832fe39feda39204d9129c
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:57:29 +0000 (10 12:57 +0100)
treea861870877ff88ebeb248f9dc695f95a9cdd58a2
parentaa79211e1947801ba1ae24062784807d5d419a4d
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