[krbdev.mit.edu #1396] MAX_SKDC_TIMEOUT misleading

Frank Cusack via RT rt-comment at krbdev.mit.edu
Wed Mar 26 13:32:44 EST 2003


This value is set to 30 by default, however the code which uses it
(sendto_kdc.c) does an exponential backoff:

    for (timeout = krb5_skdc_timeout_1; timeout < krb5_max_skdc_timeout;
         timeout <<= krb5_skdc_timeout_shift) {

The actual max value used is 16s.  Setting it to 30 is misleading.
I'd say change this to 16, but an alternative is 32.

thx
/fc


More information about the krb5-bugs mailing list