LDAP login works but mapping is not working for user info sync

Grafana v8.3.3, CentOS 8.2, Redhat Identity Management LDAP.

LDAP mapping in Grafana is not working. I can login with an LDAP account and the ‘Test user mapping’ returns a user, but no user information is shown, i.e. no corresponding ldap attirbute for first name, last name etc. Also, the user is not listed in Server Admin > Users (i.e. user is not sync’d) when logged in so you can’t do any management to the user.


email = “mail”
member_of = “memberOf”
name = “givenName”
surname = “sn”
username = “uid”

bind_dn = “uid=admin,cn=users,cn=accounts,dc=hpc,dc=uwa,dc=edu,dc=au”
bind_password = “*****”
group_search_base_dns = [“cn=groups,cn=accounts,dc=hpc,dc=uwa,dc=edu,dc=au”]
host = “.hpc.uwa.edu.au”
port = 636
search_base_dns = [“cn=users,cn=accounts,dc=hpc,dc=uwa,dc=edu,dc=au”]
search_filter = “(uid=%s)”
ssl_skip_verify = true
start_tls = false
use_ssl = true

There are no errors in the logs. I just get a request completed http 400 entry.

The only slightly non-standard config is auth anonymous and auto_assign to org id = 2

enabled = true
org_name = uwa
org_role = Viewer

allow_sign_up = false
auto_assign_org = true
auto_assign_org_id = 2

Any help appreciated.