summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-09-29 09:47:51 +0200
committerAndreas Schneider <asn@samba.org>2012-07-17 10:58:39 +0200
commit04d770adac531479ce1ea8a7b295a6382d718a92 (patch)
tree640e175efc5e88e3db9c4678ec9e122740aa575d /source4/rpc_server
parent780006db9de7a55030ba07fc5236c85bee7b4961 (diff)
downloadsamba-04d770adac531479ce1ea8a7b295a6382d718a92.tar.gz
samba-04d770adac531479ce1ea8a7b295a6382d718a92.tar.bz2
samba-04d770adac531479ce1ea8a7b295a6382d718a92.zip
s4:rpc_server/netlogon: add support for AES based netlogon schannel
metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/netlogon/dcerpc_netlogon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c
index 598b7f2c9c..309601e9da 100644
--- a/source4/rpc_server/netlogon/dcerpc_netlogon.c
+++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c
@@ -124,6 +124,10 @@ static NTSTATUS dcesrv_netr_ServerAuthenticate3(struct dcesrv_call_state *dce_ca
negotiate_flags |= NETLOGON_NEG_STRONG_KEYS;
}
+ if (*r->in.negotiate_flags & NETLOGON_NEG_SUPPORTS_AES) {
+ negotiate_flags |= NETLOGON_NEG_SUPPORTS_AES;
+ }
+
/*
* According to Microsoft (see bugid #6099)
* Windows 7 looks at the negotiate_flags