From 3b75ed62d145e9b11af3607c6594867fa0a6a0b0 Mon Sep 17 00:00:00 2001
From: Olav Morken <olav.morken@uninett.no>
Date: Fri, 3 Feb 2012 12:03:07 +0000
Subject: [PATCH] attributemap: Add a couple of schac attributes to the oid
 mapping.

This patch adds the schacHomeOrganization and schacPersonalUniqueCode
attributes to the name2oid map and the oid2name map.

Thanks to Georg Gollmann for providing this patch!

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3028 44740490-163a-0410-bde0-09ae8108e29a
---
 attributemap/name2oid.php | 2 ++
 attributemap/oid2name.php | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/attributemap/name2oid.php b/attributemap/name2oid.php
index 895875ebf..5e3346869 100644
--- a/attributemap/name2oid.php
+++ b/attributemap/name2oid.php
@@ -160,5 +160,7 @@ $attributemap = array(
 	'userid' => 'urn:oid:0.9.2342.19200300.100.1.1',
 	'x121Address' => 'urn:oid:2.5.4.24',
 	'x500UniqueIdentifier' => 'urn:oid:2.5.4.45',
+	'schacHomeOrganization' => 'urn:oid:1.3.6.1.4.1.25178.1.2.9',
+	'schacPersonalUniqueCode' => 'urn:oid:1.3.6.1.4.1.25178.1.2.14',
 );
 ?>
\ No newline at end of file
diff --git a/attributemap/oid2name.php b/attributemap/oid2name.php
index 3a55886fb..cfb813351 100644
--- a/attributemap/oid2name.php
+++ b/attributemap/oid2name.php
@@ -139,5 +139,7 @@ $attributemap = array(
 	'urn:oid:2.5.4.7' => 'l',
 	'urn:oid:2.5.4.8' => 'st',
 	'urn:oid:2.5.4.9' => 'street',
+	'urn:oid:1.3.6.1.4.1.25178.1.2.9' => 'schacHomeOrganization',
+	'urn:oid:1.3.6.1.4.1.25178.1.2.14' => 'schacPersonalUniqueCode',
 );
 ?>
\ No newline at end of file
-- 
GitLab