s4:kdc Rework the 'allowed enc types' calculation
authorAndrew Bartlett <abartlet@samba.org>
Wed, 23 Jun 2010 23:40:16 +0000 (09:40 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 29 Jun 2010 06:59:30 +0000 (16:59 +1000)
commitd76e4852ebf6ebaaa0e59b481c4b17ac15310aec
treea0bf4de89712ea0d16556900c5c760ec10d08752
parentf41e71109744cbacfcbf6b8cf545e1f322d68494
s4:kdc Rework the 'allowed enc types' calculation

This changes the calculation to apply the allowed enc types to all
uses of the key (no point allowing a weak kinit to a key the server
wanted strongly protected).  It also ensures that all the non-DES keys
are available on the krbtgt in particular, even as it does not have a
msds-SupportedEncryptionTypes attributes.

Andrew Bartlett
source4/kdc/db-glue.c