Adding LDAP users to the new organisation

I am using LDAP authentication over grafana. when i create the new organisation, it is not letting me add new users and i have only one option invite users with email id and it doesnt sync with LDAP. Also when users logged into grafana they login to default/main org. and i dont see that users in the new organisation.
my ldap.toml config below

Specify names of the ldap attributes your ldap uses

name = “givenName”
surname = “sn”
username = “cn”
#member_of = “sAMAccountName”
member_of = “memberOf”
email = “email”

Map ldap groups to grafana org roles

group_dn = “cn=admins,dc=grafana,dc=org”
org_role = “Admin”

The Grafana organization database id, optional, if left out the default org (id 1) will be used

#;org_id = 1
#;grafana_admin = true
auto_assign_org = true
group_dn = “cn=users,dc=grafana,dc=org”
org_role = “Editor”

If you want to match all (or no ldap groups) then you can use wildcard

group_dn = “*”
org_role = “Viewer”

how can i onboard users to the new organisation using LDAP or invite users to login using ADS user not using email.


@torkel , Everytime when super-admin creates a new Organization, we cant add the LDAP user group to the ldap.toml as it is like touching the production server. There should be some other way to add the users to the organization( admin, editor permission). Also API asks for user password which gets set in the grafana level.
Is there any other way in the UI that Super-admin can set the logged in user permissions ?