summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@sunet.se>2022-12-01 16:21:43 +0100
committerIvan Kanakarakis <ivan.kanak@gmail.com>2022-12-07 15:57:43 +0200
commit96b245ec360b8251dec02765da53a0c7c298356f (patch)
tree66339480c88c4a335232d032863b0f302ae76a70
parent9accfa67bb0b43344ee25b2cd15f5fc0b2048061 (diff)
downloadpysaml2-96b245ec360b8251dec02765da53a0c7c298356f.tar.gz
added missing attribute mailLocalAddress to attribute maps
-rw-r--r--src/saml2/attributemaps/saml_uri.py2
-rw-r--r--src/saml2/attributemaps/shibboleth_uri.py2
2 files changed, 4 insertions, 0 deletions
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",