diff --git a/acs/attribute_aggregator/mapping.py b/acs/attribute_aggregator/mapping.py index ba1ba57..22841ac 100644 --- a/acs/attribute_aggregator/mapping.py +++ b/acs/attribute_aggregator/mapping.py @@ -32,6 +32,26 @@ ATTRIBUTE_MAPPING = { "type": "http://www.w3.org/2001/XMLSchema#string", }, +#Extracted from openldap schema /etc/ldap/schema/core.ldif +"age": { + "oid": "1.2.3.4", + "display_name": _("Age"), + "profile_field_name": 'age', + "type": "http://www.w3.org/2001/XMLSchema#integer", + "namespaces": { + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims": { + "identifiers": + [ + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/dateofbirth", + ], + "friendly_names": + [ + "Date Of Birth", + ], + } + } +}, + #Extracted from openldap system schema "extensibleObject": { "oid": "1.3.6.1.4.1.1466.101.120.111",