[Heimdal-source-changes] [heimdal/heimdal] b7cf5e: lib/krb5: do not fail set_config_files due to pars...

GitHub noreply at github.com
Tors Juni 16 22:38:27 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: b7cf5e7caf9b270f4d4151d2690177b11a7a1bdf
      https://github.com/heimdal/heimdal/commit/b7cf5e7caf9b270f4d4151d2690177b11a7a1bdf
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2016-06-16 (Thu, 16 Jun 2016)

  Changed paths:
    M lib/krb5/config_file.c
    M lib/krb5/context.c

  Log Message:
  -----------
  lib/krb5: do not fail set_config_files due to parse error

Follow Apple's lead and do not fail krb5_set_config_files() simply
because one of the files in the profile list fails to parse correctly.
Doing so can lead to hard to find failures and could lead to an end
user shooting themselves in the foot and no longer be able to login
to their system to fix it.

Parse as many of the files as we can.  Only fail krb5_set_config_files()
if init_context_from_config_file() fails.

Change-Id: I122664c6d707a5f926643808ba414bf4f681f8b8




More information about the Heimdal-source-changes mailing list