summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/epmapper/srv_epmapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/epmapper/srv_epmapper.c b/source3/rpc_server/epmapper/srv_epmapper.c
index fa3177ea9f..c492580258 100644
--- a/source3/rpc_server/epmapper/srv_epmapper.c
+++ b/source3/rpc_server/epmapper/srv_epmapper.c
@@ -306,6 +306,7 @@ error_status_t _epm_Insert(struct pipes_struct *p,
/* If this is not a priviledged users, return */
if (p->transport != NCALRPC ||
!is_priviledged_pipe(p->session_info)) {
+ p->rng_fault_state = true;
return EPMAPPER_STATUS_CANT_PERFORM_OP;
}
@@ -442,6 +443,7 @@ error_status_t _epm_Delete(struct pipes_struct *p,
/* If this is not a priviledged users, return */
if (p->transport != NCALRPC ||
!is_priviledged_pipe(p->session_info)) {
+ p->rng_fault_state = true;
return EPMAPPER_STATUS_CANT_PERFORM_OP;
}