Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by krbdev.mit.edu (8.12.9) with ESMTP id m6GGAfo4000258; Wed, 16 Jul 2008 12:10:41 -0400 (EDT) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.13.6/8.9.2) with ESMTP id m6GGAZA2021779; Wed, 16 Jul 2008 12:10:35 -0400 (EDT) Received: from NOME-KING.MIT.EDU (NOME-KING.MIT.EDU [18.18.1.160]) (authenticated bits=0) (User authenticated as raeburn@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id m6GGAYBV019807 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 16 Jul 2008 12:10:34 -0400 (EDT) Message-ID: <6F3DE283-AA87-4B8C-8C27-CC4CB39A2944@mit.edu> From: Ken Raeburn To: rt@krbdev.mit.edu In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Subject: Re: [krbdev.mit.edu #5947] FFM.EXAMPLE.ORG -> M.EXAMPLE.ORG broken MIME-Version: 1.0 (Apple Message framework v928.1) Date: Wed, 16 Jul 2008 12:10:33 -0400 References: X-Mailer: Apple Mail (2.928.1) X-Scanned-BY: MIMEDefang 2.42 X-Spam-Flag: NO X-Spam-Score: 0.00 RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 1168 On Jul 16, 2008, at 03:47, Volker.Lendecke@SerNet.DE via RT wrote: > Sorry to reply by EMail, I don't see a way to comment on the > bug inside the trouble ticket system. It used to be allowed, but we got too much spam through the web forms. Unless/until we find a way around that, this is how it's going to stay. :( > Thanks for looking at the bug. Are you saying that my patch > breaks other setups? Yes, it appears that way. > At my customer's site it does work, also for subrealms which > have different lengths in the subrealm part of EXAMPLE.COM. My tests that got wrong results were (and you can check them with the t_walk_rtree program in lib/krb5/krb, which you'll have to build explicitly if you haven't used "make check"): from A.EXAMPLE.COM to EXAMPLE.COM or vice versa (with patch, went up to COM and back down) from EXAMPLE.COM to EXAMPLE.COM (should've returned a specific error, instead went up to COM and back down) Tom Yu has put together some code to replace part of the walk_rtree string processing, perhaps his version will be clearer, as well as correct. :-) I haven't had a chance to try plugging it in yet though. Ken