Bug 698

Summary: Specify FILE: for KRB5CCNAME
Product: Portable OpenSSH Reporter: Petr Ostadal <postadal>
Component: Kerberos supportAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal CC: smichaud
Priority: P2    
Version: 3.7.1p1   
Hardware: All   
OS: Linux   
Bug Depends on:    
Bug Blocks: 793    
Attachments:
Description Flags
fix of this bug
none
Tidied patch none

Description Petr Ostadal 2003-09-22 21:00:50 AEST
The enviroment variable KRB5CCNAME is worst set before calling pam_setcred. It
is the reason why kerberos auth throught krb tickets doesn't work. The patch to
fix follow.
Comment 1 Petr Ostadal 2003-09-22 21:04:13 AEST
Created attachment 443 [details]
fix of this bug

This patch fixed the bug by inserting "FILE:" string to the begin of enviroment
variable KRB5CCNAME.
Comment 2 Darren Tucker 2004-01-24 18:56:28 AEDT
*** Bug 751 has been marked as a duplicate of this bug. ***
Comment 3 Simon Wilkinson 2004-02-10 21:01:04 AEDT
Created attachment 545 [details]
Tidied patch

This is a slightly altered version of Petr's patch. We don't need to check the
return value of xmalloc() as it calls fatal() if NULL, and I've moved the
variable initialization to the start of the function.
Comment 4 Damien Miller 2004-02-17 20:34:05 AEDT
Patch applied - thanks
Comment 5 Damien Miller 2004-04-14 12:24:19 AEST
Mass change of RESOLVED bugs to CLOSED