+Wed Jan 10 23:16:41 1996 Theodore Y. Ts'o <tytso@dcl>
+
+ * cns.c (kwin_command): When obtaining tickets, we make them
+ forwardable by default. XXX This should really a
+ configurable option in the UI.
+
Sat Jun 10 23:08:57 1995 Tom Yu (tlyu@dragons-lair)
* kpasswd.c: krb5_auth_context redefinitions
code = krb5_us_timeofday(k5_context, &sec, &usec);
if (code) break;
creds.times.starttime = 0;
- creds.times.endtime = sec + 60L * lifetime;
- creds.times.renew_till = 0;
-
- code = krb5_get_in_tkt_with_password(k5_context, 0, NULL,
- NULL, NULL, password, k5_ccache, &creds, 0);
+ creds.times.endtime = sec + 60L * lifetime;
+ creds.times.renew_till = 0;
+
+ /*
+ * XXX whether or not the credentials should be
+ * forwardable should be a configurable option in the
+ * UI.
+ */
+ code = krb5_get_in_tkt_with_password(k5_context,
+ KDC_OPT_FORWARDABLE, NULL, NULL, NULL,
+ password, k5_ccache, &creds, 0);
} while (0);
if (principal)