Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5245679ybi; Tue, 30 Jul 2019 17:00:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5noccUVRTy6bivFrc0n7LMffzsJ4DWGhn4/UX87O2AtN+HQKrNRRsMNjVbndy/qOQ9Ivs X-Received: by 2002:a17:902:86:: with SMTP id a6mr30970328pla.244.1564531229469; Tue, 30 Jul 2019 17:00:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564531229; cv=none; d=google.com; s=arc-20160816; b=NRmJLKVRPsio9At+p5pXSEjyKYUdvTJ6ZfOT67ZryqFnPe6DGR/p4XjGnWqakZCiGo wKa4ojfdhzZSNUI2y10v0XjaH8xnusPG3+a2kRrFQptTBHImg8HbKRlm7PFgrDeN0+g2 sElqsn+HeoJI1Z7t5mhEsk1SNH99Yv0h+zladih8XnEo/4T3HazIR4WbJpdKWn0OvGY8 FCKwdqHnev9NLHXhbVzv24fMExL4OBIYlAeD4r3I6Po4yeTDXmg7qJk5Coo+jt0yos38 dyzluS2zSASmsStU3+n/5hho5iwMVeKTUGB3A1jvQRD6fIJ5habNlWuZLo8uyFNn7wNv R0Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=+Zfd30uKeJQjYLaIk7YNNsN577S6TOQQwjkfG+qCbdU=; b=eNVMoPToqmL8euSWsYuH8Pr61SwBawuht+5YviSS+W85PyBoyEDTtxkqDHbZEXPAwB C0HbC2V5MNphqp3c9P2cH5U+bg1KWBt78j+R0bklYgAKdoW7CGwnDG5iJ7i6DK2QZEXo jJR7uhEWPSrfFSQlbF4Y1TzPE9ctGI9GpeNuAS1QGzYpx53H22w/zACWMqMXK1pX8kNp po7xWMnxsr1UGiYQEcQT+ZM80ke0Pd5qpjZHDccDySAHjY/2TCdz+YFgaVxqNThLHZbk 4Phx9bGkAx95z/NKWB+dHsyip9PkE7m6PuNOF2DFrU3qHyiILFWJwf2NzjVYmwrcIpEb SyfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si32716703pgm.357.2019.07.30.17.00.15; Tue, 30 Jul 2019 17:00:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387908AbfG3V4z (ORCPT + 99 others); Tue, 30 Jul 2019 17:56:55 -0400 Received: from fieldses.org ([173.255.197.46]:41854 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387630AbfG3V4z (ORCPT ); Tue, 30 Jul 2019 17:56:55 -0400 Received: by fieldses.org (Postfix, from userid 2815) id C275BABE; Tue, 30 Jul 2019 17:56:54 -0400 (EDT) Date: Tue, 30 Jul 2019 17:56:54 -0400 From: "J. Bruce Fields" To: Scott Mayhew Cc: chuck.lever@oracle.com, linux-nfs@vger.kernel.org Subject: Re: [PATCH RFC 0/2] nfsd: add principal to the data being tracked by nfsdcld Message-ID: <20190730215654.GC3544@fieldses.org> References: <20190730210847.9804-1-smayhew@redhat.com> <20190730215428.GB3544@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190730215428.GB3544@fieldses.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Jul 30, 2019 at 05:54:28PM -0400, J. Bruce Fields wrote: > How does it fail when principals are longer? Does it error out, or > treat two principals as equal if they agree in the first 1024 bytes? I guess it's being compared against a string passed from gss-proxy? We could also check for limits there. --b.