version 1.2, 1999/09/29 18:16:18 |
version 1.3, 1999/09/29 21:14:15 |
|
|
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", |
|
|
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); |