nbt: add NETLOGON_LOGON_REQUEST.
authorGünther Deschner <gd@samba.org>
Tue, 7 Sep 2010 11:16:27 +0000 (13:16 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 8 Sep 2010 17:35:21 +0000 (19:35 +0200)
Guenther

librpc/idl/nbt.idl

index 53a33b5fbfc0a6146f0dcb74ea40a29739b85ab2..f14344b1b0ba8800beabf287ff6f095f72a5eeee 100644 (file)
@@ -379,6 +379,7 @@ interface nbt
        } netlogon_nt_version_flags;
 
        typedef [enum16bit,public] enum {
+               LOGON_REQUEST                     = 0,
                LOGON_PRIMARY_QUERY               = 7,  /* Was also NETLOGON_QUERY_FOR_PDC */
                NETLOGON_ANNOUNCE_UAS             = 10,
                NETLOGON_RESPONSE_FROM_PDC        = 12,
@@ -415,6 +416,15 @@ interface nbt
                uint16               lm20_token;
        } NETLOGON_SAM_LOGON_REQUEST;
 
+       typedef struct {
+               astring              computer_name;
+               astring              user_name;
+               astring              mailslot_name;
+               uint8                request_count;
+               uint16               lmnt_token;
+               uint16               lm20_token;
+       } NETLOGON_LOGON_REQUEST;
+
        typedef [flag(NDR_NOALIGN),public] struct {
                netlogon_command command;
                nstring              pdc_name;
@@ -522,6 +532,7 @@ interface nbt
        } NETLOGON_DB_CHANGE;
 
        typedef [nodiscriminant] union {
+               [case(LOGON_REQUEST)]  NETLOGON_LOGON_REQUEST logon0;
                [case(LOGON_SAM_LOGON_REQUEST)]       NETLOGON_SAM_LOGON_REQUEST logon;
                [case(LOGON_PRIMARY_QUERY)] nbt_netlogon_query_for_pdc pdc;
                [case(NETLOGON_ANNOUNCE_UAS)] NETLOGON_DB_CHANGE uas;