Welcome! Log In Create A New Profile

Advanced

Re: remote_user variable

All files from this thread

File Name File Size   Posted by Date  
ngx_http_variable_remote_user.diff 677 bytes open | download Michal Kowalski 06/05/2009 Read message
June 05, 2009 11:19PM
I support this. I'm funding a module for Kerberos auth and populaing
remote user is the expected result of it. Allowing a plugin to set it
properly is key otherwise the module must exist -and- nginx must be
patched. Definately not ideal.

On Jun 5, 2009, at 7:42 PM, Michal Kowalski
<kowalski.michal@gmail.com> wrote:

> hello,
>
> i'm doing different authorization method module and i want to set
> remote_user variable upon success. but ngx_http_variable_remote_user
> in src/http/ngx_http_variables.c assumes basic auth method.
> for now i've added bogus, dummy mangling of authorization header
> to my module in order to please the higher powers...
> but i'd rather there was systemic way to deal with it.
>
> i'm attaching a proposal for a patch to do the "trick". not tested
> yet.
> so perhaps i could put more thought into it if it doesn't work...
> thaaaat way.
>
> mike
> --
> (let* ((mk "MichaƂ Kowalski") (sig `(lambda () ,mk))) ((eval sig)))
> <ngx_http_variable_remote_user.diff>
Subject Author Posted

remote_user variable Attachments

Michal Kowalski June 05, 2009 10:42PM

Re: remote_user variable

mike June 05, 2009 11:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 137
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready