summaryrefslogtreecommitdiff
path: root/librpc/idl
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-09-08 12:21:09 +0400
committerAndrew Bartlett <abartlet@samba.org>2009-09-08 22:44:50 +1000
commita915575158485debaa0d417d5566c46a0dd77004 (patch)
treefe7779e1d80e58a35f9863d05eb4a77d57bc7329 /librpc/idl
parent29040344105988cb9674c0f450ef9e739e9ece2a (diff)
downloadsamba-a915575158485debaa0d417d5566c46a0dd77004.tar.gz
samba-a915575158485debaa0d417d5566c46a0dd77004.tar.bz2
samba-a915575158485debaa0d417d5566c46a0dd77004.zip
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
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/netlogon.idl10
1 files changed, 9 insertions, 1 deletions
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;