summaryrefslogtreecommitdiff
path: root/source3/rpc_server/eventlog/srv_eventlog_nt.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-06-27 15:21:11 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-07-06 10:00:56 +0200
commitfae6091f1df9ae77f96743f6467b20386f6db404 (patch)
tree12619448206de8bd9496adb64e34c4016ba14e44 /source3/rpc_server/eventlog/srv_eventlog_nt.c
parent81ff67c3c8a9648a233c2a78450b68496c5c4332 (diff)
downloadsamba-fae6091f1df9ae77f96743f6467b20386f6db404.tar.gz
samba-fae6091f1df9ae77f96743f6467b20386f6db404.tar.bz2
samba-fae6091f1df9ae77f96743f6467b20386f6db404.zip
s3-rpc_server: Make it possible to use more rpc exceptions.
Diffstat (limited to 'source3/rpc_server/eventlog/srv_eventlog_nt.c')
-rw-r--r--source3/rpc_server/eventlog/srv_eventlog_nt.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/source3/rpc_server/eventlog/srv_eventlog_nt.c b/source3/rpc_server/eventlog/srv_eventlog_nt.c
index ea3da4dfff..67ab471444 100644
--- a/source3/rpc_server/eventlog/srv_eventlog_nt.c
+++ b/source3/rpc_server/eventlog/srv_eventlog_nt.c
@@ -696,7 +696,7 @@ NTSTATUS _eventlog_GetNumRecords(struct pipes_struct *p,
NTSTATUS _eventlog_BackupEventLogW(struct pipes_struct *p, struct eventlog_BackupEventLogW *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
@@ -839,104 +839,104 @@ NTSTATUS _eventlog_ReportEventW(struct pipes_struct *p,
NTSTATUS _eventlog_DeregisterEventSource(struct pipes_struct *p,
struct eventlog_DeregisterEventSource *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_ChangeNotify(struct pipes_struct *p,
struct eventlog_ChangeNotify *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_RegisterEventSourceW(struct pipes_struct *p,
struct eventlog_RegisterEventSourceW *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_OpenBackupEventLogW(struct pipes_struct *p,
struct eventlog_OpenBackupEventLogW *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_ClearEventLogA(struct pipes_struct *p,
struct eventlog_ClearEventLogA *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_BackupEventLogA(struct pipes_struct *p,
struct eventlog_BackupEventLogA *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_OpenEventLogA(struct pipes_struct *p,
struct eventlog_OpenEventLogA *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_RegisterEventSourceA(struct pipes_struct *p,
struct eventlog_RegisterEventSourceA *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_OpenBackupEventLogA(struct pipes_struct *p,
struct eventlog_OpenBackupEventLogA *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_ReadEventLogA(struct pipes_struct *p,
struct eventlog_ReadEventLogA *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_ReportEventA(struct pipes_struct *p,
struct eventlog_ReportEventA *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_RegisterClusterSvc(struct pipes_struct *p,
struct eventlog_RegisterClusterSvc *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_DeregisterClusterSvc(struct pipes_struct *p,
struct eventlog_DeregisterClusterSvc *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_WriteClusterEvents(struct pipes_struct *p,
struct eventlog_WriteClusterEvents *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}
NTSTATUS _eventlog_ReportEventAndSourceW(struct pipes_struct *p,
struct eventlog_ReportEventAndSourceW *r)
{
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return NT_STATUS_NOT_IMPLEMENTED;
}