summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-17 15:35:31 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:19 -0500
commit2129d3c711a109b47c3c1596a6a639520d2f72d2 (patch)
tree4627816c5ff9085a1f87c7e981f6f21f3693899f /source3/rpc_client
parent2102f6bff9641eeec3b593529be7bf8d9ec784d4 (diff)
downloadsamba-2129d3c711a109b47c3c1596a6a639520d2f72d2.tar.gz
samba-2129d3c711a109b47c3c1596a6a639520d2f72d2.tar.bz2
samba-2129d3c711a109b47c3c1596a6a639520d2f72d2.zip
r7691: * add .gdbinit to the svn:ignore files
* start adding write support to the Samba registry Flesh out the server implementations of RegCreateKey(), RegSetValue(), RegDeleteKey() and RegDeleteValue() I can create a new key using regedit.exe now but the 'New Key #1' key cannot be deleted yet. (This used to be commit e188fdbef8f0ad202b0ecf3c30be2941ebe6d5b1)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_reg.c2
-rw-r--r--source3/rpc_client/cli_spoolss.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index 3f5b7652ac..ca4b63c282 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/rpc_client/cli_reg.c
@@ -474,7 +474,7 @@ WERROR cli_reg_create_key(struct cli_state *cli, TALLOC_CTX *mem_ctx,
if ( !W_ERROR_IS_OK( out.status ) )
return out.status;
- memcpy( key, &out.key_pol, sizeof(POLICY_HND) );
+ memcpy( key, &out.handle, sizeof(POLICY_HND) );
return out.status;
}
diff --git a/source3/rpc_client/cli_spoolss.c b/source3/rpc_client/cli_spoolss.c
index 518c20ff9b..8ed29f50fb 100644
--- a/source3/rpc_client/cli_spoolss.c
+++ b/source3/rpc_client/cli_spoolss.c
@@ -2270,7 +2270,6 @@ WERROR cli_spoolss_enumprinterdataex(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/* Return data */
- ZERO_STRUCTP(ctr);
regval_ctr_init(ctr);
for (i = 0; i < r.returned; i++) {