Bug 372

Summary: [RFE] [authkrb5] : KRB5CCNAME set to pointer
Product: Portable OpenSSH Reporter: julien rousseslot <basalt>
Component: Kerberos supportAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED INVALID    
Severity: enhancement    
Priority: P2    
Version: -current   
Hardware: All   
OS: All   

Description julien rousseslot 2002-07-28 19:01:33 AEST
openssh 3.4 /3.2 at least
seen on i386 and sparc, with net/openbsd, cygwin ...

when trying to authentify trough kerberos V, KRB5CCNAME var set to wrong value 
on client :

shiva:krb {50} klist
klist: No ticket file: 0x506c0

v4-ticket file: /tmp/tkt1003
klist: No ticket file (tf_util)

think it something near do_setup_env in session.c :

    892 #ifdef KRB5
    893         if (s->authctxt->krb5_ticket_file)
    894                 child_set_env(&env, &envsize, "KRB5CCNAME",
    895                     (char *)s->authctxt->krb5_ticket_file);
    896 #endif

hope this help !


regards,
Julien
Comment 1 julien rousseslot 2002-07-30 18:49:33 AEST
think this is not a bug but just a functionnality partially implemented
Comment 2 Simon Wilkinson 2003-05-21 00:45:24 AEST
If this is reproducable, then its a bug somewhere.

Could you confirm which Kerberos library and version you've seen this problem 
with?

Are the credentials correctly created in /tmp, and KRB5CCNAME just isn't set 
right, or are the credentials not being created at all?
Comment 3 Darren Tucker 2003-11-19 23:55:40 AEDT
Since krb5 is now gone, should this bug be closed?
Comment 4 Darren Tucker 2004-01-22 20:51:14 AEDT
(correction: krb5 is not gone, my mistake).

Anyway, I'm closing this bug, please reopen if you can reproduce the problem
with the current version.
Comment 5 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED