summaryrefslogtreecommitdiff
path: root/source3/rpc_server/wkssvc
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/wkssvc
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/wkssvc')
-rw-r--r--source3/rpc_server/wkssvc/srv_wkssvc_nt.c53
1 files changed, 27 insertions, 26 deletions
diff --git a/source3/rpc_server/wkssvc/srv_wkssvc_nt.c b/source3/rpc_server/wkssvc/srv_wkssvc_nt.c
index e65aa499cf..b40ca0bf42 100644
--- a/source3/rpc_server/wkssvc/srv_wkssvc_nt.c
+++ b/source3/rpc_server/wkssvc/srv_wkssvc_nt.c
@@ -405,7 +405,7 @@ WERROR _wkssvc_NetWkstaSetInfo(struct pipes_struct *p,
struct wkssvc_NetWkstaSetInfo *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -604,7 +604,7 @@ WERROR _wkssvc_NetrWkstaUserGetInfo(struct pipes_struct *p,
struct wkssvc_NetrWkstaUserGetInfo *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -615,7 +615,7 @@ WERROR _wkssvc_NetrWkstaUserSetInfo(struct pipes_struct *p,
struct wkssvc_NetrWkstaUserSetInfo *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -626,7 +626,7 @@ WERROR _wkssvc_NetWkstaTransportEnum(struct pipes_struct *p,
struct wkssvc_NetWkstaTransportEnum *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -637,7 +637,7 @@ WERROR _wkssvc_NetrWkstaTransportAdd(struct pipes_struct *p,
struct wkssvc_NetrWkstaTransportAdd *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -648,7 +648,7 @@ WERROR _wkssvc_NetrWkstaTransportDel(struct pipes_struct *p,
struct wkssvc_NetrWkstaTransportDel *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -659,7 +659,7 @@ WERROR _wkssvc_NetrUseAdd(struct pipes_struct *p,
struct wkssvc_NetrUseAdd *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -670,7 +670,7 @@ WERROR _wkssvc_NetrUseGetInfo(struct pipes_struct *p,
struct wkssvc_NetrUseGetInfo *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -681,7 +681,7 @@ WERROR _wkssvc_NetrUseDel(struct pipes_struct *p,
struct wkssvc_NetrUseDel *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -692,7 +692,7 @@ WERROR _wkssvc_NetrUseEnum(struct pipes_struct *p,
struct wkssvc_NetrUseEnum *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -703,7 +703,7 @@ WERROR _wkssvc_NetrMessageBufferSend(struct pipes_struct *p,
struct wkssvc_NetrMessageBufferSend *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -714,7 +714,7 @@ WERROR _wkssvc_NetrWorkstationStatisticsGet(struct pipes_struct *p,
struct wkssvc_NetrWorkstationStatisticsGet *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -725,7 +725,7 @@ WERROR _wkssvc_NetrLogonDomainNameAdd(struct pipes_struct *p,
struct wkssvc_NetrLogonDomainNameAdd *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -736,7 +736,7 @@ WERROR _wkssvc_NetrLogonDomainNameDel(struct pipes_struct *p,
struct wkssvc_NetrLogonDomainNameDel *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -747,7 +747,7 @@ WERROR _wkssvc_NetrJoinDomain(struct pipes_struct *p,
struct wkssvc_NetrJoinDomain *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -758,7 +758,7 @@ WERROR _wkssvc_NetrUnjoinDomain(struct pipes_struct *p,
struct wkssvc_NetrUnjoinDomain *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -769,7 +769,7 @@ WERROR _wkssvc_NetrRenameMachineInDomain(struct pipes_struct *p,
struct wkssvc_NetrRenameMachineInDomain *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -780,7 +780,7 @@ WERROR _wkssvc_NetrValidateName(struct pipes_struct *p,
struct wkssvc_NetrValidateName *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -791,7 +791,7 @@ WERROR _wkssvc_NetrGetJoinInformation(struct pipes_struct *p,
struct wkssvc_NetrGetJoinInformation *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -802,7 +802,7 @@ WERROR _wkssvc_NetrGetJoinableOus(struct pipes_struct *p,
struct wkssvc_NetrGetJoinableOus *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -958,6 +958,7 @@ WERROR _wkssvc_NetrRenameMachineInDomain2(struct pipes_struct *p,
struct wkssvc_NetrRenameMachineInDomain2 *r)
{
/* for now just return not supported */
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -968,7 +969,7 @@ WERROR _wkssvc_NetrValidateName2(struct pipes_struct *p,
struct wkssvc_NetrValidateName2 *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -979,7 +980,7 @@ WERROR _wkssvc_NetrGetJoinableOus2(struct pipes_struct *p,
struct wkssvc_NetrGetJoinableOus2 *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -990,7 +991,7 @@ WERROR _wkssvc_NetrAddAlternateComputerName(struct pipes_struct *p,
struct wkssvc_NetrAddAlternateComputerName *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -1001,7 +1002,7 @@ WERROR _wkssvc_NetrRemoveAlternateComputerName(struct pipes_struct *p,
struct wkssvc_NetrRemoveAlternateComputerName *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -1012,7 +1013,7 @@ WERROR _wkssvc_NetrSetPrimaryComputername(struct pipes_struct *p,
struct wkssvc_NetrSetPrimaryComputername *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -1023,6 +1024,6 @@ WERROR _wkssvc_NetrEnumerateComputerNames(struct pipes_struct *p,
struct wkssvc_NetrEnumerateComputerNames *r)
{
/* FIXME: Add implementation code here */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}