]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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:30 +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 e563e114900b95a4ee3de0690883059141b7e90e..c77151af26b1000b2d4c9f17c9db7146341c423d 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(