summaryrefslogtreecommitdiff
path: root/source3/rpc_server/spoolss
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/spoolss
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/spoolss')
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c112
1 files changed, 56 insertions, 56 deletions
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index b67d571807..e0612ac36c 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -10326,7 +10326,7 @@ WERROR _spoolss_AddPort(struct pipes_struct *p,
WERROR _spoolss_GetPrinterDriver(struct pipes_struct *p,
struct spoolss_GetPrinterDriver *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10337,7 +10337,7 @@ WERROR _spoolss_GetPrinterDriver(struct pipes_struct *p,
WERROR _spoolss_ReadPrinter(struct pipes_struct *p,
struct spoolss_ReadPrinter *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10348,7 +10348,7 @@ WERROR _spoolss_ReadPrinter(struct pipes_struct *p,
WERROR _spoolss_WaitForPrinterChange(struct pipes_struct *p,
struct spoolss_WaitForPrinterChange *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10359,7 +10359,7 @@ WERROR _spoolss_WaitForPrinterChange(struct pipes_struct *p,
WERROR _spoolss_ConfigurePort(struct pipes_struct *p,
struct spoolss_ConfigurePort *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10370,7 +10370,7 @@ WERROR _spoolss_ConfigurePort(struct pipes_struct *p,
WERROR _spoolss_DeletePort(struct pipes_struct *p,
struct spoolss_DeletePort *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10381,7 +10381,7 @@ WERROR _spoolss_DeletePort(struct pipes_struct *p,
WERROR _spoolss_CreatePrinterIC(struct pipes_struct *p,
struct spoolss_CreatePrinterIC *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10392,7 +10392,7 @@ WERROR _spoolss_CreatePrinterIC(struct pipes_struct *p,
WERROR _spoolss_PlayGDIScriptOnPrinterIC(struct pipes_struct *p,
struct spoolss_PlayGDIScriptOnPrinterIC *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10403,7 +10403,7 @@ WERROR _spoolss_PlayGDIScriptOnPrinterIC(struct pipes_struct *p,
WERROR _spoolss_DeletePrinterIC(struct pipes_struct *p,
struct spoolss_DeletePrinterIC *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10414,7 +10414,7 @@ WERROR _spoolss_DeletePrinterIC(struct pipes_struct *p,
WERROR _spoolss_AddPrinterConnection(struct pipes_struct *p,
struct spoolss_AddPrinterConnection *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10425,7 +10425,7 @@ WERROR _spoolss_AddPrinterConnection(struct pipes_struct *p,
WERROR _spoolss_DeletePrinterConnection(struct pipes_struct *p,
struct spoolss_DeletePrinterConnection *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10436,7 +10436,7 @@ WERROR _spoolss_DeletePrinterConnection(struct pipes_struct *p,
WERROR _spoolss_PrinterMessageBox(struct pipes_struct *p,
struct spoolss_PrinterMessageBox *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10447,7 +10447,7 @@ WERROR _spoolss_PrinterMessageBox(struct pipes_struct *p,
WERROR _spoolss_AddMonitor(struct pipes_struct *p,
struct spoolss_AddMonitor *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10458,7 +10458,7 @@ WERROR _spoolss_AddMonitor(struct pipes_struct *p,
WERROR _spoolss_DeleteMonitor(struct pipes_struct *p,
struct spoolss_DeleteMonitor *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10469,7 +10469,7 @@ WERROR _spoolss_DeleteMonitor(struct pipes_struct *p,
WERROR _spoolss_DeletePrintProcessor(struct pipes_struct *p,
struct spoolss_DeletePrintProcessor *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10480,7 +10480,7 @@ WERROR _spoolss_DeletePrintProcessor(struct pipes_struct *p,
WERROR _spoolss_AddPrintProvidor(struct pipes_struct *p,
struct spoolss_AddPrintProvidor *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10491,7 +10491,7 @@ WERROR _spoolss_AddPrintProvidor(struct pipes_struct *p,
WERROR _spoolss_DeletePrintProvidor(struct pipes_struct *p,
struct spoolss_DeletePrintProvidor *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10502,7 +10502,7 @@ WERROR _spoolss_DeletePrintProvidor(struct pipes_struct *p,
WERROR _spoolss_FindFirstPrinterChangeNotification(struct pipes_struct *p,
struct spoolss_FindFirstPrinterChangeNotification *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10513,7 +10513,7 @@ WERROR _spoolss_FindFirstPrinterChangeNotification(struct pipes_struct *p,
WERROR _spoolss_FindNextPrinterChangeNotification(struct pipes_struct *p,
struct spoolss_FindNextPrinterChangeNotification *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10524,7 +10524,7 @@ WERROR _spoolss_FindNextPrinterChangeNotification(struct pipes_struct *p,
WERROR _spoolss_RouterFindFirstPrinterChangeNotificationOld(struct pipes_struct *p,
struct spoolss_RouterFindFirstPrinterChangeNotificationOld *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10535,7 +10535,7 @@ WERROR _spoolss_RouterFindFirstPrinterChangeNotificationOld(struct pipes_struct
WERROR _spoolss_ReplyOpenPrinter(struct pipes_struct *p,
struct spoolss_ReplyOpenPrinter *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10546,7 +10546,7 @@ WERROR _spoolss_ReplyOpenPrinter(struct pipes_struct *p,
WERROR _spoolss_RouterReplyPrinter(struct pipes_struct *p,
struct spoolss_RouterReplyPrinter *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10557,7 +10557,7 @@ WERROR _spoolss_RouterReplyPrinter(struct pipes_struct *p,
WERROR _spoolss_ReplyClosePrinter(struct pipes_struct *p,
struct spoolss_ReplyClosePrinter *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10568,7 +10568,7 @@ WERROR _spoolss_ReplyClosePrinter(struct pipes_struct *p,
WERROR _spoolss_AddPortEx(struct pipes_struct *p,
struct spoolss_AddPortEx *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10579,7 +10579,7 @@ WERROR _spoolss_AddPortEx(struct pipes_struct *p,
WERROR _spoolss_RouterFindFirstPrinterChangeNotification(struct pipes_struct *p,
struct spoolss_RouterFindFirstPrinterChangeNotification *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10590,7 +10590,7 @@ WERROR _spoolss_RouterFindFirstPrinterChangeNotification(struct pipes_struct *p,
WERROR _spoolss_SpoolerInit(struct pipes_struct *p,
struct spoolss_SpoolerInit *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10601,7 +10601,7 @@ WERROR _spoolss_SpoolerInit(struct pipes_struct *p,
WERROR _spoolss_ResetPrinterEx(struct pipes_struct *p,
struct spoolss_ResetPrinterEx *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10612,7 +10612,7 @@ WERROR _spoolss_ResetPrinterEx(struct pipes_struct *p,
WERROR _spoolss_RouterReplyPrinterEx(struct pipes_struct *p,
struct spoolss_RouterReplyPrinterEx *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10623,7 +10623,7 @@ WERROR _spoolss_RouterReplyPrinterEx(struct pipes_struct *p,
WERROR _spoolss_44(struct pipes_struct *p,
struct spoolss_44 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10634,7 +10634,7 @@ WERROR _spoolss_44(struct pipes_struct *p,
WERROR _spoolss_SetPort(struct pipes_struct *p,
struct spoolss_SetPort *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10645,7 +10645,7 @@ WERROR _spoolss_SetPort(struct pipes_struct *p,
WERROR _spoolss_4a(struct pipes_struct *p,
struct spoolss_4a *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10656,7 +10656,7 @@ WERROR _spoolss_4a(struct pipes_struct *p,
WERROR _spoolss_4b(struct pipes_struct *p,
struct spoolss_4b *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10667,7 +10667,7 @@ WERROR _spoolss_4b(struct pipes_struct *p,
WERROR _spoolss_4c(struct pipes_struct *p,
struct spoolss_4c *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10678,7 +10678,7 @@ WERROR _spoolss_4c(struct pipes_struct *p,
WERROR _spoolss_53(struct pipes_struct *p,
struct spoolss_53 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10689,7 +10689,7 @@ WERROR _spoolss_53(struct pipes_struct *p,
WERROR _spoolss_AddPerMachineConnection(struct pipes_struct *p,
struct spoolss_AddPerMachineConnection *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10700,7 +10700,7 @@ WERROR _spoolss_AddPerMachineConnection(struct pipes_struct *p,
WERROR _spoolss_DeletePerMachineConnection(struct pipes_struct *p,
struct spoolss_DeletePerMachineConnection *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10711,7 +10711,7 @@ WERROR _spoolss_DeletePerMachineConnection(struct pipes_struct *p,
WERROR _spoolss_EnumPerMachineConnections(struct pipes_struct *p,
struct spoolss_EnumPerMachineConnections *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10722,7 +10722,7 @@ WERROR _spoolss_EnumPerMachineConnections(struct pipes_struct *p,
WERROR _spoolss_5a(struct pipes_struct *p,
struct spoolss_5a *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10733,7 +10733,7 @@ WERROR _spoolss_5a(struct pipes_struct *p,
WERROR _spoolss_5b(struct pipes_struct *p,
struct spoolss_5b *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10744,7 +10744,7 @@ WERROR _spoolss_5b(struct pipes_struct *p,
WERROR _spoolss_5c(struct pipes_struct *p,
struct spoolss_5c *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10755,7 +10755,7 @@ WERROR _spoolss_5c(struct pipes_struct *p,
WERROR _spoolss_5d(struct pipes_struct *p,
struct spoolss_5d *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10766,7 +10766,7 @@ WERROR _spoolss_5d(struct pipes_struct *p,
WERROR _spoolss_5e(struct pipes_struct *p,
struct spoolss_5e *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10777,7 +10777,7 @@ WERROR _spoolss_5e(struct pipes_struct *p,
WERROR _spoolss_5f(struct pipes_struct *p,
struct spoolss_5f *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10788,7 +10788,7 @@ WERROR _spoolss_5f(struct pipes_struct *p,
WERROR _spoolss_60(struct pipes_struct *p,
struct spoolss_60 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10799,7 +10799,7 @@ WERROR _spoolss_60(struct pipes_struct *p,
WERROR _spoolss_61(struct pipes_struct *p,
struct spoolss_61 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10810,7 +10810,7 @@ WERROR _spoolss_61(struct pipes_struct *p,
WERROR _spoolss_62(struct pipes_struct *p,
struct spoolss_62 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10821,7 +10821,7 @@ WERROR _spoolss_62(struct pipes_struct *p,
WERROR _spoolss_63(struct pipes_struct *p,
struct spoolss_63 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10832,7 +10832,7 @@ WERROR _spoolss_63(struct pipes_struct *p,
WERROR _spoolss_64(struct pipes_struct *p,
struct spoolss_64 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10843,7 +10843,7 @@ WERROR _spoolss_64(struct pipes_struct *p,
WERROR _spoolss_65(struct pipes_struct *p,
struct spoolss_65 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10854,7 +10854,7 @@ WERROR _spoolss_65(struct pipes_struct *p,
WERROR _spoolss_GetCorePrinterDrivers(struct pipes_struct *p,
struct spoolss_GetCorePrinterDrivers *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10865,7 +10865,7 @@ WERROR _spoolss_GetCorePrinterDrivers(struct pipes_struct *p,
WERROR _spoolss_67(struct pipes_struct *p,
struct spoolss_67 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10876,7 +10876,7 @@ WERROR _spoolss_67(struct pipes_struct *p,
WERROR _spoolss_GetPrinterDriverPackagePath(struct pipes_struct *p,
struct spoolss_GetPrinterDriverPackagePath *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10887,7 +10887,7 @@ WERROR _spoolss_GetPrinterDriverPackagePath(struct pipes_struct *p,
WERROR _spoolss_69(struct pipes_struct *p,
struct spoolss_69 *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10898,7 +10898,7 @@ WERROR _spoolss_69(struct pipes_struct *p,
WERROR _spoolss_6a(struct pipes_struct *p,
struct spoolss_6a *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10909,7 +10909,7 @@ WERROR _spoolss_6a(struct pipes_struct *p,
WERROR _spoolss_6b(struct pipes_struct *p,
struct spoolss_6b *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10920,7 +10920,7 @@ WERROR _spoolss_6b(struct pipes_struct *p,
WERROR _spoolss_6c(struct pipes_struct *p,
struct spoolss_6c *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -10931,6 +10931,6 @@ WERROR _spoolss_6c(struct pipes_struct *p,
WERROR _spoolss_6d(struct pipes_struct *p,
struct spoolss_6d *r)
{
- p->rng_fault_state = true;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}