[racktables-users] HTTP passthrough auth
- From: "Garrett, Russell" <russ@xxxxxxx>
- To: <racktables-users@xxxxxxxxxxxxx>
- Date: Tue, 10 Jun 2008 10:57:35 +0100
We had some issues making the LDAP auth work with our LDAP setup, and
since we already have a mod_auth_ldap setup, I added a "trust" auth
method, which simply accepts the HTTP auth username.
I'm not 100% sure this is the right way to code it, but it was the
easiest way without refactoring half the login code. Add the following
lines to the top of authenticate():
if (getConfigVar ('USER_AUTH_SRC') == 'trust' && isset
($_SERVER['PHP_AUTH_USER']))
return;
--
Russ Garrett
Last.fm Ltd.
russ@xxxxxxx
- Follow-Ups:
- [racktables-users] Re: HTTP passthrough auth
- From: Denis Ovsienko
Other related posts:
- » [racktables-users] HTTP passthrough auth
- » [racktables-users] Re: HTTP passthrough auth
- [racktables-users] Re: HTTP passthrough auth
- From: Denis Ovsienko