Grafana Support with AD

I am trying to get my Grafana configured for secured LDAP/AD. Below is the error I get

t=2019-10-07T13:14:40-0400 lvl=info msg=“Initializing InternalMetricsService” logger=server

t=2019-10-07T13:14:40-0400 lvl=info msg=“Initializing AlertingService” logger=server

t=2019-10-07T13:14:40-0400 lvl=info msg=“Initializing HTTPServer” logger=server

t=2019-10-07T13:14:40-0400 lvl=info msg=“Initializing CleanUpService” logger=server

t=2019-10-07T13:14:40-0400 lvl=info msg=“Initializing NotificationService” logger=server

t=2019-10-07T13:14:40-0400 lvl=info msg=“Initializing ProvisioningService” logger=server

t=2019-10-07T13:14:40-0400 lvl=info msg=“Initializing RenderingService” logger=server

t=2019-10-07T13:14:40-0400 lvl=info msg=“Initializing TracingService” logger=server

t=2019-10-07T13:14:40-0400 lvl=info msg="Initializing Stream Manager"

t=2019-10-07T13:14:40-0400 lvl=info msg=“HTTP Server Listen” logger=http.server address=0.0.0.0:3000 protocol=http subUrl= socket=

t=2019-10-07T13:15:32-0400 lvl=info msg=“Initial bind failed” logger=ldap error="unable to read LDAP response packet: read tcp xxx.xxx.xxx.22:40844->1yyy.yyy.yyy.25:636: read: connection reset by peer"

t=2019-10-07T13:15:32-0400 lvl=eror msg=“Error while trying to authenticate user” logger=context userId=0 orgId=0 uname= error="unable to read LDAP response packet: read tcp xxx.xxx.xxxx.22:40844->1yyy.yyy.yyy.25:636: read: connection reset by peer"

t=2019-10-07T13:15:32-0400 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/login status=500 remote_addr=xxx.xxx.xxx.100 time_ms=101 size=183 referer=https://example.com/login

t=2019-10-07T13:15:47-0400 lvl=info msg=“Initial bind failed” logger=ldap error="unable to read LDAP response packet: read tcp xxx.xxx.xxx.22:40848->yyy.yyy.yyy.25:636: read: connection reset by peer"

t=2019-10-07T13:15:47-0400 lvl=eror msg=“Error while trying to authenticate user” logger=context userId=0 orgId=0 uname= error="unable to read LDAP response packet: read tcp xxx.xxx.xxx.22:40848->yyy.yyy.yyy.25:636: read: connection reset by peer"

t=2019-10-07T13:15:47-0400 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/login status=500 remote_addr=xxx.xxx.xxx.100 time_ms=138 size=183 referer=https://example.com/login

Below Is my config
[[servers]]

host = “ldap.example.com

port = 636

Set to true if ldap server supports TLS

use_ssl = true

Set to true if connect ldap server with STARTTLS pattern (create connection in insecure, then upgrade to secure connection with TLS)

start_tls = false

set to true if you want to skip ssl cert validation

ssl_skip_verify = true

root_ca_cert = “/etc/pki/tls/CA.pem”

It seems that your LDAP/AD server or another host in the path are closing the connection.