diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:24:20 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-17 15:24:20 -0700 |
commit | 39971fff27f71b514308d10d7a2d8c3fb58c2420 (patch) | |
tree | 101f2adac9ef41af17579d22f6ddd56ada62ce5d /librpc/gen_ndr/ntlmssp.h | |
parent | 23676b6e9e8aad0ac2aa78d04e65f637b4551527 (diff) | |
parent | e71d9728f52e969e07927c5b38fa062c6ef6d1eb (diff) | |
download | samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.tar.gz samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.tar.bz2 samba-39971fff27f71b514308d10d7a2d8c3fb58c2420.zip |
Merge branch 'master' of /home/tridge/samba/git/combined
Diffstat (limited to 'librpc/gen_ndr/ntlmssp.h')
-rw-r--r-- | librpc/gen_ndr/ntlmssp.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/librpc/gen_ndr/ntlmssp.h b/librpc/gen_ndr/ntlmssp.h index 5205dce57d..c3d639b913 100644 --- a/librpc/gen_ndr/ntlmssp.h +++ b/librpc/gen_ndr/ntlmssp.h @@ -13,9 +13,9 @@ enum ntlmssp_MessageType #ifndef USE_UINT_ENUMS { - NtLmNegotiate=0x00000001, - NtLmChallenge=0x00000002, - NtLmAuthenticate=0x00000003 + NtLmNegotiate=(int)(0x00000001), + NtLmChallenge=(int)(0x00000002), + NtLmAuthenticate=(int)(0x00000003) } #else { __donnot_use_enum_ntlmssp_MessageType=0x7FFFFFFF} @@ -56,8 +56,8 @@ enum ntlmssp_MessageType enum ntlmssp_WindowsMajorVersion #ifndef USE_UINT_ENUMS { - NTLMSSP_WINDOWS_MAJOR_VERSION_5=0x05, - NTLMSSP_WINDOWS_MAJOR_VERSION_6=0x06 + NTLMSSP_WINDOWS_MAJOR_VERSION_5=(int)(0x05), + NTLMSSP_WINDOWS_MAJOR_VERSION_6=(int)(0x06) } #else { __donnot_use_enum_ntlmssp_WindowsMajorVersion=0x7FFFFFFF} @@ -69,9 +69,9 @@ enum ntlmssp_WindowsMajorVersion enum ntlmssp_WindowsMinorVersion #ifndef USE_UINT_ENUMS { - NTLMSSP_WINDOWS_MINOR_VERSION_0=0x00, - NTLMSSP_WINDOWS_MINOR_VERSION_1=0x01, - NTLMSSP_WINDOWS_MINOR_VERSION_2=0x02 + NTLMSSP_WINDOWS_MINOR_VERSION_0=(int)(0x00), + NTLMSSP_WINDOWS_MINOR_VERSION_1=(int)(0x01), + NTLMSSP_WINDOWS_MINOR_VERSION_2=(int)(0x02) } #else { __donnot_use_enum_ntlmssp_WindowsMinorVersion=0x7FFFFFFF} @@ -84,8 +84,8 @@ enum ntlmssp_WindowsMinorVersion enum ntlmssp_NTLMRevisionCurrent #ifndef USE_UINT_ENUMS { - NTLMSSP_REVISION_W2K3_RC1=0x0A, - NTLMSSP_REVISION_W2K3=0x0F + NTLMSSP_REVISION_W2K3_RC1=(int)(0x0A), + NTLMSSP_REVISION_W2K3=(int)(0x0F) } #else { __donnot_use_enum_ntlmssp_NTLMRevisionCurrent=0x7FFFFFFF} @@ -122,17 +122,17 @@ struct NEGOTIATE_MESSAGE { enum ntlmssp_AvId #ifndef USE_UINT_ENUMS { - MsvAvEOL=0, - MsvAvNbComputerName=1, - MsvAvNbDomainName=2, - MsvAvDnsComputerName=3, - MsvAvDnsDomainName=4, - MsvAvDnsTreeName=5, - MsvAvFlags=6, - MsvAvTimestamp=7, - MsAvRestrictions=8, - MsvAvTargetName=9, - MsvChannelBindings=10 + MsvAvEOL=(int)(0), + MsvAvNbComputerName=(int)(1), + MsvAvNbDomainName=(int)(2), + MsvAvDnsComputerName=(int)(3), + MsvAvDnsDomainName=(int)(4), + MsvAvDnsTreeName=(int)(5), + MsvAvFlags=(int)(6), + MsvAvTimestamp=(int)(7), + MsAvRestrictions=(int)(8), + MsvAvTargetName=(int)(9), + MsvChannelBindings=(int)(10) } #else { __donnot_use_enum_ntlmssp_AvId=0x7FFFFFFF} |