summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-05-08 02:48:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:48 -0500
commit810831434a03b68064476124828e607bd367d98d (patch)
treeefd5798a53fd58645b91684516ef0fb01ca98d4b /source4/librpc/idl
parent0ed08d9398d0ee8d9fdbc0f387415adc32ba675e (diff)
downloadsamba-810831434a03b68064476124828e607bd367d98d.tar.gz
samba-810831434a03b68064476124828e607bd367d98d.tar.bz2
samba-810831434a03b68064476124828e607bd367d98d.zip
r582: added the LMSessKey in SamInfo and SamInfo2, thanks to work by abartlet
added test code for SamLogon validation level 2 and 3, so we test both SamInfo and SamInfo2 (This used to be commit 321dbb61cc0743379ceb6b8fff6a0ca37f308bc2)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/netlogon.idl14
1 files changed, 11 insertions, 3 deletions
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index c9ac7972f2..399bd6c543 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -148,9 +148,13 @@ interface netlogon
} netr_GroupMembership;
typedef [flag(NDR_PAHEX)] struct {
- uint8 user_session_key[16];
+ uint8 key[16];
} netr_UserSessionKey;
+ typedef [flag(NDR_PAHEX)] struct {
+ uint8 key[8];
+ } netr_LMSessionKey;
+
typedef struct {
NTTIME logon_time;
NTTIME logoff_time;
@@ -175,7 +179,9 @@ interface netlogon
netr_String logon_server;
netr_String domain;
dom_sid2 *domain_sid;
- uint32 expansionroom[10];
+ netr_LMSessionKey LMSessKey;
+ uint32 AccountControl;
+ uint32 expansionroom[7];
} netr_SamInfo;
typedef struct {
@@ -207,7 +213,9 @@ interface netlogon
netr_String logon_server;
netr_String domain;
dom_sid2 *domain_sid;
- uint32 expansionroom[10];
+ netr_LMSessionKey LMSessKey;
+ uint32 AccountControl;
+ uint32 expansionroom[7];
uint32 sidcount;
[size_is(sidcount)] netr_SidAttr *sids;
} netr_SamInfo2;