[32451] in Kerberos

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

Re: bug report: "too many SRV records" becomes "no SRV records"

daemon@ATHENA.MIT.EDU (Ken Raeburn)
Wed Jun 9 23:30:07 2010

Mime-Version: 1.0 (Apple Message framework v1078)
From: Ken Raeburn <raeburn@mit.edu>
In-Reply-To: <m2631rc2ij.fsf@darwin.oankali.net>
Date: Wed, 9 Jun 2010 23:30:01 -0400
Message-Id: <DF2DE974-CD59-4CE9-8F28-09BF65F3B78D@mit.edu>
To: "Richard E. Silverman" <res@qoxp.net>
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

On Jun 9, 2010, at 17:36, Richard E. Silverman wrote:
>>>>>> "res" == Richard E Silverman <res@qoxp.net> writes:
> 
>    res> One day, due to an error, the number of KDC SRV records for one
>    res> of our realms doubled from 27 to 54... and KDC lookups via DNS
>    res> prompty broke.  I bumped up the nextincr value above, and it
>    res> started working again.  Probably not the right fix, but just
>    res> letting you know that there's a bug here.
> 
> By the way, it wasn't quite clear to me -- if this should go to krbdev,
> please let me know.  I've been posting here first to vet whether something
> actually *is* a bug, if or before posting there.  Thanks.

Yep, it's a bug; krbdev or krb5-bugs (where it'll actually get recorded in the bug database) would be the right place.

There's already code there that looks like it's supposed to be growing the buffer until it's big enough; apparently that's not working correctly.  (And, why it doubles the size until it's at least as big as the size returned from the library routine, rather than just using the size returned by the search routine, I don't know....)

Ken
________________________________________________
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