summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-09-29 09:29:00 +0200
committerAndreas Schneider <asn@samba.org>2012-07-17 10:58:39 +0200
commit5e25fc66861a0961ae41b246645d49e57ba8997c (patch)
tree977fb060f3ef964b23bceae6b475f7e05718c059 /source3/rpc_server
parent04d770adac531479ce1ea8a7b295a6382d718a92 (diff)
downloadsamba-5e25fc66861a0961ae41b246645d49e57ba8997c.tar.gz
samba-5e25fc66861a0961ae41b246645d49e57ba8997c.tar.bz2
samba-5e25fc66861a0961ae41b246645d49e57ba8997c.zip
s3:rpc_server: add support for AES bases netlogon schannel
metze Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/netlogon/srv_netlog_nt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/netlogon/srv_netlog_nt.c b/source3/rpc_server/netlogon/srv_netlog_nt.c
index f6f6d874a4..4621590169 100644
--- a/source3/rpc_server/netlogon/srv_netlog_nt.c
+++ b/source3/rpc_server/netlogon/srv_netlog_nt.c
@@ -909,6 +909,10 @@ NTSTATUS _netr_ServerAuthenticate3(struct pipes_struct *p,
srv_flgs |= NETLOGON_NEG_STRONG_KEYS;
}
+ if (in_neg_flags & NETLOGON_NEG_SUPPORTS_AES) {
+ srv_flgs |= NETLOGON_NEG_SUPPORTS_AES;
+ }
+
if (lp_server_schannel() != false) {
srv_flgs |= NETLOGON_NEG_SCHANNEL;
}