[2148] in testers

home help back first fref pref prev next nref lref last post

vax 7.4G: login checks /etc/srvtab; should be /etc/athena/srvtab

daemon@ATHENA.MIT.EDU (Bruce R. Lewis)
Wed Jun 24 16:13:30 1992

To: testers@Athena.MIT.EDU
Date: Wed, 24 Jun 92 16:12:56 EDT
From: "Bruce R. Lewis" <brlewis@Athena.MIT.EDU>

System name:		euphrosyne
Type and version:	CVAXSTAR 7.4G (1 update(s) to same version)
Display type:		SM

This is actually a very old bug.  It will bite anyone who doesn't have
the backward-compatible symlink /etc/srvtab -> /etc/athena/srvtab.

*** login.c	Wed Jun  3 13:53:45 1992
--- /tmp/login.c	Wed Jun 24 16:09:21 1992
***************
*** 1847,1853 ****
   * user.  If the Kerberos server doesn't respond, assume the user is
   * trying to fake us out (since we DID just get a TGT from what is
   * supposedly our KDC).  If the rcmd.<host> service is unknown (i.e.,
!  * the local /etc/srvtab doesn't have it), let her in.
   *
   * Returns 1 for confirmation, -1 for failure, 0 for uncertainty.
   */
--- 1847,1853 ----
   * user.  If the Kerberos server doesn't respond, assume the user is
   * trying to fake us out (since we DID just get a TGT from what is
   * supposedly our KDC).  If the rcmd.<host> service is unknown (i.e.,
!  * the local /etc/athena/srvtab doesn't have it), let her in.
   *
   * Returns 1 for confirmation, -1 for failure, 0 for uncertainty.
   */
***************
*** 1876,1882 ****
      }
      bcopy ((char *)hp->h_addr, (char *) &addr, sizeof (addr));
      /* Do we have rcmd.<host> keys? */
!     have_keys = read_service_key (rcmd, phost, realm, 0, "/etc/srvtab", key)
  	? 0 : 1;
      krbval = krb_mk_req (&ticket, rcmd, phost, realm, 0);
      if (krbval == KDC_PR_UNKNOWN) {
--- 1876,1882 ----
      }
      bcopy ((char *)hp->h_addr, (char *) &addr, sizeof (addr));
      /* Do we have rcmd.<host> keys? */
!     have_keys = read_service_key (rcmd, phost, realm, 0, "/etc/athena/srvtab", key)
  	? 0 : 1;
      krbval = krb_mk_req (&ticket, rcmd, phost, realm, 0);
      if (krbval == KDC_PR_UNKNOWN) {

home help back first fref pref prev next nref lref last post