[Heimdal-source-changes] [heimdal/heimdal] 7b15a8: Set default principal for password change to crede...

GitHub noreply at github.com
Tis Sep 26 01:17:03 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 7b15a833a367c038b5910c1e5d51db56e4635deb
      https://github.com/heimdal/heimdal/commit/7b15a833a367c038b5910c1e5d51db56e4635deb
  Author: Russ Allbery <eagle at eyrie.org>
  Date:   2017-09-25 (Mon, 25 Sep 2017)

  Changed paths:
    M lib/krb5/changepw.c

  Log Message:
  -----------
  Set default principal for password change to credential client

The default client principal for krb5_set_password, if the
principal argument were NULL, was krb5_get_default_principal.  But
krb5_set_password requires credentials for the password change service
be passed in, and those credentials are already associated with a
client principal that's much more likely to be the correct choice for
a default.  Use that principal instead of krb5_get_default_principal.




More information about the Heimdal-source-changes mailing list