summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorShirish Kalele <kalele@samba.org>2000-05-18 18:43:53 +0000
committerShirish Kalele <kalele@samba.org>2000-05-18 18:43:53 +0000
commit15e7d8f6c5cddf6ce409ee2505744250d181ec34 (patch)
tree7905576b7af672551f1ed44656eb5dad56768eaa /source/rpc_client
parent36629d2a934fe61e68f87c5d2faf67158b365ae6 (diff)
downloadsamba-15e7d8f6c5cddf6ce409ee2505744250d181ec34.tar.gz
samba-15e7d8f6c5cddf6ce409ee2505744250d181ec34.tar.xz
samba-15e7d8f6c5cddf6ce409ee2505744250d181ec34.zip
Added the NETDFS pipe to allow remote administration of the msdfs symlinks
on the samba server.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_reg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/rpc_client/cli_reg.c b/source/rpc_client/cli_reg.c
index c92f3f3857e..d8b6931b424 100644
--- a/source/rpc_client/cli_reg.c
+++ b/source/rpc_client/cli_reg.c
@@ -389,7 +389,7 @@ BOOL do_reg_unknown_1a(struct cli_state *cli, POLICY_HND *hnd, uint32 *unk)
do a REG Query Info
****************************************************************************/
BOOL do_reg_query_info(struct cli_state *cli, POLICY_HND *hnd,
- char *type, uint32 *unk_0, uint32 *unk_1)
+ char *key_value, uint32* key_type)
{
prs_struct rbuf;
prs_struct buf;
@@ -438,7 +438,8 @@ BOOL do_reg_query_info(struct cli_state *cli, POLICY_HND *hnd,
return False;
}
- fstrcpy(type, dos_buffer2_to_str(r_o.uni_val));
+ fstrcpy(key_value, dos_buffer2_to_str(r_o.uni_val));
+ *key_type = r_o.type;
prs_mem_free(&rbuf);