From fae6091f1df9ae77f96743f6467b20386f6db404 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 27 Jun 2012 15:21:11 +0200 Subject: s3-rpc_server: Make it possible to use more rpc exceptions. --- source3/rpc_server/winreg/srv_winreg_nt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/rpc_server/winreg/srv_winreg_nt.c') 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; } -- cgit