authenticated user always "guest"

David Halik dhalik at jla.rutgers.edu
Wed Mar 4 23:00:51 CET 2009


It figures that after three hours of debugging, as soon as I send mail 
the problem is fixed. We actually use *two* htaccess files, and the 
second one in the cgi area was missing.  ;)
 
I did find a bug in config.inc.php which I'm upstreaming though.

Thanks anyways!

David Halik wrote:
> Hi all,
>
> We've recently started to upgrade from Nagios 2.7 to 3.1 and noticed 
> something odd.
>
> We use .htaccess with Apache in the Nagios webroot to restrict 
> authentication to only our internal LDAP system. Once auth'd Nagios' 
> cgi.conf then defines which users have which perms. Users coming from 
> our "protected" IP space don't have to auth at all and get the default 
> user of guest.
>
> This has been working fine for us over the last year or two, but since 
> trying to move to 3.1 the same method and config files are giving us 
> different behavior. After authenticating succesfully as user "bob", 
> Nagios doesn't pick up bob as the auth'd name and just sees me as the 
> default "guest". Which means bob's Nagios perms are not activated, 
> guest's are.
>
> No matter what I've tried I can't get Nagios to accept the authenticated 
> user name from Apache, yet I have this working fine in 2.7 with 
> identical configs.
>
> Anyone else seen the same behavior or have any ideas? This really has me 
> stumped and is a blocker for us upgrading.
>
> Thanks,
> -Dave
>
>   


-- 
================================
David Halik
System Administrator
OIT-CSS Rutgers University
dhalik at jla.rutgers.edu
================================


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list