From d82ab70579ff2bcb69f997068482b198f321d1ef Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 15 Jun 2013 09:41:52 +0200 Subject: s3:auth_domain: try to use NETLOGON_NEG_SUPPORTS_AES Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source3/auth/auth_domain.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') 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; -- cgit