summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-11 00:36:15 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-11 00:36:15 +0000
commit07eb9133efc76b141b963fce0e157d7fbbdd939f (patch)
tree9994bdf1afe4966d53048a6104b2d87387f8f721 /source3/rpcclient
parent73cd96ec90ceecb54402daf5ee199861860296d2 (diff)
downloadsamba-07eb9133efc76b141b963fce0e157d7fbbdd939f.tar.gz
samba-07eb9133efc76b141b963fce0e157d7fbbdd939f.tar.bz2
samba-07eb9133efc76b141b963fce0e157d7fbbdd939f.zip
- renamed open_policy to open_hklm.
- renamed open_unk_4 to open_hku - fixed createkey issue spotted by phil cox (This used to be commit 7df85b956787f02d022b34ef8cfc13fc967ae89c)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_reg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source3/rpcclient/cmd_reg.c b/source3/rpcclient/cmd_reg.c
index 7dfc355569..189f4fe9d4 100644
--- a/source3/rpcclient/cmd_reg.c
+++ b/source3/rpcclient/cmd_reg.c
@@ -83,7 +83,7 @@ void cmd_reg_enum(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_WINREG) : False;
/* open registry receive a policy handle */
- res = res ? do_reg_open_policy(smb_cli,
+ res = res ? do_reg_open_hklm(smb_cli,
0x84E0, 0x02000000,
&info->dom.reg_pol_connect) : False;
@@ -220,7 +220,7 @@ void cmd_reg_query_key(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_WINREG) : False;
/* open registry receive a policy handle */
- res = res ? do_reg_open_policy(smb_cli,
+ res = res ? do_reg_open_hklm(smb_cli,
0x84E0, 0x02000000,
&info->dom.reg_pol_connect) : False;
@@ -320,11 +320,11 @@ void cmd_reg_test2(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_WINREG) : False;
/* open registry receive a policy handle */
- res = res ? do_reg_open_policy(smb_cli,
+ res = res ? do_reg_open_hklm(smb_cli,
0x84E0, 0x02000000,
&info->dom.reg_pol_connect) : False;
- res1 = res ? do_reg_open_unk_4(smb_cli,
+ res1 = res ? do_reg_open_hku(smb_cli,
0x84E0, 0x02000000,
&info->dom.reg_pol_unk_4 ) : False;
@@ -477,7 +477,7 @@ void cmd_reg_create_val(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_WINREG) : False;
/* open registry receive a policy handle */
- res = res ? do_reg_open_policy(smb_cli,
+ res = res ? do_reg_open_hklm(smb_cli,
0x84E0, 0x02000000,
&info->dom.reg_pol_connect) : False;
@@ -543,7 +543,7 @@ void cmd_reg_delete_key(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_WINREG) : False;
/* open registry receive a policy handle */
- res = res ? do_reg_open_policy(smb_cli,
+ res = res ? do_reg_open_hklm(smb_cli,
0x84E0, 0x02000000,
&info->dom.reg_pol_connect) : False;
@@ -627,7 +627,7 @@ void cmd_reg_create_key(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_WINREG) : False;
/* open registry receive a policy handle */
- res = res ? do_reg_open_policy(smb_cli,
+ res = res ? do_reg_open_hklm(smb_cli,
0x84E0, 0x02000000,
&info->dom.reg_pol_connect) : False;
@@ -696,7 +696,7 @@ void cmd_reg_get_key_sec(struct client_info *info)
res = res ? cli_nt_session_open(smb_cli, PIPE_WINREG) : False;
/* open registry receive a policy handle */
- res = res ? do_reg_open_policy(smb_cli,
+ res = res ? do_reg_open_hklm(smb_cli,
0x84E0, 0x02000000,
&info->dom.reg_pol_connect) : False;