Re: [kitten] Checking the transited list of a kerberos ticket in a transitive cross-realm trust situation...

Simo Sorce <simo@redhat.com> Thu, 24 August 2017 12:36 UTC

Return-Path: <simo@redhat.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 99210132392 for <kitten@ietfa.amsl.com>; Thu, 24 Aug 2017 05:36:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kivx347OvhS6 for <kitten@ietfa.amsl.com>; Thu, 24 Aug 2017 05:36:27 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 477B11321DC for <kitten@ietf.org>; Thu, 24 Aug 2017 05:36:26 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 111A881DE5; Thu, 24 Aug 2017 12:36:26 +0000 (UTC)
DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 111A881DE5
Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=simo@redhat.com
Received: from ovpn-117-60.phx2.redhat.com (ovpn-117-60.phx2.redhat.com [10.3.117.60]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 38A7D7D51D; Thu, 24 Aug 2017 12:36:25 +0000 (UTC)
Message-ID: <1503578184.3428.19.camel@redhat.com>
From: Simo Sorce <simo@redhat.com>
To: Greg Hudson <ghudson@mit.edu>, Stefan Metzmacher <metze@samba.org>, heimdal-discuss@h5l.org, "krbdev@mit.edu Dev List" <krbdev@mit.edu>, "kitten@ietf.org" <kitten@ietf.org>, Samba Technical <samba-technical@lists.samba.org>
Date: Thu, 24 Aug 2017 08:36:24 -0400
In-Reply-To: <ec067a72-313e-1878-33a0-a3259d2979d5@mit.edu>
References: <f33d5f68-1fdc-c1bc-c702-70b054880bb4@samba.org> <649fa812-aacf-80b6-1976-a719eca60fc2@mit.edu> <33c431f5-c36b-c321-de3f-65977d8aa898@samba.org> <007c29e8-02b9-4f48-f67e-881cb0985d64@mit.edu> <69d80d24-d461-1652-3cfb-e55d90d31fbf@samba.org> <ec067a72-313e-1878-33a0-a3259d2979d5@mit.edu>
Organization: Red Hat, Inc.
Content-Type: text/plain; charset="UTF-8"
Mime-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Thu, 24 Aug 2017 12:36:26 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/7Y5tmNEbqF52GwUl0vRLfiILUI0>
Subject: Re: [kitten] Checking the transited list of a kerberos ticket in a transitive cross-realm trust situation...
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Aug 2017 12:36:28 -0000

On Wed, 2017-08-23 at 20:38 -0400, Greg Hudson wrote:
> On 08/23/2017 07:01 PM, Stefan Metzmacher wrote:
> > > I think we should first consider whether it would be sufficient
> > > for MIT
> > > krb5 to suppress the rd_req transited check if the
> > > TRANSITED-POLICY-CHECKED flag is set in the ticket.  MIT and
> > > Heimdal
> > > KDCs both appear to perform the transited check and set the flag
> > > by default.
> > 
> > But Windows KDCs doesn't set this bit (I guess because it's just
> > not
> > useful).
> 
> I don't agree at all that the bit isn't useful.  That bit is how a
> KDC
> communicates that it vouches for the transited path.  Unfortunately,
> you
> do appear to be correct about Windows KDCs.  MS-KILE says:
> 
>     The TRANSITED-POLICY-CHECKED flag ([RFC4120] section 2.7): KILE
>     MUST NOT check for transited domains on servers or a KDC.
>     Application servers MUST ignore the TRANSITED-POLICYCHECKED flag.
> 
> which basically means Microsoft has declined to conform to RFC 4120
> in
> this area, instead requiring servers to implement PACs to
> interoperate
> in a cross-realm environment.
> 
> I guess the proposed credential option is necessary, in that case.
> 

I think in this case ignoring the flag should probably be conditional
to whether a PAC is present.

My2c.

Simo.
-- 
Simo Sorce
Sr. Principal Software Engineer
Red Hat, Inc