I’m trying to authenticate Grafana users with Active Directory but it is not working. and I got the following error log;
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Error while trying to authenticate user” logger=context userId=0 orgId=0 uname= error=“LDAP Result Code 200 "Network Error": read tcp 10.0.0.24:60794->172.16.13.1:389: read: connection reset by peer”
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/login status=500 remote_addr=10.0.0.253 time_ms=5 size=53 referer=http://10.0.0.24:3000/login
Please help me out to fix this
Grafana version : v6.0.1
Installed On : Redhat 7.4
Active Directory server setup:
IP address: 172.16.13.1
Domain: WN-AD
DNS name: wn.lk
**My grafana.ini configuration;
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
My ldap.toml configuration;
[[servers]]
host = “172.16.13.1”
port = 389
use_ssl = true
start_tls = false
ssl_skip_verify = true
bind_dn = “cn=grafana,dc=wn,dc=lk”
bind_password = ‘test@123’
search_filter = “(sAMAccountName=%s)”
search_base_dns = [“dc=wn,dc=lk”]
[servers.attributes]
name = “givenName”
surname = “sn”
username = “sAMAccountName”
member_of = “memberOf”
email = “mail”
[[servers.group_mappings]]
group_dn = “cn=grafana-admin,cn=Users,dc=wn,dc=lk”
org_role = “Admin”
[[servers.group_mappings]]
group_dn = “cn=grafana-editor,cn=Users,dc=wn,dc=lk”
org_role = “Editor”
[[servers.group_mappings]]
group_dn = “cn=grafana-viewer,cn=Users,dc=wn,dc=lk”
org_role = “Viewer”
sandaru:
I’m trying to authenticate Grafana users with Active Directory but it is not working. and I got the following error log;
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Error while trying to authenticate user” logger=context userId=0 orgId=0 uname= error=“LDAP Result Code 200 "Network Error": read tcp 10.0.0.24:60794->172.16.13.1:389: read: connection reset by peer”
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/login status=500 remote_addr=10.0.0.253 time_ms=5 size=53 referer=http://10.0.0.24:3000/login
Please help me out to fix this
Grafana version : v6.0.1
Installed On : Redhat 7.4
Active Directory server setup:
IP address: 172.16.13.1
Domain: WN-AD
DNS name: wn.lk
**My grafana.ini configuration;
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
My ldap.toml configuration;
[[servers]]
host = “172.16.13.1”
port = 389
use_ssl = true
start_tls = false
ssl_skip_verify = true
bind_dn = “cn=grafana,dc=wn,dc=lk”
bind_password = ‘test@123’
search_filter = “(sAMAccountName=%s)”
search_base_dns = [“dc=wn,dc=lk”]
[servers.attributes]
name = “givenName”
surname = “sn”
username = “sAMAccountName”
member_of = “memberOf”
email = “mail”
[[servers.group_mappings]]
group_dn = “cn=grafana-admin,cn=Users,dc=wn,dc=lk”
org_role = “Admin”
[[servers.group_mappings]]
group_dn = “cn=grafana-editor,cn=Users,dc=wn,dc=lk”
org_role = “Editor”
[[servers.group_mappings]]
group_dn = “cn=grafana-viewer,cn=Users,dc=wn,dc=lk”
org_role = “Viewer”
[[servers.group_mappings]]
group_dn = “*”
org_role = “Viewer”
sandaru:
I’m trying to authenticate Grafana users with Active Directory but it is not working. and I got the following error log;
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Error while trying to authenticate user” logger=context userId=0 orgId=0 uname= error=“LDAP Result Code 200 "Network Error": read tcp 10.0.0.24:60794->172.16.13.1:389: read: connection reset by peer”
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/login status=500 remote_addr=10.0.0.253 time_ms=5 size=53 referer=http://10.0.0.24:3000/login
Please help me out to fix this
Grafana version : v6.0.1
Installed On : Redhat 7.4
Active Directory server setup:
IP address: 172.16.13.1
Domain: WN-AD
DNS name: wn.lk
**My grafana.ini configuration;
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
My ldap.toml configuration;
[[servers]]
host = “172.16.13.1”
port = 389
use_ssl = true
start_tls = false
ssl_skip_verify = true
bind_dn = “cn=grafana,dc=wn,dc=lk”
bind_password = ‘test@123’
search_filter = “(sAMAccountName=%s)”
search_base_dns = [“dc=wn,dc=lk”]
[servers.attributes]
name = “givenName”
surname = “sn”
username = “sAMAccountName”
member_of = “memberOf”
email = “mail”
[[servers.group_mappings]]
group_dn = “cn=grafana-admin,cn=Users,dc=wn,dc=lk”
org_role = “Admin”
[[servers.group_mappings]]
group_dn = “cn=grafana-editor,cn=Users,dc=wn,dc=lk”
org_role = “Editor”
[[servers.group_mappings]]
group_dn = “cn=grafana-viewer,cn=Users,dc=wn,dc=lk”
org_role = “Viewer”
[[servers.group_mappings]]
group_dn = “*”
org_role = “Viewer”
[quote=“sandaru, post:1, topic:17579, full:true”]
I’m trying to authenticate Grafana users with Active Directory but it is not working. and I got the following error log;
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Error while trying to authenticate user” logger=context userId=0 orgId=0 uname= error=“LDAP Result Code 200 "Network Error": read tcp 10.0.0.24:60794->172.16.13.1:389: read: connection reset by peer”
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/login status=500 remote_addr=10.0.0.253 time_ms=5 size=53 referer=http://10.0.0.24:3000/login
Please help me out to fix this
Grafana version : v6.0.1
Installed On : Redhat 7.4
Active Directory server setup:
IP address: 172.16.13.1
Domain: WN-AD
DNS name: wn.lk
My grafana.ini configuration;
sandaru:
I’m trying to authenticate Grafana users with Active Directory but it is not working. and I got the following error log;
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Error while trying to authenticate user” logger=context userId=0 orgId=0 uname= error=“LDAP Result Code 200 "Network Error": read tcp 10.0.0.24:60794->172.16.13.1:389: read: connection reset by peer”
t=2019-05-23T11:35:10+0530 lvl=eror msg=“Request Completed” logger=context userId=0 orgId=0 uname= method=POST path=/login status=500 remote_addr=10.0.0.253 time_ms=5 size=53 referer=http://10.0.0.24:3000/login
Please help me out to fix this
Grafana version : v6.0.1
Installed On : Redhat 7.4
Active Directory server setup:
IP address: 172.16.13.1
Domain: WN-AD
DNS name: wn.lk
**My grafana.ini configuration;
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
My ldap.toml configuration;
[[servers]]
host = “172.16.13.1”
port = 389
use_ssl = true
start_tls = false
ssl_skip_verify = true
bind_dn = “cn=grafana,dc=wn,dc=lk”
bind_password = ‘test@123’
search_filter = “(sAMAccountName=%s)”
search_base_dns = [“dc=wn,dc=lk”]
[servers.attributes]
name = “givenName”
surname = “sn”
username = “sAMAccountName”
member_of = “memberOf”
email = “mail”
[[servers.group_mappings]]
group_dn = “cn=grafana-admin,cn=Users,dc=wn,dc=lk”
org_role = “Admin”
[[servers.group_mappings]]
group_dn = “cn=grafana-editor,cn=Users,dc=wn,dc=lk”
org_role = “Editor”
[[servers.group_mappings]]
group_dn = “cn=grafana-viewer,cn=Users,dc=wn,dc=lk”
org_role = “Viewer”
[[servers.group_mappings]]
group_dn = “*”
org_role = “Viewer”
[quote=“sandaru, post:1, topic:17579, full:true”]
I’m trying to authenticate Grafana users with Active Directory but it is not working. and I got the following error log;
t=2019-05-23T11:35:10+0530 lvl=eror msg="Error while trying to authenticate user" logger=context userId=0 orgId=0 uname= error="LDAP Result Code 200 \"Network Error\": read tcp 10.0.0.24:60794->172.16.13.1:389: read: connection reset by peer"
t=2019-05-23T11:35:10+0530 lvl=eror msg="Request Completed" logger=context userId=0 orgId=0 uname= method=POST path=/login status=500 remote_addr=10.0.0.253 time_ms=5 size=53 referer=http://10.0.0.24:3000/login
Please help me out to fix this
Grafana version : v6.0.1
Installed On : Redhat 7.4
Active Directory server setup:
IP address: 172.16.13.1
Domain: WN-AD
DNS name: wn.lk
My grafana.ini configuration;
[auth.ldap]
enabled = true
config_file = /etc/grafana/ldap.toml
allow_sign_up = true
My ldap.toml configuration;
[[servers]]
host = "172.16.13.1"
port = 389
use_ssl = true
start_tls = false
ssl_skip_verify = true
bind_dn = "cn=grafana,dc=wn,dc=lk"
bind_password = 'test@123'
search_filter = "(sAMAccountName=%s)"
search_base_dns = ["dc=wn,dc=lk"]
[servers.attributes]
name = "givenName"
surname = "sn"
username = "sAMAccountName"
member_of = "memberOf"
email = "mail"
[[servers.group_mappings]]
group_dn = "cn=grafana-admin,cn=Users,dc=wn,dc=lk"
org_role = "Admin"
[[servers.group_mappings]]
group_dn = "cn=grafana-editor,cn=Users,dc=wn,dc=lk"
org_role = "Editor"
[[servers.group_mappings]]
group_dn = "cn=grafana-viewer,cn=Users,dc=wn,dc=lk"
org_role = "Viewer"
[[servers.group_mappings]]
group_dn = "*"
org_role = "Viewer"