How to sync LDAP users in Nagios 2.x?

Patrick Morris patrick.morris at hp.com
Thu Apr 10 20:50:20 CEST 2008


Hi Terry!

On Thu, 10 Apr 2008, Terry Lin wrote:

> Hi,
> 
> We have two Nagios one is version 1.x and the other one is version 2.9 and both use LDAP to login.
> I just setup a new Nagios version 2.11 and it won?t work for LDAP.
> Here are the files that I checked:
> /etc/httpd/conf.d/nagios.conf
> /etc/httpd/conf.d/authz_ldap.conf
> 
> /usr/local/nagios/etc/cgi.cfg -->
> I checked every single Authentication settings but each setting Is the same as my previous servers.
> I don?t know if I have missed anything in this file or I have to mess around other files.
> 
> /usr/local/nagios/etc/nagios.cfg
> 
> But I login as my LDAP users and the browser told me I am not an authorized user as below???
> 
> It appears as though you do not have permission to view information for any of the services you requested...
> If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
> and check the authorization options in your CGI configuration file.

First, it doesn't matter which version of Nagios you use, since Nagios
doesn't handle authentication.  Howver, you haven't said anything about
what may be different in the two webserver versions, and that's what's
important.

Since you haven't provided any information about how authentication is
configured or what you're doing it with, the best I can do is tell you
to see the documentation for your webserver to see to do LDAP
authentication.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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