[cifs-protocol] LsarOpenPolicy3 and LsarQueryInformationPolicy2 - TrackingID#2407120040007167

Obaid Farooqi obaidf at microsoft.com
Fri Jul 12 16:49:20 UTC 2024


Hi Andreas:
Thanks for contacting Microsoft. I have created a case to track this issue. A member of the open specifications team will be in touch soon.
We received two emails for this issue so your 2nd and 3rd tries were successful.

Regards,
Obaid Farooqi
Escalation Engineer | Microsoft

-----Original Message-----
From: Andreas Schneider <asn at samba.org>
Sent: Friday, July 12, 2024 8:28 AM
To: Interoperability Documentation Help <dochelp at microsoft.com>
Cc: cifs-protocol at lists.samba.org
Subject: [EXTERNAL] LsarOpenPolicy3 and LsarQueryInformationPolicy2

Hello Dochelp Team,

3.1.4.4.9 LsarOpenPolicy3 (Opnum 130) has the following note:

> Note: LsarOpenPolicy3 supersedes LsarOpenPolicy2 and MUST be used
> whenever
possible.

3.1.4.4.3 LsarQueryInformationPolicy2 (Opnum 46) has:

> PolicyHandle: An RPC context handle obtained from either
> LsarOpenPolicy or
LsarOpenPolicy2.

Now the questions is, if it also works with LsarOpenPolicy3 and the comment hasn't been updated or if it really only works with LsarOpenPolicy and LsarOpenPolicy2.

I don't think there is a reason why it shouldn't work with a policy handle from LsarOpenPolicy3, but I guess it might not be the case.


Thanks for your help!


Best regards


        Andreas Schneider


P.S. The third try works right?

--
Andreas Schneider                      asn at samba.org
Samba Team                             http://www.samba.org/
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the cifs-protocol mailing list