summaryrefslogtreecommitdiff
path: root/source3/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
commit74d677ec591a715e28dba29a33ee40e1b1c2f830 (patch)
tree110c04458f574ca708fe3616b40ed2ba32d2cbaf /source3/rpc_client
parent7b49e6ac6c1b1d9e3fe0e4498a1def63b9532906 (diff)
downloadsamba-74d677ec591a715e28dba29a33ee40e1b1c2f830.tar.gz
samba-74d677ec591a715e28dba29a33ee40e1b1c2f830.tar.bz2
samba-74d677ec591a715e28dba29a33ee40e1b1c2f830.zip
Added the NETDFS pipe to allow remote administration of the msdfs symlinks
on the samba server. (This used to be commit 15e7d8f6c5cddf6ce409ee2505744250d181ec34)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_reg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_reg.c b/source3/rpc_client/cli_reg.c
index c92f3f3857..d8b6931b42 100644
--- a/source3/rpc_client/cli_reg.c
+++ b/source3/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);