Just upgraded from grafana 9.4.3 to 9.5.1, the ldap autentication process which was working find in 9.4.3 stop working.
Don’t know if it is related, message in grafana.log indicate:
logger=context userId=0 orgId=0 uname= t=2023-05-04T12:54:58.555351914+02:00 level=error msg=“Error while trying to authenticate user” error=“cannot remove last grafana admin” remote_addr=w.x.y.z traceID=
LDAP is having a single user, which has been granted admin privilege in grafana using org_role.