linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] oid_registry: Add OIDs for missing Spnego auth mechanisms to Macs
@ 2021-08-20 23:18 Steve French
  2021-08-21  3:49 ` Steve French
  0 siblings, 1 reply; 2+ messages in thread
From: Steve French @ 2021-08-20 23:18 UTC (permalink / raw)
  To: CIFS, LKML, David Howells; +Cc: samba-technical

[-- Attachment #1: Type: text/plain, Size: 1331 bytes --]

 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 <stfrench@microsoft.com>

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

[-- Attachment #2: 0001-oid_registry-Add-OIDs-for-missing-Spnego-auth-mechan.patch --]
[-- Type: text/x-patch, Size: 1376 bytes --]

From f44e813bee47a907a062a863b1f01ffe2a8f9865 Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Fri, 20 Aug 2021 18:10:36 -0500
Subject: [PATCH] oid_registry: Add OIDs for missing Spnego auth mechanisms to
 Macs

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 <stfrench@microsoft.com>
---
 include/linux/oid_registry.h | 7 +++++++
 1 file changed, 7 insertions(+)

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 */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] oid_registry: Add OIDs for missing Spnego auth mechanisms to Macs
  2021-08-20 23:18 [PATCH] oid_registry: Add OIDs for missing Spnego auth mechanisms to Macs Steve French
@ 2021-08-21  3:49 ` Steve French
  0 siblings, 0 replies; 2+ messages in thread
From: Steve French @ 2021-08-21  3:49 UTC (permalink / raw)
  To: CIFS, LKML, David Howells, Paulo Alcantara; +Cc: samba-technical

[-- Attachment #1: Type: text/plain, Size: 1561 bytes --]

Fixed a typo in the patch (missing ',').  Updated patch attached.


On Fri, Aug 20, 2021 at 6:18 PM Steve French <smfrench@gmail.com> wrote:
>
>  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 <stfrench@microsoft.com>
>
> 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



-- 
Thanks,

Steve

[-- Attachment #2: 0001-oid_registry-Add-OIDs-for-missing-Spnego-auth-mechan.patch --]
[-- Type: text/x-patch, Size: 1425 bytes --]

From 9d5ae34aa9cfaa03d205f4a7a268d5ee9b33c57e Mon Sep 17 00:00:00 2001
From: Steve French <stfrench@microsoft.com>
Date: Fri, 20 Aug 2021 18:10:36 -0500
Subject: [PATCH] oid_registry: Add OIDs for missing Spnego auth mechanisms to
 Macs

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.

Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
---
 include/linux/oid_registry.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/linux/oid_registry.h b/include/linux/oid_registry.h
index 3d8db1f6a5db..0f4a8903922a 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 */
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-21  3:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20 23:18 [PATCH] oid_registry: Add OIDs for missing Spnego auth mechanisms to Macs Steve French
2021-08-21  3:49 ` Steve French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).