summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-07 13:16:27 +0200
committerGünther Deschner <gd@samba.org>2010-09-08 19:35:21 +0200
commit8f8ff8bb29cb6f07ddcb310a089b695dbe176b34 (patch)
tree96c94fd095229a69cf456dcbc4ae7693fd93bb4a /librpc
parent778950ca9322700c10c92b411873309398aa8dd1 (diff)
downloadsamba-8f8ff8bb29cb6f07ddcb310a089b695dbe176b34.tar.gz
samba-8f8ff8bb29cb6f07ddcb310a089b695dbe176b34.tar.bz2
samba-8f8ff8bb29cb6f07ddcb310a089b695dbe176b34.zip
nbt: add NETLOGON_LOGON_REQUEST.
Guenther
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/nbt.idl11
1 files changed, 11 insertions, 0 deletions
diff --git a/librpc/idl/nbt.idl b/librpc/idl/nbt.idl
index 53a33b5fbf..f14344b1b0 100644
--- a/librpc/idl/nbt.idl
+++ b/librpc/idl/nbt.idl
@@ -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;