diff options
author | Günther Deschner <gd@samba.org> | 2009-08-14 01:01:21 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-08-28 10:05:26 +0200 |
commit | 9b844e7ff3ea512c4967dbdaba07b36ab187a704 (patch) | |
tree | 58eacf14d040dd7ebfcb3f5c5583f7dcb69f12f9 /librpc/idl | |
parent | b4a860ba81441e6e5be5eb82031151c09796f898 (diff) | |
download | samba-9b844e7ff3ea512c4967dbdaba07b36ab187a704.tar.gz samba-9b844e7ff3ea512c4967dbdaba07b36ab187a704.tar.bz2 samba-9b844e7ff3ea512c4967dbdaba07b36ab187a704.zip |
ntlmssp: add NTLMSSP_MESSAGE_SIGNATURE to IDL.
Guenther
Diffstat (limited to 'librpc/idl')
-rw-r--r-- | librpc/idl/ntlmssp.idl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/librpc/idl/ntlmssp.idl b/librpc/idl/ntlmssp.idl index 2015a300be..dd42da0925 100644 --- a/librpc/idl/ntlmssp.idl +++ b/librpc/idl/ntlmssp.idl @@ -252,4 +252,22 @@ interface ntlmssp /* [flag(NDR_REMAINING)] MIC mic; */ } AUTHENTICATE_MESSAGE; + /* NTLMSSP signature version */ + const int NTLMSSP_SIGN_VERSION = 0x01; + + /* NTLMSSP signature size */ + const int NTLMSSP_SIG_SIZE = 16; + + typedef [public] struct { + [value(NTLMSSP_SIGN_VERSION)] uint32 Version; + uint32 RandomPad; + uint32 Checksum; + uint32 SeqNum; + } NTLMSSP_MESSAGE_SIGNATURE; + + typedef [public,flag(NDR_PAHEX)] struct { + [value(NTLMSSP_SIGN_VERSION)] uint32 Version; + uint8 Checksum[8]; + uint32 SeqNum; + } NTLMSSP_MESSAGE_SIGNATURE_NTLMv2; } |