difference between auth_basic and auth_ldap

A. Schulze sca at andreasschulze.de
Mon Jan 4 19:29:04 UTC 2021

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


More information about the nginx mailing list