version 1.26, 2002/03/18 01:30:10 |
version 1.26.2.1, 2002/06/26 15:30:37 |
|
|
if (lstat("/ticket", &st) != -1) |
if (lstat("/ticket", &st) != -1) |
tkt_root = "/ticket/"; |
tkt_root = "/ticket/"; |
#endif /* AFS */ |
#endif /* AFS */ |
snprintf(authctxt->krb4_ticket_file, MAXPATHLEN, "%s%u_%d", |
snprintf(authctxt->krb4_ticket_file, MAXPATHLEN, "%s%u_%ld", |
tkt_root, authctxt->pw->pw_uid, getpid()); |
tkt_root, authctxt->pw->pw_uid, (long)getpid()); |
krb_set_tkt_string(authctxt->krb4_ticket_file); |
krb_set_tkt_string(authctxt->krb4_ticket_file); |
} |
} |
/* Register ticket cleanup in case of fatal error. */ |
/* Register ticket cleanup in case of fatal error. */ |