Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1861434pxb; Fri, 20 Aug 2021 16:21:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxw2T/qsAkDbLIkfaURTj95wD2xJ9JarHNDuFCKz1B+k70pruqOhWWsyDW7otWbWEgfVgx8 X-Received: by 2002:a6b:e712:: with SMTP id b18mr17887756ioh.186.1629501679154; Fri, 20 Aug 2021 16:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629501679; cv=none; d=google.com; s=arc-20160816; b=LbOk2Gn2AihmDcDDD8peul/XhDymuHkS1B0RE/ow00otlLMMgQocmczNlG41mQefC1 dEQL6JA4ctrGclI0m0of55jXixHBJhvjremuNjqHFFfLh26KALmyxmdawFHai8LQ0GYs IjifFL+n76mOyTnX+dI+Y1dDnpWBux2Jk5v46QcUyQTN5uTZEUBztwbpsaWzm8u78c3W bOVgy8jWO/M0/r58/w7ktqyS3gNynCv8p0isR9LjeNotKS8vrroPerfCir+XyaNYWliu LKsG/fZt0ILzthZQATIDgGL+MsXWOsn/NynkG2J9jDhUQX1VY033/pMekqzcGfrZbUch mIjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=injNyqk0O05AWAjdLiK5Yd2rg5V8yrPBZJK/UIJi/0o=; b=BnUBlPaNPqzIdQBfjWzKqWS8eu/gNpM8moh7J01nxIIZQ63ERXrHi/P2lomrCd7qLT dc0YXDcgSNxNVfGBglNYT69iVAulC58Qya8lbziyxXHUh1B8LazGbAJ/HXptQvkwycuo 80qGa2ZjQRiM0HhFYn4nCbHSZWauOE3GypkVKfP0WwM59dJnerYrFhZHsZkaBNySYA69 RPQpBf9ve4pxuFrn5Di3n7A9qaDAsOypkB4rQZChAw+t7+Ij4uvrcWqFN7dGDPinHJO8 sFd9zlwdV5ayiDTxiI/e+cxpo2JaCuDfWetxbQ0kiYQ+MG225bRlh3ON74W+NNTHNz34 YYIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OhxktmJd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m2si8789097ili.39.2021.08.20.16.21.06; Fri, 20 Aug 2021 16:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=OhxktmJd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235729AbhHTXTr (ORCPT + 99 others); Fri, 20 Aug 2021 19:19:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbhHTXTm (ORCPT ); Fri, 20 Aug 2021 19:19:42 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7A12C061575; Fri, 20 Aug 2021 16:19:03 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id n7so19786231ljq.0; Fri, 20 Aug 2021 16:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=injNyqk0O05AWAjdLiK5Yd2rg5V8yrPBZJK/UIJi/0o=; b=OhxktmJd+PAjFzfrGtZaXuFU/maWnJT19lhfCcPO/L8J8X+Oo/ESSzcDGrn4sYcoMk kPS4N3xChJi2pDtasRzktUbuMMqZXEAJPH8gLv6BXeGnRaW7cJjI0LMtaezF1G9bH6lU WzkRpPRR6a7udCiBtXnRy/ybXzqlb65uC3/GWpQA/G+d4DsX4AFUmkxAtyWV9iaVkSzj CcGrhkBuVfsY4013/Bft+F+a4d3+G6z0bkGvNKhmeFdCMacMv7WTHpC/zfDTgyF/6PXk DwUdQcy3j3prh7pR1+s7zLIyIPMDjfC8htOkA5m+1sHQV4Rvdea7qOOnjpTGzTXt8lzE RaYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=injNyqk0O05AWAjdLiK5Yd2rg5V8yrPBZJK/UIJi/0o=; b=RpHWOi17CSHdGAH+pG0gAiEB8CJNRg1WMqdVEmrnYtpolNqElBfFVHcHvrKFrBaLJs as4b210f1MOazaKUkw4OlsCPnlNpfAborqiHx6iTEz5DOI+r2k3x5MJtKZi7nITFsObK GoxMI/pQ4v94nkYUnKsnLNhDmHF60Uxdw4wXXHYymr/RJZyOA/wiFO9wbKJdNq61VS1i /kKecMJPXzx/lSBX2pV5MSPCZvB6lmdPd8l0hHze7IxrQXYFgM9XlfrJ8ojSX+xI2Ogy mA6ZRYb4GkwepSLk78W8IpXd9HS6L+yVj9sUbiND/9iqsjGH24CcOm1mwMPIerGhf/sy UTdQ== X-Gm-Message-State: AOAM533oP8AbwDxERndFxh3CSAqYv8j5nym6Vj0K+8O5S4yOMVB8g6pQ WfeMF9AR05qIAN+R3WQJokxR191wBZarMlShTi9AJXCiNWp/fw== X-Received: by 2002:a2e:2417:: with SMTP id k23mr17886463ljk.256.1629501541700; Fri, 20 Aug 2021 16:19:01 -0700 (PDT) MIME-Version: 1.0 From: Steve French Date: Fri, 20 Aug 2021 18:18:50 -0500 Message-ID: Subject: [PATCH] oid_registry: Add OIDs for missing Spnego auth mechanisms to Macs To: CIFS , LKML , David Howells Cc: samba-technical Content-Type: multipart/mixed; boundary="0000000000008def7405ca05e408" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --0000000000008def7405ca05e408 Content-Type: text/plain; charset="UTF-8" In testing mounts to Macs, noticed that the OIDS for some GSSAPI/SPNEGO auth mechanisms sent by the server were not recognized and were missing from the header. Signed-off-by: Steve French diff --git a/include/linux/oid_registry.h b/include/linux/oid_registry.h index 3d8db1f6a5db..2728842721bc 100644 --- a/include/linux/oid_registry.h +++ b/include/linux/oid_registry.h @@ -70,6 +70,9 @@ enum OID { OID_spnego, /* 1.3.6.1.5.5.2 */ + OID_IAKerb, /* 1.3.6.1.5.2.5 */ + OID_PKU2U /* 1.3.5.1.5.2.7 */ + OID_Scram, /* 1.3.6.1.5.5.14 */ OID_certAuthInfoAccess, /* 1.3.6.1.5.5.7.1.1 */ OID_sha1, /* 1.3.14.3.2.26 */ OID_id_ansip384r1, /* 1.3.132.0.34 */ @@ -104,6 +107,10 @@ enum OID { OID_authorityKeyIdentifier, /* 2.5.29.35 */ OID_extKeyUsage, /* 2.5.29.37 */ + /* Heimdal mechanisms */ + OID_NetlogonMechanism, /* 1.2.752.43.14.2 */ + OID_appleLocalKdcSupported, /* 1.2.752.43.14.3 */ + /* EC-RDSA */ OID_gostCPSignA, /* 1.2.643.2.2.35.1 */ OID_gostCPSignB, /* 1.2.643.2.2.35.2 */ -- Thanks, Steve --0000000000008def7405ca05e408 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-oid_registry-Add-OIDs-for-missing-Spnego-auth-mechan.patch" Content-Disposition: attachment; filename="0001-oid_registry-Add-OIDs-for-missing-Spnego-auth-mechan.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_kskz4e7j0 RnJvbSBmNDRlODEzYmVlNDdhOTA3YTA2MmE4NjNi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