Return-Path: Received: from mail-eopbgr710099.outbound.protection.outlook.com ([40.107.71.99]:27115 "EHLO NAM05-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727526AbeHPT05 (ORCPT ); Thu, 16 Aug 2018 15:26:57 -0400 From: Trond Myklebust To: "bfields@fieldses.org" , "chuck.lever@oracle.com" CC: "simo@redhat.com" , "linux-nfs@vger.kernel.org" Subject: Re: [PATCH v2 1/4] sunrpc: Enable the kernel to specify the hostname part of service principals Date: Thu, 16 Aug 2018 16:27:23 +0000 Message-ID: <3e9c0dd18719fdc37a00aa5f5e9cddc8010d24e5.camel@hammerspace.com> References: <20180816160404.2230.55488.stgit@klimt.1015granger.net> <20180816160554.2230.58754.stgit@klimt.1015granger.net> In-Reply-To: <20180816160554.2230.58754.stgit@klimt.1015granger.net> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: T24gVGh1LCAyMDE4LTA4LTE2IGF0IDEyOjA1IC0wNDAwLCBDaHVjayBMZXZlciB3cm90ZToNCj4g QSBtdWx0aS1ob21lZCBORlMgc2VydmVyIG1heSBoYXZlIG1vcmUgdGhhbiBvbmUgIm5mcyIga2V5 IGluIGl0cw0KPiBrZXl0YWIuIEVuYWJsZSB0aGUga2VybmVsIHRvIHBpY2sgdGhlIGtleSBpdCB3 YW50cyBhcyBhIG1hY2hpbmUNCj4gY3JlZGVudGlhbCB3aGVuIGVzdGFibGlzaGluZyBhIEdTUyBj b250ZXh0Lg0KPiANCj4gVGhpcyBpcyB1c2VmdWwgZm9yIEdTUy1wcm90ZWN0ZWQgTkZTdjQuMCBj YWxsYmFja3MsIHdoaWNoIGFyZQ0KPiByZXF1aXJlZCBieSBSRkMgNzUzMCBTMy4zLjMgdG8gdXNl IHRoZSBzYW1lIHByaW5jaXBhbCBhcyB0aGUgc2VydmljZQ0KPiBwcmluY2lwYWwgdGhlIGNsaWVu dCB1c2VkIHd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