LDAP configuration

Hello,

Would you please share your success configuration for LDAP?

My config:
grafana.ini
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml

[log]
mode = console file
level = debug
filters = ldap:debug

ldap.toml
[[servers]]
host = “example.com
port = 636
use_ssl = true
start_tls = false
ssl_skip_verify = true
bind_dn = “CN=,OU=Users,OU=Branch,DC=example,DC=com”
bind_password = ‘’
search_filter = “(sAMAccountName=%s)”
search_base_dns = [“OU=Users,OU=Branch,DC=example,DC=com”]

[servers.attributes]
name = “givenName”
surname = “sn”
username = “sAMAccountName”
member_of = “memberOf”
email = “mail”

[[servers.group_mappings]]
group_dn = “CN=Engineering,OU=Users,OU=Branch,DC=example,DC=com”
org_role = “Admin”
grafana_admin = true # Available in Grafana v5.3 and above

[[servers.group_mappings]]
group_dn = “*”
org_role = “Viewer”

Failed on LDAP auth with the error message
“Initial bind failed” logger=ldap error=“LDAP Result Code 49 “Invalid Credentials”: 80090308: LdapErr: DSID-0C09042F, comment: AcceptSecurityContext error, data 52e, v2580”

Any help would be much appreciated.

Found a very helpful post https://github.com/grafana/grafana/issues/10040
The config works on our env.