From e988e175a6572d4989060616a96fb58c8ba9fc0b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 8 Jan 2000 18:51:27 +0000 Subject: [PATCH] Minor fixes. --- libraries/liblutil/passwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblutil/passwd.c b/libraries/liblutil/passwd.c index 669b57f187..8da230e7a9 100644 --- a/libraries/liblutil/passwd.c +++ b/libraries/liblutil/passwd.c @@ -685,7 +685,7 @@ static int chk_kerberos( int status; char lrealm[REALM_SZ]; - char tkt[MaxPathLen]; + char tkt[MAXHOSTNAMELEN]; status = krb_get_lrealm(lrealm,1); if (status == KFAILURE) { @@ -697,7 +697,7 @@ static int chk_kerberos( krb_set_tkt_string (tkt); status = krb_verify_user( passwd->bv_val, "", lrealm, - cred->bv_val, KRB_VERIFY_SECURE, "pop"); + cred->bv_val, 1, "pop"); dest_tkt(); /* no point in keeping the tickets */ -- 2.39.5