krb5_string_to_deltat

Kevin Coffman kwc at citi.umich.edu
Tue Sep 21 14:06:10 EDT 2004


> >>>>> "kwc" == Kevin Coffman <kwc at citi.umich.edu> writes:
> 
> kwc> While testing the new gssrpc code, I've run into a situation with 
> kwc> krb5_string_to_deltat() not liking my krb5.conf setting of 
> kwc> ticket_lifetime.  My original krb5.conf has:
> 
> kwc> ticket_lifetime = 604800
> 
> kwc> The cvs-current code returns EINVAL for this, but likes "604800s" (or 
> kwc> "100h", or "7d").
> 
> I don't know of anything that would cause such a change.  Did the bare
> integer ever work?  On what release did it last work?
> krb5_string_to_deltat() has used the bison grammar for quite some
> time... I think since krb5-1.1.  Prior to that, I think there was a
> hand-coded parser.

The bare integer works with 1.3.1 for sure.  I believe it works with
all the 1.3.x releases, but am not positive.  I built the cvs-current
code on a RH9 machine if that matters.




More information about the krbdev mailing list