+Sun Feb 25 18:50:45 1996 Sam Hartman <hartmans@tertius.mit.edu>
+
+ * krlogind.c (v5_des_read): Fix server side of bug in detecing eof
+ on the network connection. Same as client change: v5_des_read
+ needs to return 0 if read returns <= 0, notjust a strict
+ inequality.
+
Mon Feb 12 22:41:06 1996 Theodore Y. Ts'o <tytso@dcl>
* kcmd.c (kcmd): Fix lint flame (added missing cast).
* krlogind.c (recvauth): Fix v4 incompatability created by
checksum code; if using v4, don't try to verify a v5 checksum.
+||||||| 5.174.2.1
+Fri Feb 2 16:10:56 1996 Sam Hartman <hartmans@tertius.mit.edu>
+
+ * configure.in (save_path): Look for "ucb" varients in /usr/athena/bin if --enable-athena specified.
+
+
+ * krsh.c krlogin.c krcp.c (try_normal): If a--enable-athena, don't quit just because we are encrypted.
+
+
Thu Feb 1 00:09:13 1996 Sam Hartman <hartmans@tertius.mit.edu>
* rcp.M: Fix typo.
dnl
save_path=$PATH
AC_PROG_ECHO_N
-PATH=/bin:/usr/bin:/usr/bsd:/usr/ucb
+AC_ARG_ENABLE([athena],
+[ --enable-athena build with MIT Project Athena configuration],
+[PATH=/usr/athena/bin:/bin:/usr/bin:/usr/bsd:/usr/ucb],
+[PATH=/bin:/usr/bin:/usr/bsd:/usr/ucb])
AC_PATH_PROG(UCB_RLOGIN,rlogin,/usr/ucb/rlogin)
AC_PATH_PROG(UCB_RSH,rsh,/usr/ucb/rsh)
AC_PATH_PROG(UCB_RCP,rcp,/usr/ucb/rcp)
char **argv;
{
register int i;
-
- if (!encryptflag) {
+#ifndef KRB5_ATHENA_COMPAT
+ if (!encryptflag)
+ #endif
+ {
fprintf(stderr,"trying normal rcp (%s)\n", UCB_RCP);
fflush(stderr);
/* close all but stdin, stdout, stderr */
{
register char *host;
+#ifndef KRB5_ATHENA_COMPAT
if (encrypt_flag)
exit(1);
+#endif
fprintf(stderr,"trying normal rlogin (%s)\n",
UCB_RLOGIN);
fflush(stderr);
cc = krb5_net_read(bsd_context, fd, &c, 1);
/* we should check for non-blocking here, but we'd have
to make it save partial reads as well. */
- if (cc < 0) return 0; /* read error */
+ if (cc <= 0) return 0; /* read error */
if (cc == 1) {
if (c == 0) gotzero = 1;
}
{
char *host;
+#ifndef KRB5_ATHENA_COMPAT
if (encrypt_flag)
exit(1);
-
+#endif
/*
* if we were invoked as 'rsh host mumble', strip off the rsh
* from arglist.
else return(len);
}
#endif /* KERBEROS */
-