By: Hannah McKee user 03 Nov 2016 at 4 a.m. CDT

4 Responses
Hannah McKee gravatar
Hi, I am trying to add a custom attribute, and keep getting the below error: > ERROR [org.gluu.oxtrust.action.UpdateAttributeAction] Failed to add new attribute type to LDAP schema org.gluu.site.ldap.persistence.exception.EntryPersistenceException: Failed to update entry: cn=schema Not sure where I'm going wrong, or where to look to get more info about what's going wrong! | Property | Value | |------------------ |-------------------------------------| | Name | party_gid | | SAML1 URI | urn:mace:dir:attribute-def:partygid | | Display Name | Party GID | | Type | Text | | Edit Type | admin | | View Type | admin, user | | Usage Type | Not defined | | Multivalued | False | | oxAuth claim name | PartyGID |

By Mohib Zico staff 03 Nov 2016 at 5:52 a.m. CDT

Mohib Zico gravatar
I think you can't use underscore as 'Name' of the attribute. Also it's better to use Name and 'oxAuth claim name' same.

By Hannah McKee user 03 Nov 2016 at 5:57 a.m. CDT

Hannah McKee gravatar
Thanks for your quick response, that worked. Maybe the error message when an incorrect attribute name is entered could be updated, as it suggests underscores can be used. > Name should contain only letters and underscores Thank you! Hannah

By William Lowe user 04 Nov 2016 at 11:06 a.m. CDT

William Lowe gravatar
Thanks, Hannah. I opened a [github issue](https://github.com/GluuFederation/oxTrust/issues/382) to track this.

By Vlatko Boskosk user 26 Jan 2017 at 3 p.m. CST

Vlatko Boskosk gravatar
BetterWorks require sending attribute saml_token It is same for all users I can not create such attribute, can I pass such attribute on fly?