Fix inspired by work done by David Disseldorp for bug #8040 - smbclient segfaults...
authorJeremy Allison <jra@samba.org>
Mon, 28 Mar 2011 20:26:27 +0000 (13:26 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 28 Mar 2011 22:14:33 +0000 (15:14 -0700)
commit1cc80a126bbaed381df59a038835ee5ef7ef7dcc
tree2e4cfda4757ef4e3bd8485802c0edd04527e6d0e
parent6521e178fcc69b7c92c1db1bd66898cc31f1345b
Fix inspired by work done by David Disseldorp for bug #8040 - smbclient segfaults when a Cyrillic netbios name or workgroup is configured.

Change msrpc_gen to return NTSTATUS and ensure everywhere this is
used it is correctly checked to return that status.

Jeremy.
(cherry picked from commit 52602e4f5ad0f7c3cdb4a50dfe32d0b8ad49b6e4)
libcli/auth/msrpc_parse.c
libcli/auth/msrpc_parse.h
libcli/auth/ntlmssp_server.c
libcli/auth/ntlmssp_sign.c
libcli/auth/smbencrypt.c
source3/libsmb/ntlmssp.c
source4/auth/ntlmssp/ntlmssp_client.c