Hello all, thanks for all the responses, apologies for the lack of a response from myself until now, I was out of the office yesterday.
From Michael (17 Oct 2016 at 8:24 p.m. BST):
> Let us know if you have the o attribute enabled, and if that clears up the problem.
"o" is active. The description says "Organization i-number" so I thought this may not be the best field to use as I thought it's intention was only to be an id number of some kind representing the organisation rather than the name itself.
From Michael (17 Oct 2016 at 9:23 p.m. BST):
> I'd like to see the ldif for the person entry. Is the o attribute there for a given person?
I'm afraid I'm not sure how to export the person entry ldif, if you can send me some instructions I can certainly follow them and upload the data you need to see. I'm not sure if this helps at all, but if I look under "users">"manage people">[Select a user] I can't see "o" or organization listed here under each person (I can see it on the left "Add attributes to person entry" under the "organization i-num" label).
[http://pasteboard.co/1G0U1VAn6.png](http://pasteboard.co/1G0U1VAn6.png)
From Aliaksandr (17 Oct 2016 at 9:23 p.m. BST):
> 1. In o attribute's properties - is it active?
> 1. In your mappings or CR script: is some value is assigned to o? Please also do direct directory search within Gluu's directory, with ldapsearch or from web UI, for a user entry you use to test your setup and make sure its o attribute has some value.
> 1. If you use SAML to release it: is it added to the Trust Relationship you are testing?
> 1. If you use OIDC: check the attribute's properties again, make sure that "Usage Type" is set to "OpenID", and some claim name is set for it in "oxAuth claim name". Then check that it's added to some scope on the "OpenID Connect -> Scopes" page (when adding it you'll use the "oxAuth claim name" you set for it before). Then on the "OpenID Connect -> Clients" you'll need to make sure the scope you included it in is allowed to be released to client your RP uses.
1. The "o" attribute is active
1. In the CR mappings, I did have "o" mapped to a custom field storing the organization name I have in the user directory (which worked), but I then removed this as the description of o in Gluu was "Organization i-number" and didn't quite sound like the right thing to use. Could you confirm if this attribute is something fairly standard to store organisation names into (afraid I'm relatively new to the LDAP world, so I want to keep things standard where I can)?
1. We use SAML, but only for one trust relationship that doesn't require this attribute
1. I checked the attribute properties, and the usage type was "Not defined" and the oxAuth claim name was "o". Is "o" safe to store the organization name itself (rather than an i-number as the description infers, see the question in point 2)?
If so, I'll then try to make the changes there, if not, I can use Aliaksandr'a suggestion of a custom attribute (i.e. OrgName). I just need a bit of a steer on the attribute to use for organisation so we're not digressing too much from standard ldap practices.
Thanks for all your responses (and being patient with me!)