summaryrefslogtreecommitdiff
path: root/source3/rpc_server/winreg
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/winreg
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/winreg')
-rw-r--r--source3/rpc_server/winreg/srv_winreg_nt.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/rpc_server/winreg/srv_winreg_nt.c b/source3/rpc_server/winreg/srv_winreg_nt.c
index 6fee5b6acd..176848b0d6 100644
--- a/source3/rpc_server/winreg/srv_winreg_nt.c
+++ b/source3/rpc_server/winreg/srv_winreg_nt.c
@@ -761,7 +761,7 @@ WERROR _winreg_SaveKeyEx(struct pipes_struct *p,
/* fill in your code here if you think this call should
do anything */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -949,7 +949,7 @@ WERROR _winreg_UnLoadKey(struct pipes_struct *p,
/* fill in your code here if you think this call should
do anything */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -963,7 +963,7 @@ WERROR _winreg_ReplaceKey(struct pipes_struct *p,
/* fill in your code here if you think this call should
do anything */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -977,7 +977,7 @@ WERROR _winreg_LoadKey(struct pipes_struct *p,
/* fill in your code here if you think this call should
do anything */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}
@@ -1140,6 +1140,6 @@ WERROR _winreg_DeleteKeyEx(struct pipes_struct *p,
/* fill in your code here if you think this call should
do anything */
- p->rng_fault_state = True;
+ p->fault_state = DCERPC_FAULT_OP_RNG_ERROR;
return WERR_NOT_SUPPORTED;
}