winreg: Use the ntstatus return code for client side errors
authorDavid Disseldorp <ddiss@suse.de>
Wed, 6 Jul 2011 10:19:05 +0000 (12:19 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 8 Jul 2011 13:22:27 +0000 (15:22 +0200)
commit12710662006594156abcaa94f5574e52bb66fdf6
tree701eed1281efc99ab4f4856f975924418b373956
parentd6cd1ee03296a809a98031ca52de72a7757b4058
winreg: Use the ntstatus return code for client side errors

cli_winreg.c functions indicate status to the caller in two ways. The
ntstatus return code indicates client side errors, the pwerr argument
carries the server response error code.

Many functions are filling the pwerr argument on client side error, this
change removes these cases.

Signed-off-by: Andreas Schneider <asn@samba.org>
source3/rpc_client/cli_winreg.c