s3:libads: remove kerberos_secrets_fetch_salting_principal() fallback
authorStefan Metzmacher <metze@samba.org>
Fri, 19 May 2017 14:01:55 +0000 (16:01 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 27 Jun 2017 14:57:44 +0000 (16:57 +0200)
commit487b4717b58a6f1ba913708ce8419145b7f4fac8
tree51b3bd603124ddba09de16352a4df03771b19c6f
parent7d2eea39112fd69d2b710181b23301562efea387
s3:libads: remove kerberos_secrets_fetch_salting_principal() fallback

The handling for per encryption type salts was removed in
Samba 3.0.23a (Jul 21, 2006). It's very unlikely that someone
has such an installation that got constantly upgraded over 10 years
with an automatic password change nor rejoin. It also means
that the KDC only has salt-less arcfour-hmac-md5 key together
with the salted des keys. So there would only be a problem
if the client whould try to use a des key to contact the smb server.

Having this legacy code adds quite some complexity for no
good reason.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libads/kerberos.c