summaryrefslogtreecommitdiff
path: root/source3/libnet
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:53 +0200
commitbeba32619a91977543f882432fd08acc9de78fd3 (patch)
tree9cba4d7e64f2d397c91e05234d50ed6d45a27aad /source3/libnet
parentd82ab70579ff2bcb69f997068482b198f321d1ef (diff)
downloadsamba-beba32619a91977543f882432fd08acc9de78fd3.tar.gz
samba-beba32619a91977543f882432fd08acc9de78fd3.tar.bz2
samba-beba32619a91977543f882432fd08acc9de78fd3.zip
s3:libnet_join: try to use NETLOGON_NEG_SUPPORTS_AES
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index 26c037a675..2dcb920aa1 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1171,7 +1171,8 @@ NTSTATUS libnet_join_ok(const char *netbios_domain_name,
const char *dc_name,
const bool use_kerberos)
{
- uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS;
+ uint32_t neg_flags = NETLOGON_NEG_AUTH2_ADS_FLAGS |
+ NETLOGON_NEG_SUPPORTS_AES;
struct cli_state *cli = NULL;
struct rpc_pipe_client *pipe_hnd = NULL;
struct rpc_pipe_client *netlogon_pipe = NULL;