s3:rpc_server: add support for AES bases netlogon schannel
authorStefan Metzmacher <metze@samba.org>
Tue, 29 Sep 2009 07:29:00 +0000 (09:29 +0200)
committerAndreas Schneider <asn@samba.org>
Tue, 17 Jul 2012 08:58:39 +0000 (10:58 +0200)
metze

Signed-off-by: G√ľnther Deschner <gd@samba.org>
source3/rpc_server/netlogon/srv_netlog_nt.c

index f6f6d874a46da4c8d25c6938f3f06cfe33ad4d61..46215901693aa0d62506ee225cddc6d2812e599e 100644 (file)
@@ -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;
        }