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:
parent
74224aa4f8
commit
dcc037cfc6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user