Invalid credentials

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
comfone
Posts: 127
Joined: Fri May 01, 2015 3:28 am

Invalid credentials

Post by comfone »

Dear All
We are now using the AD Integration of Nagios Log Server.
But some user are getting the error "Invalid credential", even though we are sure they typed the correct password.
As mentioned, not all user have this problem.
Can you please help.
Thank you.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Invalid credentials

Post by jolson »

Do the users who cannot log in have any sort of special characters in their passwords? It's possible that a particular special character could mess with the login process.

What version of Nagios Log Server are you running?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
comfone
Posts: 127
Joined: Fri May 01, 2015 3:28 am

Re: Invalid credentials

Post by comfone »

We have the Nagios Log Server • 1.3.0
I do have special characters but I tested that.
I created 2 AD user with the same password.
1 user was able to login while the other not.
In which logs at Nagio Log Server can I find more information?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Invalid credentials

Post by Box293 »

Run these commands

Code: Select all

tail /var/log/httpd/error_log -n 100 > /tmp/httpd_error_log.txt
tail /var/log/httpd/access_log -n 100 > /tmp/httpd_access_log.txt
Send us these files:
/tmp/httpd_error_log.txt
/tmp/httpd_access_log.txt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
comfone
Posts: 127
Joined: Fri May 01, 2015 3:28 am

Re: Invalid credentials

Post by comfone »

I have uploaded you the requested files.
You do not have the required permissions to view the files attached to this post.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Invalid credentials

Post by jolson »

Nothing in those files points to an obvious problem. Could you send in screenshots of the AD/LDAP settings you're using? Is there any consistency to this problem, or does it seem random? Are certain users _always_ affected, or are they only affected sometimes?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Invalid credentials

Post by scottwilkerson »

Also, can you verify that when you go to edit a user that cannot authenticate, that their "Auth Type:" is set to the appropriate AD server.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
comfone
Posts: 127
Joined: Fri May 01, 2015 3:28 am

Re: Invalid credentials

Post by comfone »

I have solved the problem.
The problem was that the "User logon name" and the "User Logon name[pre-Windows 2000]" on our AD were different and NagiosLogServer was trying to use the "User Logon name[pre-Windows 2000]".
Thank you for your help.
Locked