using LDAP-based user authentication
Jeff Rattray
jrattray at pnhs.purdue.edu
Sat Dec 10 20:40:55 CET 2005
On 10 Dec 2005 at 9:14, James S. White wrote:
>
> We implemented a similar solution using Apache::AuthCookie and it shows
> the user as just the userid, not the whole DN, It might be worth it to
> look at Apache::AuthCookie.
>
> >
> > I have successfully configured mod_authz_ldap to handle authentication on our
> > nagios server, and I can log into the nagios pages. Unfortunately, instead of
> > returning a simple username like 'jrattray', the CGIs see my username as
> > 'uid=jrattray,ou=people,o=pnhs.purdue.edu' . I cannot authorize myself to see
> > any information, because when I put that string into cgi.cfg, nagios breaks it
> > up at the commas into 3 different users. (The equals signs may be confusing it
> > also.)
> >
>
James -
That's worth looking into. The docs for Apache::AuthCookie say you have to
implement two functions (authen_cred() and authen_ses_key()), and a login page.
Presumably you have written perl scripts to do this for your LDAP store; would
you be willing to send me a copy of them to crib off of?
thanks,
Jeff
--
Jeff Rattray, Ph.D.
Manager, Web-based Instructional Technology
Purdue University College of Pharmacy, Nursing and Health Sciences
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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