s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status()
commited764893d2674cb6f9d80409e7df7948c24b795f
authorStefan Metzmacher <metze@samba.org>
Sat, 23 Apr 2011 22:00:40 +0000 (24 00:00 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Apr 2011 18:10:50 +0000 (26 20:10 +0200)
treee6a36123a0b13c1b4ca2e91015a031215c755073
parent17f5c8cbd4901ea4cf8de390b84568bd89aef967
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
(cherry picked from commit f7bc84409a7a6736ec2cf1110dd7200a954e3b7e)
(cherry picked from commit 7031faeefc1c9ec5af5fdaee0bcfd3410640ff00)
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