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

Viktor Dukhovni <viktor1dane@dukhovni.org> Thu, 24 August 2017 20:47 UTC

Return-Path: <viktor1dane@dukhovni.org>
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 CE7B613238E for <kitten@ietfa.amsl.com>; Thu, 24 Aug 2017 13:47:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 MGr4bjR_9Cyz for <kitten@ietfa.amsl.com>; Thu, 24 Aug 2017 13:47:03 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [108.5.242.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3CC5F1321A3 for <kitten@ietf.org>; Thu, 24 Aug 2017 13:47:03 -0700 (PDT)
Received: from [192.168.1.161] (straasha.imrryr.org [100.2.39.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mournblade.imrryr.org (Postfix) with ESMTPSA id 999337A3302 for <kitten@ietf.org>; Thu, 24 Aug 2017 20:47:01 +0000 (UTC) (envelope-from viktor1dane@dukhovni.org)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
From: Viktor Dukhovni <viktor1dane@dukhovni.org>
In-Reply-To: <1503596189.3428.26.camel@redhat.com>
Date: Thu, 24 Aug 2017 16:47:01 -0400
Content-Transfer-Encoding: 7bit
Reply-To: kitten@ietf.org
Message-Id: <F363B51E-FDF7-4C91-9ABD-B623B5CE97BC@dukhovni.org>
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> <1503578184.3428.19.camel@redhat.com> <db882372-aa1d-e58e-4c94-a268539bd2ee@samba.org> <1503596189.3428.26.camel@redhat.com>
To: kitten@ietf.org
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/kitten/djN9p-sF-1fo8Iy4_9U-vaYaF5c>
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 20:47:05 -0000

[ Just kitten, as either not subcribed or subscribed with a different
  address to some of the other lists. ]

> On Aug 24, 2017, at 1:36 PM, Simo Sorce <simo@redhat.com> wrote:
> 
>> We should enforce a PAC always to be present, as we don't support
>> trusted domains with LSA_TRUST_TYPE_MIT anyway.
> 
> In samba, yes, but that option can be used in other clients that can
> connect to multiple types of servers so in case they do not get a PAC
> the flag should be respected.

Does the Kerberos library know whether whether the application is going
to look at PACs and SIDs or just use the client principal name?  I am
guessing it does not.  Thus in Samba, one might need a dedicated
krb5.conf configuration file that disables the transit check.  Other
applications should still apply transit check even if a PAC happens
to be present, as AFAIK it may well remain unused.

-- 
	Viktor.