[Heimdal-source-changes] [heimdal/heimdal] b7fe0f: kdc: allow checksum of PA-FOR-USER to be HMAC_MD5

Isaac Boukris noreply at github.com
Sön May 19 04:33:50 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: b7fe0fb85a780fed3c54ed2539fc974db1884dc2
      https://github.com/heimdal/heimdal/commit/b7fe0fb85a780fed3c54ed2539fc974db1884dc2
  Author: Isaac Boukris <iboukris at gmail.com>
  Date:   2019-05-18 (Sat, 18 May 2019)

  Changed paths:
    M kdc/krb5tgs.c
    M lib/krb5/libkrb5-exports.def.in
    M lib/krb5/version-script.map
    M tests/kdc/check-kdc.in

  Log Message:
  -----------
  kdc: allow checksum of PA-FOR-USER to be HMAC_MD5

even if tgt used an enctype with a different checksum.

Per [MS-SFU] 2.2.1 PA-FOR-USER the checksum is always
HMAC_MD5, and that's what Windows and MIT clients send.

In heimdal both the client and kdc use instead the
checksum of the tgt, and therefore work with each other
but windows and MIT clients fail against heimdal KDC.

Both Windows and MIT KDC would allow any keyed checksum
to be used so Heimdal client work fine against it.

Change Heimdal KDC to allow HMAC_MD5 even for non RC4
based tgt in order to support per-spec clients.

Signed-off-by: Isaac Boukris <iboukris at gmail.com>




More information about the Heimdal-source-changes mailing list