Strange problem with ticket renewal

Nicolas Williams Nicolas.Williams at ubsw.com
Mon Apr 1 08:54:22 EST 2002


Sorry.

Here's the deal: you must get all the little ducks in a row.

Specifically, the renewable life is set to be the minimum of:

 - the requested renewable life
 - the client principal's max renewable life
 - the service principal's max renewable life
 - the max renewable life for the realm (or one day, if not set)

The principals' max renewable life times are set in the KDB records with
kadmin. By default new principals get a max renewable life of 0 if the
max renewable life for the realm is not set in kdc.conf. The kdb5_util
utility sets the max renewable life for the TGS the same way.

So, chances are that your krbtgt/<realm>@<realm> has a max renewable
life time of 0. Fix that, and your users' max renew times and you'll be
set.

As to why the MIT kdc issues tickets with renewal expiration set for one
day ago when the renewable lifetime calculated as above comes to 0, I
don't know. But once you fix the TGS and what not it all works.

Cheers,

Nico

On Fri, Mar 29, 2002 at 01:57:51PM +0100, Miroslav Zubcic wrote:
> Nicolas.Williams at ubsw.com (Nicolas Williams) writes:
> 
> > Oh, never mind.
> 
> Never mind? Can you please tell me what is a problem? I'm still trying
> to figure out this.
> 
> > On Thu, Mar 28, 2002 at 03:07:15PM -0500, Nicolas Williams wrote:
> > > I see the same behaviour. Any clues?
> 
> Ticket obtained with -r is always having "renew until" same in one
> second as "Valid starting". No matter what I do with options in kadmin
> or conf lines in kdc.conf or krb5.conf.
> 
> Does realy nobody knows what is a problem? Or the problem is so
> trivial that nobody is answering to my stupid question?
> 
> 
> -- 
> This signature intentionally left blank
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> http://mailman.mit.edu/mailman/listinfo/kerberos
-- 
-DISCLAIMER: an automatically appended disclaimer may follow. By posting-
-to a public e-mail mailing list I hereby grant permission to distribute-
-and copy this message.-

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the Kerberos mailing list