[BACK]Return to auth-krb4.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/Attic/auth-krb4.c between version 1.2 and 1.3

version 1.2, 1999/09/29 18:16:18 version 1.3, 1999/09/29 21:14:15
Line 130 
Line 130 
     goto auth_kerberos_tgt_failure;      goto auth_kerberos_tgt_failure;
   }    }
   if (strncmp(creds.service, "", 1) == 0) /* backward compatibility */    if (strncmp(creds.service, "", 1) == 0) /* backward compatibility */
     strcpy(creds.service, "krbtgt");      strlcpy(creds.service, "krbtgt", sizeof creds.service);
   
   if (strcmp(creds.service, "krbtgt")) {    if (strcmp(creds.service, "krbtgt")) {
     log("Kerberos V4 tgt (%s%s%s@%s) rejected for uid %d",      log("Kerberos V4 tgt (%s%s%s@%s) rejected for uid %d",
Line 184 
Line 184 
     return 0;      return 0;
   }    }
   if (strncmp(creds.service, "", 1) == 0) /* backward compatibility */    if (strncmp(creds.service, "", 1) == 0) /* backward compatibility */
     strcpy(creds.service, "afs");      strlcpy(creds.service, "afs", sizeof creds.service);
   
   if (strncmp(creds.pname, "AFS ID ", 7) == 0)    if (strncmp(creds.pname, "AFS ID ", 7) == 0)
     uid = atoi(creds.pname + 7);      uid = atoi(creds.pname + 7);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3