By: Ha Ro user 20 May 2018 at 11:52 a.m. CDT

6 Responses
Ha Ro gravatar
Greetings, We have been working on a project that includes using Gluu. Currently using Gluu 3.1.1 on Ubuntu Ubuntu 16.04 LTS. We have easily added custom attributes either via the Gluu web interface or via LDAP client (Apache Directory Studio). These attributes and related properties are viewable through either interface and the development app. The development application works for validation when hitting the custom attributes. However, through the Gluu web admin interface, when we try to set (through web interface) the Multivalued from default "multivalued" to either "True or "False", and click "Update", we get an error: "The attribute type 'testId02' not defined in LDAP schema. This is true of every attribute we created. It should also probably be noted we are using SCIM as well. default "SCIM Attribute", trying to change to "True", but can't get past the Multivalued error. If leave Multivalued as "Multivalued" and change SCIM Attribute to "True", get (expected) error of "Multivalued Validation Error: Value is requied" My assumption is we missed a step, or are "doing it wrong" for Gluu. But we keep wading through the docs and not finding the answer. I get the feeling this is something basic, fundamental, and we're just missing something obvious. Can you please give us a nudge in the right direction what may be the issue? Is this something wrong in how/where we are creating Attributes? Is it something wrong with our GLuu development server config? Would updating to 3.1.3 be recommended? Thank you very much for your guidance. Example test attribute: ``` Name: testId02 Display Name: TestId02 Type: Text Edit Type: user, admin View Type: user, admin Usage Type: Not defined Multivalued: "Multivalued". Trying to change through web interface to "True" or "False" generates the descrived error, and changes are not saved. oxAuth claim name: <blank> SCIM Attribute: default "SCIM Attribute", trying to change to "True", but can't get past the Multivalued error. If leave Multivalued as "Multivalued" and change SCIM Attribute to "True", get (expected) error of "Multivalued Validation Error: Value is requied" Description: TestId02 Enable Custom validationf or this attribute: <unchecked> Enable tooltip for this attribute: <unchecked> Minimum Length: <blank> Maximum Length: <blank> Regex Pattern: <blank> Status: "Active" ```

By Michael Schwartz Account Admin 20 May 2018 at 12:32 p.m. CDT

Michael Schwartz gravatar
This sounds like a bug. We'll try to replicate on our side.

By Ha Ro user 20 May 2018 at 12:48 p.m. CDT

Ha Ro gravatar
In that case, should I try upgrading to 3.1.3 to see if resolves? Or stay with 3.1.1 for now? Thanks!

By Michael Schwartz Account Admin 20 May 2018 at 12:54 p.m. CDT

Michael Schwartz gravatar
Well it's worth a shot. You should upgrade anyway if you're still in the development phase. Shekhar, who is assigned the ticket, will probably know more than I do.

By Shekhar L. staff 23 May 2018 at 11:57 a.m. CDT

Shekhar L. gravatar
Hi Hawke, you need to add custom attributes to /opt/gluu/schema/openldap/custom.schema. Here are the steps to register new customattributes : https://gluu.org/docs/ce/admin-guide/attribute/#custom-attributes Regards, Shekhar L.

By Shekhar L. staff 06 Jun 2018 at 12:10 p.m. CDT

Shekhar L. gravatar
Hi Hawke, Is it working for u ? Regards, Shekhar L.

By Ha Ro user 25 Jun 2018 at 9:56 a.m. CDT

Ha Ro gravatar
We were hung up with [this bug](https://support.gluu.org/installation/5538/update-rcd-error-initscript-does-not-exist-etcinitdgluu-server-313-ubunutu-16044-lts/) preventing upgrading from 3.1.1 to 3.1.3 to see if would fix this bug. Finally, figured out workaround to the upgrade bug so could see if fixed here. Yes, now it is working.