From 76fe65b67e6d1baca49b488d07af771319c148e7 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 8 Jun 2017 17:20:50 +0200 Subject: netlogon.idl: Add netr_LogonSamLogon_flags bitmap See [MS-NRPC] 3.5.4.5.1 NetrLogonSamLogonEx (Opnum 39). Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider --- librpc/idl/netlogon.idl | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'librpc') diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl index 4d1a0ef237f..4f9da3d715d 100644 --- a/librpc/idl/netlogon.idl +++ b/librpc/idl/netlogon.idl @@ -1597,6 +1597,17 @@ interface netlogon /****************/ /* Function 0x27 */ + typedef [public,bitmap32bit] bitmap { + /* Request MUST be passed to the domain controller at the root of the forest. */ + NETLOGON_SAMLOGON_FLAG_PASS_TO_FOREST_ROOT = 0x00000001, + /* Request MUST be passed to the DC at the end of the first hop over a cross-forest trust. */ + NETLOGON_SAMLOGON_FLAG_PASS_CROSS_FOREST_HOP = 0x00000002, + /* Request was passed by an RODC to a DC in a different domain. */ + NETLOGON_SAMLOGON_FLAG_RODC_TO_OTHER_DOMAIN = 0x00000004, + /* Request is an NTLM authentication package request passed by an RODC. */ + NETLOGON_SAMLOGON_FLAG_RODC_NTLM_REQUEST = 0x00000008 + } netr_LogonSamLogon_flags; + NTSTATUS netr_LogonSamLogonEx( [in,unique] [string,charset(UTF16)] uint16 *server_name, [in,unique] [string,charset(UTF16)] uint16 *computer_name, @@ -1605,7 +1616,7 @@ interface netlogon [in] uint16 validation_level, [out,ref] [switch_is(validation_level)] netr_Validation *validation, [out,ref] uint8 *authoritative, - [in,out,ref] uint32 *flags + [in,out,ref] netr_LogonSamLogon_flags *flags ); /****************/ @@ -1678,7 +1689,7 @@ interface netlogon [in] uint16 validation_level, [out,ref] [switch_is(validation_level)] netr_Validation *validation, [out,ref] uint8 *authoritative, - [in,out,ref] uint32 *flags + [in,out,ref] netr_LogonSamLogon_flags *flags ); /****************/ -- cgit v1.2.1