s3:gse_krb5: make use of precalculated krb5 keys in fill_mem_keytab_from_secrets()
commitcd813f7fd9ee8e9d82a6bf6c98621c437f6974b2
authorStefan Metzmacher <metze@samba.org>
Thu, 17 Aug 2017 15:45:21 +0000 (17 17:45 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 18 Aug 2017 08:04:56 +0000 (18 10:04 +0200)
tree916e25a5cd85bf8242c8bffdb9c5468daea8fcd9
parent37e49a2af5bb1c40c17eab18ff9412f2ce79ef71
s3:gse_krb5: make use of precalculated krb5 keys in fill_mem_keytab_from_secrets()

This avoids a lot of cpu cycles, which were wasted for each single smb
connection, even if the client didn't use kerberos.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12973

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Aug 18 10:04:57 CEST 2017 on sn-devel-144
source3/librpc/crypto/gse_krb5.c