summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index b050830883..cb1cdc9416 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -963,7 +963,7 @@ NTSTATUS dcesrv_input_process(struct dcesrv_connection *dce_conn)
if (call->pkt.ptype == DCERPC_PKT_REQUEST &&
!dcesrv_auth_request(call, &blob)) {
dce_partial_advance(dce_conn, blob.length);
- return dcesrv_fault(call, DCERPC_FAULT_LOGON_FAILURE);
+ return dcesrv_fault(call, DCERPC_FAULT_ACCESS_DENIED);
}
dce_partial_advance(dce_conn, blob.length);