From e77a64f505fc43628e487e832033d0cd8ec4de8e Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 15 Jun 2013 09:41:52 +0200 Subject: s3:rpcclient: try to use NETLOGON_NEG_SUPPORTS_AES Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source3/rpcclient/rpcclient.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/rpcclient/rpcclient.c') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 9bf296ecc56..cb7b70f74e2 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -758,7 +758,8 @@ static NTSTATUS do_cmd(struct cli_state *cli, if (ndr_syntax_id_equal(&cmd_entry->table->syntax_id, &ndr_table_netlogon.syntax_id)) { - 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_channel_type; uchar trust_password[16]; const char *machine_account; -- cgit v1.2.1