[31033] in Kerberos
Re: ticket renew
daemon@ATHENA.MIT.EDU (Tom Yu)
Wed Apr 29 14:57:55 2009
To: "Xu, Qiang (FXSGSC)" <Qiang.Xu@fujixerox.com>
From: Tom Yu <tlyu@mit.edu>
Date: Wed, 29 Apr 2009 14:57:33 -0400
In-Reply-To: <D8C9BC7FFCF8154FB7141EB8DB609C172DE4ACBA01@SGPAPHQ-EXSCC01.dc01.fujixerox.net>
(Qiang Xu's message of "Thu, 23 Apr 2009 15:32:09 +0800")
Message-ID: <ldvhc072spu.fsf@cathode-dark-space.mit.edu>
MIME-Version: 1.0
Cc: "kerberos@mit.edu" <kerberos@mit.edu>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
"Xu, Qiang (FXSGSC)" <Qiang.Xu@fujixerox.com> writes:
> Hi, all:
>
> I have done a kerberos authentication successfully, and get a TGT. And I also can use the TGT to do SASL binding in LDAP query now.
>
> The ticket looks like:
> ===========================================
> MBC107:/var/log/nc <135> /tmp/dlms/kerberos/apps/klist
> Ticket cache: FILE:/tmp/krb5cc_0
> Default principal: xuan@SESSWIN2003.COM
>
> Valid starting Expires Service principal
> 04/23/09 15:14:53 04/24/09 01:13:50 krbtgt/SESSWIN2003.COM@SESSWIN2003.COM
> renew until 04/24/09 15:14:53
> 04/23/09 15:13:50 04/24/09 01:13:50 ldap/sesswin2003.sesswin2003.com@SESSWIN2003.COM
> renew until 04/24/09 15:14:53
> ===========================================
> It said the ticket is renewable until somewhen. But how to do it in code? Is there any function to use, to renew the ticket?
kinit -R
can renew a renewable ticket. Are you asking if there is an API for
renewing tickets?
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos