[PATCH] oid_registry: Add OIDs for missing Spnego auth mechanisms to Macs

Steve French smfrench at gmail.com
Fri Aug 20 23:18:50 UTC 2021


 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-oid_registry-Add-OIDs-for-missing-Spnego-auth-mechan.patch
Type: text/x-patch
Size: 1376 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20210820/edc5f398/0001-oid_registry-Add-OIDs-for-missing-Spnego-auth-mechan.bin>


More information about the samba-technical mailing list