summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-06-28 23:14:23 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-06-29 16:59:22 +1000
commit94637e5fe4724261f1cd5f48d8641e82f4b776ae (patch)
tree464543f76ff008cd724ed44c207934c0cb5303dd /source4/auth/kerberos
parent30dc87dab98a864ea640fb1df693b6eb8df6a920 (diff)
downloadsamba-94637e5fe4724261f1cd5f48d8641e82f4b776ae.tar.gz
samba-94637e5fe4724261f1cd5f48d8641e82f4b776ae.tar.bz2
samba-94637e5fe4724261f1cd5f48d8641e82f4b776ae.zip
s4:provision Add an msDS-SupportedEncryptionTypes entry to our DC
This ensures that our DC will use all the available encyption types. (The KDC reads this entry to determine what the server supports) Andrew Bartlett
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r--source4/auth/kerberos/kerberos.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/kerberos/kerberos.h b/source4/auth/kerberos/kerberos.h
index 96c11a4ce1..7e3a7865d6 100644
--- a/source4/auth/kerberos/kerberos.h
+++ b/source4/auth/kerberos/kerberos.h
@@ -53,6 +53,9 @@ struct keytab_container {
#define KRB5_KEY_DATA(k) ((k)->contents)
#endif /* HAVE_KRB5_KEYBLOCK_KEYVALUE */
+#define ENC_ALL_TYPES (ENC_CRC32 | ENC_RSA_MD5 | ENC_RC4_HMAC_MD5 | \
+ ENC_HMAC_SHA1_96_AES128 | ENC_HMAC_SHA1_96_AES256)
+
#ifndef HAVE_KRB5_SET_REAL_TIME
krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds);
#endif