summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-02 23:29:44 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-02 23:29:44 +0000
commitdcc037cfc6d96e65048b5b5f975cca834a751016 (patch)
tree0ffcdb2a04936701b40148bb5e50bdd780a3dfa2 /source3
parent74224aa4f8b113644e4090d4b09c5dbde6339c79 (diff)
downloadsamba-dcc037cfc6d96e65048b5b5f975cca834a751016.tar.gz
samba-dcc037cfc6d96e65048b5b5f975cca834a751016.tar.bz2
samba-dcc037cfc6d96e65048b5b5f975cca834a751016.zip
yet another attempt to get lsaquerysecret working.
(This used to be commit fbeceec5016c634136cdbb14423e25992d9521e9)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index b2e0645788..c445d91f57 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -409,12 +409,12 @@ void cmd_lsa_query_secret(struct client_info *info)
/* lookup domain controller; receive a policy handle */
res = res ? lsa_open_policy2(smb_cli, nt_pipe_fnum,
srv_name,
- &info->dom.lsa_info_pol, True) : False;
+ &info->dom.lsa_info_pol, False) : False;
/* lookup domain controller; receive a policy handle */
res1 = res ? lsa_open_secret(smb_cli, nt_pipe_fnum,
&info->dom.lsa_info_pol,
- secret_name, 0x020003, &hnd_secret) : False;
+ secret_name, 0x02000000, &hnd_secret) : False;
res2 = res1 ? lsa_query_secret(smb_cli, nt_pipe_fnum,
&hnd_secret, &enc_secret, &last_update) : False;