From a915575158485debaa0d417d5566c46a0dd77004 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Tue, 8 Sep 2009 12:21:09 +0400 Subject: Return a correct value for Supported Encryption Type Vista and upper version use this value to check wether they should ask the DC to change the msDS-SupportedEncryptionTypes attribute or not. Declare the different value as a bitmap in Netlogon idl --- librpc/idl/netlogon.idl | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'librpc') diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl index 736a0fd9e4..34081e25e1 100644 --- a/librpc/idl/netlogon.idl +++ b/librpc/idl/netlogon.idl @@ -1372,6 +1372,14 @@ interface netlogon uint32 dummy_long4; } netr_OneDomainInfo; + typedef [public,bitmap32bit] bitmap { + ENC_CRC32 = 0x00000001, + ENC_RSA_MD5 = 0x00000002, + ENC_RC4_HMAC_MD5 = 0x00000004, + ENC_HMAC_SHA1_96_AES128 = 0x00000008, + ENC_HMAC_SHA1_96_AES256 = 0x00000010 + } netr_SupportedEncTypes; + typedef struct { netr_OneDomainInfo primary_domain; uint32 trusted_domain_count; @@ -1382,7 +1390,7 @@ interface netlogon lsa_String dummy_string3; lsa_String dummy_string4; netr_WorkstationFlags workstation_flags; - uint32 supported_enc_types; + netr_SupportedEncTypes supported_enc_types; uint32 dummy_long3; uint32 dummy_long4; } netr_DomainInformation; -- cgit