summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-13 00:45:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:21 -0500
commit47fa1d33e4a6b9aeaf06ad2c12d9744bdf967bb9 (patch)
treec49e1c6140d856fdf5c497791a1976def204fd5d /source4/rpc_server
parentfe01af9fb278a320820b41b7970a1f04b3b696a5 (diff)
downloadsamba-47fa1d33e4a6b9aeaf06ad2c12d9744bdf967bb9.tar.gz
samba-47fa1d33e4a6b9aeaf06ad2c12d9744bdf967bb9.tar.bz2
samba-47fa1d33e4a6b9aeaf06ad2c12d9744bdf967bb9.zip
r4166: More small API fixes, keep registry structs as small as possible.
Implement DelValue in the RPC server (This used to be commit f6b9ec89af934e837069fb26c0e3491fc78ebc12)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/winreg/rpc_winreg.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/source4/rpc_server/winreg/rpc_winreg.c b/source4/rpc_server/winreg/rpc_winreg.c
index 478c6c1d86..41147c089d 100644
--- a/source4/rpc_server/winreg/rpc_winreg.c
+++ b/source4/rpc_server/winreg/rpc_winreg.c
@@ -149,16 +149,14 @@ static WERROR winreg_DeleteValue(struct dcesrv_call_state *dce_call, TALLOC_CTX
struct winreg_DeleteValue *r)
{
struct dcesrv_handle *h;
- struct registry_value *value;
+ struct registry_key *key;
- h = dcesrv_handle_fetch(dce_call->conn, r->in.handle, HTYPE_REGVAL);
+ h = dcesrv_handle_fetch(dce_call->conn, r->in.handle, HTYPE_REGKEY);
DCESRV_CHECK_HANDLE(h);
- value = h->data;
+ key = h->data;
- /* FIXME */
-
- return WERR_NOT_SUPPORTED;
+ return reg_del_value(key, r->in.value.name);
}