diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-10-10 08:39:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:23 -0500 |
commit | 4980baf2e1f1de2715b1c0243ea7e79668d87501 (patch) | |
tree | 7171e3f41ac21aa675def65a76038a622e3b18fc /source3/rpc_server/srv_winreg_nt.c | |
parent | 6b0b563fa43ad4c7de3573dc7962a2698e140f72 (diff) | |
download | samba-4980baf2e1f1de2715b1c0243ea7e79668d87501.tar.gz samba-4980baf2e1f1de2715b1c0243ea7e79668d87501.tar.bz2 samba-4980baf2e1f1de2715b1c0243ea7e79668d87501.zip |
r19224: Add setting the rng_fault_state to the already converted pipes.
Convert the low-hanging fruit of the LSA server. This provides a sample how
the server calls can be converted one by one, see the "proxy_lsa_call"
function.
Volker
(This used to be commit 99e54a213ad3561ea6e8dc44c483847c18c5681e)
Diffstat (limited to 'source3/rpc_server/srv_winreg_nt.c')
-rw-r--r-- | source3/rpc_server/srv_winreg_nt.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_winreg_nt.c b/source3/rpc_server/srv_winreg_nt.c index 92ea0b3d85..090338a301 100644 --- a/source3/rpc_server/srv_winreg_nt.c +++ b/source3/rpc_server/srv_winreg_nt.c @@ -938,8 +938,6 @@ WERROR _winreg_RestoreKey(pipes_struct *p, struct policy_handle *handle, struct DEBUG(2,("_winreg_RestoreKey: Restoring [%s] from %s in share %s\n", regkey->name, fname, lp_servicename(snum) )); return restore_registry_key( regkey, fname ); - - return WERR_NOT_SUPPORTED; } /******************************************************************** @@ -1130,6 +1128,7 @@ WERROR _winreg_SaveKeyEx(pipes_struct *p) /* fill in your code here if you think this call should do anything */ + p->rng_fault_state = True; return WERR_NOT_SUPPORTED; } @@ -1472,6 +1471,7 @@ WERROR _winreg_UnLoadKey(pipes_struct *p) /* fill in your code here if you think this call should do anything */ + p->rng_fault_state = True; return WERR_NOT_SUPPORTED; } @@ -1483,6 +1483,7 @@ WERROR _winreg_ReplaceKey(pipes_struct *p) /* fill in your code here if you think this call should do anything */ + p->rng_fault_state = True; return WERR_NOT_SUPPORTED; } @@ -1494,6 +1495,7 @@ WERROR _winreg_LoadKey(pipes_struct *p, struct policy_handle *handle, struct win /* fill in your code here if you think this call should do anything */ + p->rng_fault_state = True; return WERR_NOT_SUPPORTED; } @@ -1505,6 +1507,7 @@ WERROR _winreg_NotifyChangeKeyValue(pipes_struct *p, struct policy_handle *handl /* fill in your code here if you think this call should do anything */ + p->rng_fault_state = True; return WERR_NOT_SUPPORTED; } @@ -1516,6 +1519,7 @@ WERROR _winreg_QueryMultipleValues(pipes_struct *p, struct policy_handle *key_ha /* fill in your code here if you think this call should do anything */ + p->rng_fault_state = True; return WERR_NOT_SUPPORTED; } @@ -1527,6 +1531,7 @@ WERROR _winreg_QueryMultipleValues2(pipes_struct *p) /* fill in your code here if you think this call should do anything */ + p->rng_fault_state = True; return WERR_NOT_SUPPORTED; } |