UNable to login using AD account

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

UNable to login using AD account

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: UNable to login using AD account

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Re: UNable to login using AD account

Post by sgiworks »

---
Last edited by sgiworks on Mon Aug 21, 2017 6:39 pm, edited 1 time in total.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: UNable to login using AD account

Post by cdienger »

Config appears good. Use https://support.nagios.com/kb/article/a ... ation.html to enable authentication debugging and provide the error_log.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Re: UNable to login using AD account

Post by sgiworks »

I have enabled the logs, but where can I find the logs so that I can share it with you?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: UNable to login using AD account

Post by cdienger »

According to the doc you should be able to see errors logged to /var/log/httpd/error_log. Please provide this file.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Re: UNable to login using AD account

Post by sgiworks »

error_log attached for further investigation and resolution
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: UNable to login using AD account

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
sgiworks
Posts: 197
Joined: Mon Mar 21, 2016 11:38 am

Re: UNable to login using AD account

Post 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.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: UNable to login using AD account

Post 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)
Former Nagios employee
https://www.mcapra.com/
Locked