The Samba-Bugzilla – Attachment 4227 Details for
Bug 6427
Add win2k8 encryption support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
AES encryption
enc.diff (text/plain), 1.16 KB, created by
Zhou Weikuan
on 2009-06-01 04:54:18 UTC
(
hide
)
Description:
AES encryption
Filename:
MIME Type:
Creator:
Zhou Weikuan
Created:
2009-06-01 04:54:18 UTC
Size:
1.16 KB
patch
obsolete
>diff --git a/source3/libads/kerberos_verify.c b/source3/libads/kerberos_verify.c >index 8502902..05a2171 100644 >--- a/source3/libads/kerberos_verify.c >+++ b/source3/libads/kerberos_verify.c >@@ -309,6 +309,12 @@ static krb5_error_code ads_secrets_verify_ticket(krb5_context context, > char *password_s = NULL; > krb5_data password; > krb5_enctype enctypes[] = { >+#ifdef ENCTYPE_AES128_CTS_HMAC_SHA1_96 >+ ENCTYPE_AES128_CTS_HMAC_SHA1_96, >+#endif >+#ifdef ENCTYPE_AES256_CTS_HMAC_SHA1_96 >+ ENCTYPE_AES256_CTS_HMAC_SHA1_96, >+#endif > #if defined(ENCTYPE_ARCFOUR_HMAC) > ENCTYPE_ARCFOUR_HMAC, > #endif >diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c >index aa98d76..0d1ff1e 100644 >--- a/source3/libsmb/clikrb5.c >+++ b/source3/libsmb/clikrb5.c >@@ -817,6 +817,12 @@ int cli_krb5_get_ticket(const char *principal, time_t time_offset, > krb5_ccache ccdef = NULL; > krb5_auth_context auth_context = NULL; > krb5_enctype enc_types[] = { >+#ifdef ENCTYPE_AES128_CTS_HMAC_SHA1_96 >+ ENCTYPE_AES128_CTS_HMAC_SHA1_96, >+#endif >+#ifdef ENCTYPE_AES256_CTS_HMAC_SHA1_96 >+ ENCTYPE_AES256_CTS_HMAC_SHA1_96, >+#endif > #ifdef ENCTYPE_ARCFOUR_HMAC > ENCTYPE_ARCFOUR_HMAC, > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6427
: 4227 |
5997