[Heimdal-source-changes] [heimdal/heimdal] dfaaf9: gssapi: honor acceptor credential in SPNEGO (#506)

GitHub noreply at github.com
Fre Jan 4 05:49:59 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: dfaaf9c93fe02ddb216a4dd3764fdcd41e063025
      https://github.com/heimdal/heimdal/commit/dfaaf9c93fe02ddb216a4dd3764fdcd41e063025
  Author: Luke Howard <lukeh at padl.com>
  Date:   2019-01-04 (Fri, 04 Jan 2019)

  Changed paths:
    M lib/gssapi/spnego/accept_sec_context.c

  Log Message:
  -----------
  gssapi: honor acceptor credential in SPNEGO (#506)

SPNEGO uses the callback function acceptor_approved() in order to determine
which mechanisms to advertise to the initiator in the case that the initiator
sent an empty initial context token. Prior to this commit, that function was
not passed in the acceptor credential (if present), so always uses a default
credential. For correctness, we should only advertise the availability of
mechanisms for which we have a credential.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Heimdal-source-changes mailing list