summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-01-30 17:34:35 +0100
committerStefan Metzmacher <metze@samba.org>2011-01-30 18:24:04 +0100
commit4d66e0ef93177d6029ffcd57299f15e876f25ff9 (patch)
tree78733e9351603ba4cc44e3992815c1d612473463 /librpc
parent8d07deaeaacbd376f9824ac350c01510e05a76ca (diff)
downloadsamba-4d66e0ef93177d6029ffcd57299f15e876f25ff9.tar.gz
samba-4d66e0ef93177d6029ffcd57299f15e876f25ff9.tar.bz2
samba-4d66e0ef93177d6029ffcd57299f15e876f25ff9.zip
librpc/rpc: add dcerpc_fault_to_nt_status() mapping from DCERPC_FAULT_SEC_PKG_ERROR
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Jan 30 18:24:04 CET 2011 on sn-devel-104
Diffstat (limited to 'librpc')
-rw-r--r--librpc/rpc/dcerpc_error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/librpc/rpc/dcerpc_error.c b/librpc/rpc/dcerpc_error.c
index b4289db356..17095e5057 100644
--- a/librpc/rpc/dcerpc_error.c
+++ b/librpc/rpc/dcerpc_error.c
@@ -114,6 +114,8 @@ _PUBLIC_ NTSTATUS dcerpc_fault_to_nt_status(uint32_t fault_code)
return NT_STATUS_RPC_CALL_FAILED;
case DCERPC_FAULT_ACCESS_DENIED:
return NT_STATUS_ACCESS_DENIED;
+ case DCERPC_FAULT_SEC_PKG_ERROR:
+ return NT_STATUS_RPC_SEC_PKG_ERROR;
}
return NT_STATUS_RPC_PROTOCOL_ERROR;