netlogon.idl: add support for netr_LogonGetCapabilities response level 2
authorStefan Metzmacher <metze@samba.org>
Sat, 15 Jul 2023 15:20:32 +0000 (17:20 +0200)
committerJule Anger <janger@samba.org>
Mon, 17 Jul 2023 08:28:47 +0000 (10:28 +0200)
We don't have any documentation about this yet, but tests against
a Windows Server 2022 patched with KB5028166 revealed that
the response for query_level=2 is exactly the same as
for querey_level=1.

Until we know the reason for query_level=2 we won't
use it as client nor support it in the server, but
we want ndrdump to work.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15418

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 5f87888ed53320538cf773d64868390d8641a40e)

librpc/idl/netlogon.idl

index d956a661fff7b6ff112daf194f87254384270002..b51767136d3c5dacafc5eb5b04cb426d01ae3ded 100644 (file)
@@ -1241,6 +1241,7 @@ interface netlogon
        /* Function 0x15 */
        typedef [switch_type(uint32)] union {
                [case(1)] netr_NegotiateFlags server_capabilities;
+               [case(2)] netr_NegotiateFlags server_capabilities;
        } netr_Capabilities;
 
        NTSTATUS netr_LogonGetCapabilities(