summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2017-06-08 17:20:50 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-06-09 13:00:12 +0200
commit76fe65b67e6d1baca49b488d07af771319c148e7 (patch)
treed5d0bcf9416749a6b72b7c8260f72d40b88b7975 /librpc
parente0069bd2a4820eca17c59d91bd1853f2f053a7a3 (diff)
downloadsamba-76fe65b67e6d1baca49b488d07af771319c148e7.tar.gz
netlogon.idl: Add netr_LogonSamLogon_flags bitmap
See [MS-NRPC] 3.5.4.5.1 NetrLogonSamLogonEx (Opnum 39). Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/netlogon.idl15
1 files changed, 13 insertions, 2 deletions
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
);
/****************/