patch for cgi: change authentication env-variable

Christian Schneemann schneemann at b1-systems.de
Mon Nov 1 14:14:55 CET 2010


Hallo again,

I realized that I send nonworking patches. (I should go back to bed..)

What do you think about the patch/functionality? 

(I know, the "performance" on the list was poor..)

Regards,
 Christian



On Monday, November 01, 2010 13:10:13 Christian Schneemann wrote:
> Hi,
> shame on me, send mail before adding text :(
> 
> The patches send could make the env-variable used in the cgi to
> authenticate the user changeable.
> 
> We had the "problem" at a customer, that he wanted to use a fancy
> SSO-Service with nagios.
> 
> Therefore we needed to change the HTTP_USER in cgiauth.c to the new
> variable the SSO-Service gave us.
> 
> Don't know how many different SSO-Services are available and what variables
> they use to submit the username to the services after the SSO. So we made
> it configurable in the cgi.cfg
> 
> What do you think about this? Maybe the default value should be HTTP_USER,
> even if it is not configured in the configfile.

-- 
Christian Schneemann                     
Linux Consultant & Developer
Tel.: +49-175-7250665
Mail: schneemann at b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgiauth.c.patch
Type: text/x-patch
Size: 531 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101101/1f990c68/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgiutils.c.patch
Type: text/x-patch
Size: 769 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20101101/1f990c68/attachment-0001.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list