s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()
commitf7bc84409a7a6736ec2cf1110dd7200a954e3b7e
authorStefan Metzmacher <metze@samba.org>
Sat, 23 Apr 2011 22:00:40 +0000 (24 00:00 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 24 Apr 2011 08:44:53 +0000 (24 10:44 +0200)
tree06957e31b9ff2507842260c7cc969cd2645c1029
parente7cf7204e60552b45952325f343ea894fda21346
s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()

Most fault codes have a NTSTATUS representation, so use that.

This brings the fault handling in common with the source4/librpc/rpc code,
which make it possible to share more highlevel code, between source3 and
source4 as the error checking can be the same now.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104
source3/lib/netapi/user.c
source3/libnet/libnet_join.c
source3/rpc_client/cli_pipe.c
source3/winbindd/winbindd_cm.c
source3/winbindd/winbindd_msrpc.c
source3/winbindd/winbindd_pam.c