1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00

yet another attempt to get lsaquerysecret working.

(This used to be commit fbeceec501)
This commit is contained in:
Luke Leighton 1999-11-02 23:29:44 +00:00
parent 74224aa4f8
commit dcc037cfc6

View File

@ -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;