if there is kerberos 5, call krb5_afslog\*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11864 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -269,8 +269,6 @@ krb5_finish (void)
|
||||
krb5_free_context(context);
|
||||
}
|
||||
|
||||
#ifdef KRB4
|
||||
|
||||
static void
|
||||
krb5_get_afs_tokens (const struct passwd *pwd)
|
||||
{
|
||||
@@ -300,8 +298,6 @@ krb5_get_afs_tokens (const struct passwd *pwd)
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* KRB4 */
|
||||
|
||||
#endif /* KRB5 */
|
||||
|
||||
#ifdef KRB4
|
||||
@@ -598,9 +594,10 @@ do_login(const struct passwd *pwd, char *tty, char *ttyn)
|
||||
krb5_cc_close (context, id);
|
||||
}
|
||||
}
|
||||
#endif /* KRB4 */
|
||||
|
||||
krb5_get_afs_tokens (pwd);
|
||||
#endif /* KRB4 */
|
||||
|
||||
krb5_finish ();
|
||||
#endif /* KRB5 */
|
||||
|
||||
|
Reference in New Issue
Block a user