patch for cgi: change authentication env-variable
Christian Schneemann
schneemann at b1-systems.de
Mon Nov 1 13:10:13 CET 2010
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
------------------------------------------------------------------------------
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
More information about the Developers
mailing list