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

Sreekanth Nadendla srenaden at microsoft.com
Tue Jul 16 19:47:59 UTC 2024


Hello Andreas, PolicyHandle can be obtained from LsarOpenPolicy3. Below is the proposed change to the document MS-LSAD

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


Regards,

Sreekanth Nadendla

Microsoft Windows Open Specifications

________________________________

-----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                             https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.samba.org%2F&data=05%7C02%7Csrenaden%40microsoft.com%7C4545516e6c894f601e9a08dca29295d9%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638563997668870137%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=u0ECO1K%2BQAbxegC%2B2pscCzsu77zahKqExkZ5HYtlA4Y%3D&reserved=0<http://www.samba.org/>
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20240716/1035d52b/attachment.htm>


More information about the cifs-protocol mailing list