r6247: added the server side code for receiving mailslot requests, and
[samba.git] / source / librpc / idl / nbt.idl
index 6f17a14cde7411296d773614f78242a7a08da224..d9178c6a37fcff4e46c38cdc6d1687eb4e1bfcce 100644 (file)
@@ -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;