[Rt-devel] Patch to allow alternate REMOTE_USER variable for WebExternalAuth.

Jason A. Smith smithj4 at bnl.gov
Thu Sep 24 15:08:09 EDT 2009

We are are testing WebAuth with RT and for it to work with
WebExternalAuth, I needed to have RT look for a variable name different
than the default REMOTE_USER.  Since Apache reserves REMOTE_USER for its
own purposes, WebAuth cannot use that variable.  So, we have our WebAuth
server set a different variable which contains the user's login name.
The attached patch adds an additional config variable and changes the
WebCanonicalizeInfo function to return the value of that variable, if
specified, or the default REMOTE_USER if not set.

I tested this with our WebAuth server and rt-3.8.5.


|  Jason A. Smith                          Email:  smithj4 at bnl.gov |
|  Atlas Computing Facility, Bldg. 510M    Phone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.                                   |

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rt-3.8.5-webauth-remote-user.patch
Type: text/x-patch
Size: 1737 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20090924/32f2d0eb/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3906 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20090924/32f2d0eb/attachment-0001.bin 

More information about the Rt-devel mailing list