You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/06/27 14:33:27 UTC

[Bug 62497] New: Make r.ap_auth_type writable

https://bz.apache.org/bugzilla/show_bug.cgi?id=62497

            Bug ID: 62497
           Summary: Make r.ap_auth_type writable
           Product: Apache httpd-2
           Version: 2.4.33
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_lua
          Assignee: bugs@httpd.apache.org
          Reporter: 1983-01-06@gmx.net
  Target Milestone: ---

I've configured a LuaHookLog to set r.user from a downstream host, but cannot
set r.ap_auth_type to make it akin to a native Apache module authentication.

Here is my usecase: https://bz.apache.org/bugzilla/show_bug.cgi?id=62496

Looking at the C code, makes it pretty simple to implement.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62497] Make r.ap_auth_type writable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62497

--- Comment #5 from Michael Osipov <mi...@apache.org> ---
PR 63 is obsolete because trunk has been modified too much.

A new PR has been created: https://github.com/apache/httpd/pull/67

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62497] Make r.ap_auth_type writable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62497

--- Comment #2 from Christophe JAILLET <ch...@wanadoo.fr> ---
Hi Mickael.

Patch proposals are always welcome :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62497] Make r.ap_auth_type writable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62497

--- Comment #3 from Michael Osipov <mi...@apache.org> ---
(In reply to Christophe JAILLET from comment #2)
> Hi Mickael.
> 
> Patch proposals are always welcome :)

Great, I will try to work out a PR for this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62497] Make r.ap_auth_type writable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62497

--- Comment #4 from Michael Osipov <mi...@apache.org> ---
PR created: https://github.com/apache/httpd/pull/63

This is how it looks in my access log now:
2019-08-19T14:06:03.070 147.54.64.149 michaelo@apache.org SPNEGO
XVqQqzIujz1LpmpcW8M9NAAAAFg "POST /prod/api/documents HTTP/1.1" 201 - 863


After this is merged, I will create another issue to make this usable in
mod_log_config via %at (auth_type) as a companion for %u.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 62497] Make r.ap_auth_type writable

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62497

Michael Osipov <mi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michaelo@apache.org

--- Comment #1 from Michael Osipov <mi...@apache.org> ---
Shall I create a patch for that?

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org