+Mon Jul 27 00:06:20 1998 Geoffrey King <gjking@mit.edu>
+
+ * krlogin.c (main): Apply ghudson's patch so that rlogin -a
+ no longer dumps core. [krb5-appl/612]
+
1998-05-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
* login.c (dolastlog): BSD 4.4 systems don't have lastlog.h, but
authopts |= OPTS_FORWARDABLE_CREDS;
status = kcmd(&sock, &host, debug_port,
- null_local_username ? NULL : pwd->pw_name,
+ null_local_username ? "" : pwd->pw_name,
name ? name : pwd->pw_name, term,
0, "host", krb_realm,
&cred,
#ifdef KRB5_KRB4_COMPAT
fprintf(stderr, "Trying krb4 rlogin...\n");
status = k4cmd(&sock, &host, debug_port,
- null_local_username ? NULL : pwd->pw_name,
+ null_local_username ? "" : pwd->pw_name,
name ? name : pwd->pw_name, term,
0, &v4_ticket, "rcmd", krb_realm,
&v4_cred, v4_schedule, &v4_msg_data, &local, &foreign,
#else
rem = rcmd(&host, debug_port,
- null_local_username ? NULL : pwd->pw_name,
+ null_local_username ? "" : pwd->pw_name,
name ? name : pwd->pw_name, term, 0);
#endif /* KERBEROS */
-
+
if (rem < 0)
exit(1);