diff options
author | Gerald Carter <jerry@samba.org> | 2005-06-17 15:35:31 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-06-17 15:35:31 +0000 |
commit | 54539d88cab4178921f0b8019ec589c6b98d48bf (patch) | |
tree | ff5b00854a9b375aeceb41b8144958e124b0cfd5 /source/rpc_client | |
parent | 90c1028e02be13c3782704763d20b54493e3f180 (diff) | |
download | samba-54539d88cab4178921f0b8019ec589c6b98d48bf.tar.gz samba-54539d88cab4178921f0b8019ec589c6b98d48bf.tar.xz samba-54539d88cab4178921f0b8019ec589c6b98d48bf.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.
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_reg.c | 2 | ||||
-rw-r--r-- | source/rpc_client/cli_spoolss.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source/rpc_client/cli_reg.c b/source/rpc_client/cli_reg.c index 3f5b7652ac7..ca4b63c2822 100644 --- a/source/rpc_client/cli_reg.c +++ b/source/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/source/rpc_client/cli_spoolss.c b/source/rpc_client/cli_spoolss.c index 518c20ff9b0..8ed29f50fb9 100644 --- a/source/rpc_client/cli_spoolss.c +++ b/source/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++) { |