From b0ca8ed4559efae38933f49a638e7b51ae8bf0c8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 8 Apr 2005 08:57:09 +0000 Subject: r6247: added the server side code for receiving mailslot requests, and parsing incoming netlogon requests. No replies are sent yet. (This used to be commit 3b34df6a674cd2aeddc354cdadae3f0e1c000d45) --- source4/librpc/idl/nbt.idl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl index 6f17a14cde..d9178c6a37 100644 --- a/source4/librpc/idl/nbt.idl +++ b/source4/librpc/idl/nbt.idl @@ -224,6 +224,10 @@ interface nbt code, but it does make working with these types of dgrams easier */ + const string NBT_MAILSLOT_NETLOGON = "\\MAILSLOT\\NET\\NETLOGON"; + const string NBT_MAILSLOT_GETDC = "\\MAILSLOT\\GETDC"; + const string NBT_MAILSLOT_BROWSE = "\\MAILSLOT\\BROWSE"; + typedef [enum8bit] enum { SMB_TRANSACTION = 0x25 } smb_command; @@ -329,6 +333,7 @@ interface nbt typedef struct { astring computer_name; astring mailslot_name; + [flag(NDR_ALIGN2)] DATA_BLOB _pad; nstring unicode_name; uint32 nt_version; uint16 lmnt_token; @@ -337,7 +342,8 @@ interface nbt /* response from request */ typedef struct { - astring pdc_name; + astring pdc_name; + [flag(NDR_ALIGN2)] DATA_BLOB _pad; nstring unicode_pdc_name; nstring domain_name; uint32 nt_version; -- cgit