summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-06-15 09:41:52 +0200
committerStefan Metzmacher <metze@samba.org>2013-08-10 09:18:52 +0200
commitd82ab70579ff2bcb69f997068482b198f321d1ef (patch)
treeed47395d96fc6288bea29a53d8bf0915a4c082c6
parent11e0be0e72cfc4bc65ba2b0ffd10cbae3ad69b2d (diff)
downloadsamba-d82ab70579ff2bcb69f997068482b198f321d1ef.tar.gz
samba-d82ab70579ff2bcb69f997068482b198f321d1ef.tar.bz2
samba-d82ab70579ff2bcb69f997068482b198f321d1ef.zip
s3:auth_domain: try to use NETLOGON_NEG_SUPPORTS_AES
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source3/auth/auth_domain.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/auth/auth_domain.c b/source3/auth/auth_domain.c
index 54ee5a17df..06078e2ada 100644
--- a/source3/auth/auth_domain.c
+++ b/source3/auth/auth_domain.c
@@ -133,7 +133,8 @@ machine %s. Error was : %s.\n", dc_name, nt_errstr(result)));
if (!lp_client_schannel()) {
/* We need to set up a creds chain on an unauthenticated netlogon pipe. */
- uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS;
+ uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS |
+ NETLOGON_NEG_SUPPORTS_AES;
enum netr_SchannelType sec_chan_type = 0;
unsigned char machine_pwd[16];
const char *account_name;