Bug 698 - Specify FILE: for KRB5CCNAME
Summary: Specify FILE: for KRB5CCNAME
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Kerberos support (show other bugs)
Version: 3.7.1p1
Hardware: All Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
: 751 (view as bug list)
Depends on:
Blocks: 793
  Show dependency treegraph
 
Reported: 2003-09-22 21:00 AEST by Petr Ostadal
Modified: 2004-04-14 12:24 AEST (History)
1 user (show)

See Also:


Attachments
fix of this bug (463 bytes, patch)
2003-09-22 21:04 AEST, Petr Ostadal
no flags Details | Diff
Tidied patch (875 bytes, patch)
2004-02-10 21:01 AEDT, Simon Wilkinson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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