[38396] in Kerberos

home help back first fref pref prev next nref lref last post

Need help: How to use different caches for TGT and TGS.

daemon@ATHENA.MIT.EDU (Santosh Kumar)
Thu Dec 13 00:01:11 2018

MIME-Version: 1.0
From: Santosh Kumar <santoshjeergi@gmail.com>
Date: Thu, 13 Dec 2018 10:30:37 +0530
Message-ID: <CAFnsFFd7pM2Np=ssz-UwtP0e3ZjOhRSj+nZeCTx2z=eszRwU2g@mail.gmail.com>
To: <kerberos@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

HI everyone,

seeking your help for below:

Have default TGT in default cache location /tmp/krb5cc_36073 .

How to get TGS and store in different cache , but use TGT from default
cache location?
Like in heimdal has ./kgetcred -c /tmp/krb5cc_36073
--out-cache=/tmp/imper_cache --impersonate=user@EXAMPLE.NET
delegateusr@EXAMPLE.NET

where in kvno.c  can i modify to request different cache location for TGS.


In below all the tickets are in same location:

santoshkj$ ./klist -a -f
Ticket cache: FILE:/tmp/krb5cc_36073
Default principal: host/PXE-DEV.EXAMPLE.NET@EXAMPLE.NET

Valid starting     Expires            Service principal
12/11/18 16:40:20  12/12/18 02:40:20  krbtgt/EXAMPLE.NET@EXAMPLE.NET
        renew until 12/18/18 16:40:20, Flags: FRIA
        Addresses: (none)
12/11/18 16:41:01  12/12/18 02:40:20  host/PXE-DEV.EXAMPLE.NET@EXAMPLE.NET
        for client leema\@EXAMPLE.NET@EXAMPLE.NET, renew until 12/18/18
16:40:20, Flags: FRA
        Addresses: (none)
12/11/18 16:41:02  12/12/18 02:40:20  http/
Parent-2K16.EXAMPLE.NET@EXAMPLE.NET
        for client leema\@EXAMPLE.NET@EXAMPLE.NET, renew until 12/18/18
16:40:20, Flags: FRA
        Addresses: (none)

Thanks
Santosh
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post