From b42c3b6db95db4fea4c529946c3a7dae5469e835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 18 Mar 2003 14:01:05 +0000 Subject: [PATCH] if there is kerberos 5, call krb5_afslog\* git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11864 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/login/login.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/appl/login/login.c b/appl/login/login.c index e3e13fb13..6110d36a2 100644 --- a/appl/login/login.c +++ b/appl/login/login.c @@ -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 */