[11974] in Kerberos-V5-bugs
Re: [krbdev.mit.edu #6893] error codes from error responses can be
daemon@ATHENA.MIT.EDU (nalin@redhat.com via RT)
Tue Apr 19 15:19:51 2011
Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "nalin@redhat.com via RT" <rt-comment@krbdev.MIT.EDU>
In-Reply-To: <rt-6893@krbdev.mit.edu>
Message-ID: <rt-6893-34009.11.0429902660142@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #6893'":;"'AdminCc of krbdev.mit.edu Ticket #6893'":;@MIT.EDU
Date: Tue, 19 Apr 2011 15:19:48 -0400 (EDT)
Reply-To: rt-comment@krbdev.MIT.EDU
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu
On Tue, Apr 19, 2011 at 02:43:18PM -0400, Greg Hudson via RT wrote:
> Are you actually seeing unframed KRB-ERROR responses with e_data? If so,
> from what server, and what's in the e_data?
>
> The intention of the code is to work around the specific interoperability
> bug where an AD server returns an unframed KRB-ERROR message with no
> e_data, which was a specific observed behavior. If there are servers
> returning unframed KRB-ERROR messages with e_data, we need to figure out
> how to process it. The current code intentionally treats the packet as
> garbage (because plen is wrong and the circumstances don't meet the
> specific interop workaround).
I had to cook up a fake server to trigger the code path, but the
original report [1] was in the context of a pair of Windows Server 2008
R2 domain controllers with one of the servers being down.
The error in the report has e_data that's a two byte octet string:
[0x00, 0x03]
The packet capture shows the client sending one request, then
retransmitting it 4 seconds later. Almost immediately, it gets the
KRB-ERROR back, but then 11 seconds later it gets a KRB-PRIV response
back, which I'm guessing would indicate success if it were decrypted.
HTH,
Nalin
[1] https://bugzilla.redhat.com/show_bug.cgi?id=658871
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs