disabling authenticatioin

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

disabling authenticatioin

Post by jssingh »

I realize this makes me "stubborn and want to invite trouble" but I want to disable authentication for the nagios GUI. In cgi.cfg I set

Code: Select all

use_authentication=0
and

Code: Select all

default_user_name=nagiosadmin
and two days ago it was working fine. Today I'm getting the "Sorry, Dave" message again. It says I'm logged in as nagiosadmin. I can't think of anything I changed in the last 2 days that would have affected this. Any ideas?
User avatar
rhassing
Posts: 412
Joined: Sat Oct 05, 2013 10:29 pm
Location: Netherlands

Re: disabling authenticatioin

Post by rhassing »

Did you think about changing the apache config file?
It normally requires a valid user as well.
Rob Hassing
Image
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

Re: disabling authenticatioin

Post by jssingh »

yes, I edited the apache file as well. And I double checked, the apache files did not change since the last time this was working.
User avatar
lgroschen
Posts: 384
Joined: Wed Nov 27, 2013 1:17 pm

Re: disabling authenticatioin

Post by lgroschen »

Have a look at the second post in this topic: http://support.nagios.com/forum/viewtop ... =7&t=26686

If you have done each step in the list skip to the next, but verify that the setting is there to double check.
/Luke
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

Re: disabling authenticatioin

Post by jssingh »

I double checked everything in that post. It still doesn't work.
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

Re: disabling authenticatioin

Post by jssingh »

It (finally) occurred to me to copy over the cfgs from the system it was working on and do a diff and figured out what was going on. It's working now.
User avatar
lgroschen
Posts: 384
Joined: Wed Nov 27, 2013 1:17 pm

Re: disabling authenticatioin

Post by lgroschen »

Can you please post exactly what you changed? If it doesn't benefit us it will definitely benefit users looking at this topic.
/Luke
User avatar
jssingh
Posts: 110
Joined: Mon Apr 29, 2013 4:55 pm

Re: disabling authenticatioin

Post by jssingh »

I changed

Code: Select all

use_authentication=0
to

Code: Select all

use_authentication=1
User avatar
lgroschen
Posts: 384
Joined: Wed Nov 27, 2013 1:17 pm

Re: disabling authenticatioin

Post by lgroschen »

Thanks!! Re-Locking this.
/Luke
Locked