summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-12-19 05:18:19 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2014-12-19 05:18:19 (GMT)
commit8561531cd288653f477c11f4f933d9c6a1735a0a (patch)
tree318f40a181a21d7844a2a2c3ada4ffabc8416b58
parentd588752b4c37f02bff4de255636ea8dc0a0c4f11 (diff)
downloadauthentic2-supann-8561531cd288653f477c11f4f933d9c6a1735a0a.zip
authentic2-supann-8561531cd288653f477c11f4f933d9c6a1735a0a.tar.gz
authentic2-supann-8561531cd288653f477c11f4f933d9c6a1735a0a.tar.bz2
Replace email by mail in attribute names of Renater attribute filters
-rwxr-xr-xupdate-renater-meta.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/update-renater-meta.sh b/update-renater-meta.sh
index 3ba6bee..3ac6ca0 100755
--- a/update-renater-meta.sh
+++ b/update-renater-meta.sh
@@ -70,5 +70,8 @@ EOF
# Load fixture
authentic2-ctl loaddata -v0 $FIXTURE_TMP
+# Fix wrong naming of email attribute
+sed -i 's/\<email\>/mail/' $FILTERS_TMP
+
# Load metadataas
authentic2-ctl sync-metadata --source=renater --shibboleth-attribute-filter-policy=$FILTERS_TMP --sp -v1 $METADATA_TMP