Update: Kerberos Ticket Forwarding Patch/Update [3.2]

Love Hörnquist Åstrand lha at kth.se
Fri Aug 1 20:58:12 GMT 2008

1 aug 2008 kl. 21.49 skrev Jeremy Allison:

> On Fri, Aug 01, 2008 at 09:41:01PM +0100, Love Hörnquist Åstrand  
> wrote:
>>> The only thing left to do is decide how to cope
>>> with the krb5_mk_1cred() call...
>> Just use result of krb5_fwd_tgt_creds() directly and slip the  
>> unwrap +
>> wrap code ?
> Errr, ok. Can you explain that to me please ? I'm just making the
> code compile and not leak memory, I need a refresher on the theory :- 
> (.

fwd_tgt_creds give back a packed KRB-CRED (ie it runs mk_1crd for you).

Your code unpacks it and repacks it again, so if you remove the 50  
lines that does nothing, your done.


More information about the samba-technical mailing list