Page 1 of 2
UNable to login using AD account
Posted: Wed Aug 16, 2017 11:08 am
by sgiworks
Hello Team,
We have enabled LDAP authentication and were able to add the users and grant them access, however the users are unable to login.
Error Message: Could not get user. Specified ID may be wrong.
Regards,
Swapnil
Re: UNable to login using AD account
Posted: Wed Aug 16, 2017 12:14 pm
by cdienger
Please provide the ouptput of the following commands:
Code: Select all
curl -XGET 'http://localhost:9200/nagioslogserver/user/_search?pretty'
curl -XGET 'http://localhost:9200/nagioslogserver/cf_option/auth_servers/?pretty'
curl -XGET 'http://localhost:9200/_cluster/health?level=indices&pretty'
The first two commands may have some sensitive info regarding the AD settings. Please PM these to me.
Re: UNable to login using AD account
Posted: Wed Aug 16, 2017 1:16 pm
by sgiworks
---
Re: UNable to login using AD account
Posted: Wed Aug 16, 2017 2:39 pm
by cdienger
Config appears good. Use
https://support.nagios.com/kb/article/a ... ation.html to enable authentication debugging and provide the error_log.
Re: UNable to login using AD account
Posted: Mon Aug 21, 2017 6:03 pm
by sgiworks
I have enabled the logs, but where can I find the logs so that I can share it with you?
Re: UNable to login using AD account
Posted: Tue Aug 22, 2017 9:41 am
by cdienger
According to the doc you should be able to see errors logged to /var/log/httpd/error_log. Please provide this file.
Re: UNable to login using AD account
Posted: Tue Aug 22, 2017 2:23 pm
by sgiworks
error_log attached for further investigation and resolution
Re: UNable to login using AD account
Posted: Tue Aug 22, 2017 2:51 pm
by cdienger
Unfortunately nothing was logged. Please send an email to
[email protected] referencing this case number and we can open a ticket to take a closer look.
Re: UNable to login using AD account
Posted: Fri Sep 08, 2017 10:57 am
by sgiworks
I just tried creating a new local user, but even that user is unable to login. What could be the problem here?
I really want to get LDAP authentication working ASAP.
Re: UNable to login using AD account
Posted: Fri Sep 08, 2017 11:19 am
by mcapra
cdienger wrote:According to the doc you should be able to see errors logged to /var/log/httpd/error_log.
Alternatively, if it's a data write/read issue within ElasticSearch you might see something in the ElasticSearch log (
/var/log/elasticsearch/*.log)