Welcome! Log In Create A New Profile

Advanced

Re: difference between auth_basic and auth_ldap

A. Schulze
January 04, 2021 02:32PM
Am 03.01.21 um 23:17 schrieb Maxim Dounin:
> This is a result of how nginx-auth-ldap is written. Or, more
> strictly, how it adds itself into nginx request processing
> pipeline - it simply adds itself as an HTTP module, and ends up
> called before the access module.
>
> It is relatively easily to fix assuming dynamic module linking
> (that is, if you are using the "load_module" directive to load the
> module), just using
>
> ngx_module_order="ngx_http_auth_ldap_module ngx_http_access_module"
>
> should do the trick.

Hello Maxim,

as I only use dynamic module linking it was easy to adopt your suggestion.
It works.

I created a pull request: https://github.com/kvspb/nginx-auth-ldap/pull/242

Andreas
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

difference between auth_basic and auth_ldap

A. Schulze January 01, 2021 02:42PM

Re: difference between auth_basic and auth_ldap

Maxim Dounin January 03, 2021 05:18PM

Re: difference between auth_basic and auth_ldap

A. Schulze January 04, 2021 02:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 267
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