However from the gui I can see that they have been added as admins of their corresponding organization and viewers of the main one. See attached screenshot.
Is there any way of making the automatic mapping to work?
It’s been a while since I last looked at this so had to dig into the code a bit. Unfortunately, there have been no major changes or fixes in the last 18 months to the LDAP code (I don’t think anyone wants to work on LDAP in their free time) so this bug is still there.
Here is the issue for this problem (it’s been open for a year and no PR’s ):
The user is synced on login but the default org for the user is never set. So the answer is still the same as the linked question - that it has to be done via the API:
I know that this is not very user friendly. We have plans to both improve the LDAP code later this year and to create a premium version of the LDAP integration with team sync (and then in Grafana 5.0 you can assign teams permissions to folders and dashboards).
Hi daniellee,
Is the above discussed issue to preserve the orgId for grafana users once they authenticate using LDAP been addressed with Grafana 5.0.3 ?