Re: [users@httpd] disable httpd ap_directory_walk() before mpm_itk transfer

2023-04-24 Thread Stefan Helmert
Hello, i tried a lot of stuff. Yes, setting uid in itk_map_to_storage() oder in itk_dirwalk_stat() will work, but it is too early for the other modules: Authentication and Authorization are done by mod_auth_openidc. After this step, the external user is known and mod_lua runs to map the exte

Re: [users@httpd] disable httpd ap_directory_walk() before mpm_itk transfer

2023-04-03 Thread Stefan Helmert
OK, thanks. I also thought, there must be a way, because proxy module do also suppress directory walk. There are some other bugs in mpm_itk. I think, changing the behavior of mpm_itk is the best thing. I do not really know, how to write apache2 httpd modules. Best regards Stefan Helmert Am

Re: [users@httpd] disable httpd ap_directory_walk() before mpm_itk transfer

2023-03-31 Thread Yann Ylavic
On Fri, Mar 31, 2023 at 2:46 PM Yann Ylavic wrote: > > On Fri, Mar 31, 2023 at 2:27 PM Yann Ylavic wrote: > > > > Hello, > > > > On Fri, Mar 31, 2023 at 8:18 AM Stefan Helmert wrote: > > > > > > in my setup, httpd runs on a specific uid and delegates transfers to > > > mpm_itk with AssignUserIDE

Re: [users@httpd] disable httpd ap_directory_walk() before mpm_itk transfer

2023-03-31 Thread Yann Ylavic
On Fri, Mar 31, 2023 at 2:27 PM Yann Ylavic wrote: > > Hello, > > On Fri, Mar 31, 2023 at 8:18 AM Stefan Helmert wrote: > > > > in my setup, httpd runs on a specific uid and delegates transfers to > > mpm_itk with AssignUserIDExpr %{reqenv:MAPPED_USER} dynamic uid. > > > > The problem is: httpd r

Re: [users@httpd] disable httpd ap_directory_walk() before mpm_itk transfer

2023-03-31 Thread Yann Ylavic
Hello, On Fri, Mar 31, 2023 at 8:18 AM Stefan Helmert wrote: > > in my setup, httpd runs on a specific uid and delegates transfers to > mpm_itk with AssignUserIDExpr %{reqenv:MAPPED_USER} dynamic uid. > > The problem is: httpd runs ap_directory_walk() with its own uid before > delegating to mpm_i

[users@httpd] disable httpd ap_directory_walk() before mpm_itk transfer

2023-03-30 Thread Stefan Helmert
Hello, in my setup, httpd runs on a specific uid and delegates transfers to mpm_itk with AssignUserIDExpr %{reqenv:MAPPED_USER} dynamic uid. The problem is: httpd runs ap_directory_walk() with its own uid before delegating to mpm_itk with the dynamic uid. This fails, because httpd doesn't ha