By: David Franzkoch user 22 Mar 2018 at 11:27 a.m. CDT

4 Responses
David Franzkoch gravatar
I suppose I found a bug while trying to generate Shibboleth SP config-files using the Gluu GUI. This is an excerpt of the resulting attribute-map.xml file, which contains faulty exported attribute definitions: <Attribute name="urn:oid:$attrParams.attributeOids.get($attribute.name)" id="uid"/> <Attribute name="urn:oid:$attrParams.attributeOids.get($attribute.name)" id="mail"/> <Attribute name="urn:oid:$attrParams.attributeOids.get($attribute.name)" id="displayName"/> <Attribute name="urn:oid:$attrParams.attributeOids.get($attribute.name)" id="givenName"/> <Attribute name="urn:oid:$attrParams.attributeOids.get($attribute.name)" id="sn"/> <Attribute name="urn:oid:$attrParams.attributeOids.get($attribute.name)" id="memberOf"/> As you can see the export worked, sort of. The list corresponds exactly to the user attributes I selected to be released, but the strings seem like variables were not expanded before writing to the output file. It should read something like this <Attribute name="urn:oid:urn:oid:0.9.2342.19200300.100.1.1" id="uid"/> etc. Steps to reproduce: I created a new trust relationship to a Shibboleth SP (new, house internal testing SP Apache + Moodle). Specified public cert, selected "Generate" method, entered URL, configured relying party, added attributes to be released, clicked "Update". After success message, I downloaded "Shibboleth 3 configuration files" ZIP file. The Gluu GUI does give the correct OID strings when I mouse-over the attributes. ![enter image description here](https://preview.ibb.co/mSJ6VH/mouse_over.jpg "enter image title here")

By William Lowe user 22 Mar 2018 at 12:29 p.m. CDT

William Lowe gravatar
Thank you, David. Wasiqul, Can you try to reproduce and open a github issue? Thanks, Will

By Sahil Arora user 27 Mar 2018 at 8:02 p.m. CDT

Sahil Arora gravatar
Thank you for reporting this bug. I have verified this issue in the build, and raised a [defect ](https://github.com/GluuFederation/oxShibboleth/issues/42)to be fixed in 3.1.3 release.

By Mohib Zico Account Admin 28 Mar 2018 at 9:45 a.m. CDT

Mohib Zico gravatar
Thanks all; let's monitor github issue then?

By Mohib Zico Account Admin 04 Apr 2018 at 8:33 a.m. CDT

Mohib Zico gravatar
[Fixed](https://github.com/GluuFederation/oxShibboleth/issues/42) in 3.1.3.