messaging: fix net command failure due to unhandled return code
authorDavid Mulder via samba-technical <samba-technical@lists.samba.org>
Wed, 7 Jun 2017 12:43:07 +0000 (06:43 -0600)
committerDavid Disseldorp <ddiss@samba.org>
Thu, 8 Jun 2017 06:04:05 +0000 (08:04 +0200)
commit08a21f3539fef76a22189b1751fd2a081937a057
tree64d74d28ccbb388a399495e98891060b5b6353e2
parent45e84dd89e66701f3a8c1dbef2726a046e3bc927
messaging: fix net command failure due to unhandled return code

messaging_init_internal() blanket returned NT_STATUS_INTERNAL_ERROR
instead of correctly changing the return code to an NTSTATUS code. Also
return more appropriate mem error.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12828

Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Thu Jun  8 08:04:05 CEST 2017 on sn-devel-144
source3/lib/messages.c