Closed bmgante closed 4 years ago
you have to check your LDAP's log
Are you sure that your port 389 is not TLS ?
A little insight as of what's on the other side would help provide advice. The error suggests the connection is reset and closed, likely by a firewall rule.
Attached the pcap from homer server. Homer-app is 10.63.24.196 and ldap 10.21.3.142. From the homer server i am able to telnet ldap on port 389 (so firewall is ok) but maybe for some reason ldap does not allow to establish session with this homer server.
I dont see anything that can help - ONLY SYNC/RST - no PSH (data)
try to use ldapsearch
looks like it's not related to homer-app. I close the issue. Please reopen if needed
Hi,
I am having the following errors from ldap: {"level":"error","msg":"Couldn't auth user: unable to read LDAP response packet: read tcp 10.63.25.118:50736-\u003e10.21.3.142:389: read: connection reset by peer","time":"2020-10-14T14:15:52Z"} {"level":"error","msg":"Couldn't auth user: LDAP Result Code 200 \"Network Error\": ldap: connection closed","time":"2020-10-14T14:16:23Z"}
My ldap config is: "ldap_config": { "admingroup": "admin", "adminmode": true, "anonymous": false, "attributes": [ "givenName", "sn", "mail", "uid" ], "base": "dc=truphone,dc=local", "binddn": "cn=Grafana_AD,ou=Grafana,ou=xxxx Service Accounts,dc=xxxx,dc=xxxx", "bindpassword": "xxxxxxxxxxxxxxx", "groupfilter": "(memberUid=%s)", "host": "x.x.x.x", "port": 389, "skiptls": true, "skipverify": true, "userfilter": "(sAMAccountName=%s)", "usessl": false }
homer-app version 1.2.5