diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-02 23:29:44 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-02 23:29:44 +0000 |
commit | dcc037cfc6d96e65048b5b5f975cca834a751016 (patch) | |
tree | 0ffcdb2a04936701b40148bb5e50bdd780a3dfa2 /source3 | |
parent | 74224aa4f8b113644e4090d4b09c5dbde6339c79 (diff) | |
download | samba-dcc037cfc6d96e65048b5b5f975cca834a751016.tar.gz samba-dcc037cfc6d96e65048b5b5f975cca834a751016.tar.xz 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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index b2e06457887..c445d91f573 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; |