summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-08-14 05:29:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:59 -0500
commitdd4a93dfa0af2b5a0006769d6c97efa24beb4974 (patch)
treeea61280a1b5346e86e7195f6e54fffc51324cb0c /source4
parent1406581761633a01acbff68d62278fbffc4b9498 (diff)
downloadsamba-dd4a93dfa0af2b5a0006769d6c97efa24beb4974.tar.gz
samba-dd4a93dfa0af2b5a0006769d6c97efa24beb4974.tar.bz2
samba-dd4a93dfa0af2b5a0006769d6c97efa24beb4974.zip
r1817: fixed fault code generation for unimplemented functions in epmapper
thanks to volker for spotting these! (This used to be commit b2152912caee1020fa2e2ea13728fc78a875bc5d)
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/epmapper/rpc_epmapper.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/rpc_server/epmapper/rpc_epmapper.c b/source4/rpc_server/epmapper/rpc_epmapper.c
index 18139dfdce..eec804e116 100644
--- a/source4/rpc_server/epmapper/rpc_epmapper.c
+++ b/source4/rpc_server/epmapper/rpc_epmapper.c
@@ -148,13 +148,13 @@ static uint32_t build_ep_list(TALLOC_CTX *mem_ctx,
static NTSTATUS epm_Insert(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct epm_Insert *r)
{
- return NT_STATUS_NOT_IMPLEMENTED;
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}
static NTSTATUS epm_Delete(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct epm_Delete *r)
{
- return NT_STATUS_NOT_IMPLEMENTED;
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}
@@ -312,19 +312,19 @@ failed:
static NTSTATUS epm_LookupHandleFree(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct epm_LookupHandleFree *r)
{
- return NT_STATUS_NOT_IMPLEMENTED;
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}
static NTSTATUS epm_InqObject(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct epm_InqObject *r)
{
- return NT_STATUS_NOT_IMPLEMENTED;
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}
static NTSTATUS epm_MgmtDelete(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct epm_MgmtDelete *r)
{
- return NT_STATUS_NOT_IMPLEMENTED;
+ DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
}
static NTSTATUS epm_MapAuth(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,