From 96b245ec360b8251dec02765da53a0c7c298356f Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 1 Dec 2022 16:21:43 +0100 Subject: added missing attribute mailLocalAddress to attribute maps --- src/saml2/attributemaps/saml_uri.py | 2 ++ src/saml2/attributemaps/shibboleth_uri.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/saml2/attributemaps/saml_uri.py b/src/saml2/attributemaps/saml_uri.py index a7b5c718..908e3e0a 100644 --- a/src/saml2/attributemaps/saml_uri.py +++ b/src/saml2/attributemaps/saml_uri.py @@ -127,6 +127,7 @@ MAP = { f"{NETSCAPE_LDAP}2": "departmentNumber", f"{NETSCAPE_LDAP}3": "employeeNumber", f"{NETSCAPE_LDAP}4": "employeeType", + f"{NETSCAPE_LDAP}13": "mailLocalAddress", f"{NETSCAPE_LDAP}39": "preferredLanguage", f"{NETSCAPE_LDAP}40": "userSMIMECertificate", f"{NETSCAPE_LDAP}216": "userPKCS12", @@ -351,6 +352,7 @@ MAP = { "l": f"{X500ATTR_OID}7", "labeledURI": f"{UMICH}57", "mail": f"{UCL_DIR_PILOT}3", + "mailLocalAddress": f"{NETSCAPE_LDAP}13", "member": f"{X500ATTR_OID}31", "norEduOrgAcronym": f"{NOREDUPERSON_OID}6", "norEduOrgNIN": f"{NOREDUPERSON_OID}12", diff --git a/src/saml2/attributemaps/shibboleth_uri.py b/src/saml2/attributemaps/shibboleth_uri.py index 7ddef3e0..8f14c42f 100644 --- a/src/saml2/attributemaps/shibboleth_uri.py +++ b/src/saml2/attributemaps/shibboleth_uri.py @@ -28,6 +28,7 @@ MAP = { f"{NETSCAPE_LDAP}2": "departmentNumber", f"{NETSCAPE_LDAP}3": "employeeNumber", f"{NETSCAPE_LDAP}4": "employeeType", + f"{NETSCAPE_LDAP}13": "mailLocalAddress", f"{NETSCAPE_LDAP}39": "preferredLanguage", f"{NETSCAPE_LDAP}40": "userSMIMECertificate", f"{NETSCAPE_LDAP}216": "userPKCS12", @@ -146,6 +147,7 @@ MAP = { "l": f"{X500ATTR}7", "localityName": f"{X500ATTR}7", "mail": f"{UCL_DIR_PILOT}3", + "mailLocalAddress": f"{NETSCAPE_LDAP}13", "member": f"{X500ATTR}31", "norEduOrgAcronym": f"{NOREDUPERSON_OID}6", "norEduOrgUniqueIdentifier": f"{NOREDUPERSON_OID}7", -- cgit v1.2.1