Commit 4dbd0821 authored by Russ Allbery's avatar Russ Allbery

Fix the program name used for initial credential defaults

Fix the program name used by the plugin to load initial credential
default flags on Heimdal to be krb5-sync, not k5start.
parent 8cea4002
......@@ -18,6 +18,9 @@ krb5-sync 2.2 (unreleased)
parameter. This is more secure since the password is not exposed to
other users of the same system.
Fix the program name used by the plugin to load initial credential
default flags on Heimdal to be krb5-sync, not k5start.
Remove the patch for Stanford's patched MIT Kerberos 1.4.4 from the
distribution. This has not been used at Stanford for years and is old
enough that it's unlikely to be of interest to others.
......
......@@ -69,7 +69,7 @@ get_creds(struct plugin_config *config, krb5_context ctx, krb5_ccache *cc,
return 1;
}
realm = krb5_principal_get_realm(ctx, princ);
krb5_get_init_creds_opt_set_default_flags(ctx, "k5start", realm, opts);
krb5_get_init_creds_opt_set_default_flags(ctx, "krb5-sync", realm, opts);
memset(&creds, 0, sizeof(creds));
ret = krb5_get_init_creds_keytab(ctx, &creds, princ, kt, 0, NULL, opts);
if (ret != 0) {
......
......@@ -9,8 +9,9 @@
*
* Written by Russ Allbery <rra@stanford.edu>
* Based on code developed by Derrick Brashear and Ken Hornstein of Sine
* Nomine Associates, on behalf of Stanford University.
* Copyright 2006, 2007, 2010 Board of Trustees, Leland Stanford Jr. University
* Nomine Associates, on behalf of Stanford University
* Copyright 2006, 2007, 2010, 2012
* The Board of Trustees of the Leland Stanford Junior University
*
* See LICENSE for licensing terms.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment