Welcome! Log In Create A New Profile

Advanced

Re: Nginx randomly crashes

Maxim Dounin
February 01, 2013 06:36AM
Hello!

On Fri, Feb 01, 2013 at 12:11:58PM +0100, Patrick Lists wrote:

> On 02/01/2013 12:07 PM, rg00 wrote:
> >I really need ldap authentication, is there an alternative to that module?
>
> A quick google gave:
>
> https://github.com/kvspb/nginx-auth-ldap

This one blocks as well.

There is no non-blocking API in PAM, hence correct nginx module to
use PAM for authentication is something impossible to write. And
LDAP client libraries out there are blocking too, so writing LDAP
authentication module isn't something simple.

> http://forum.nginx.org/read.php?2,18552

Yep, using X-Accel-Redirect is a good way to handle any
needed authentication/authorization.

Alternatively, one may use auth request module:

http://mdounin.ru/hg/ngx_http_auth_request_module

I wrote it once tired reading questions about PAM/LDAP/whatever
authentication modules and various blocking solutions people write
and try to use. Compared to X-Accel-Redirect it is simplier for
general use.

--
Maxim Dounin
http://nginx.com/support.html

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

Nginx randomly crashes

rg00 January 31, 2013 03:48AM

Re: Nginx randomly crashes

Maxim Dounin January 31, 2013 06:30AM

Re: Nginx randomly crashes

rg00 January 31, 2013 06:38AM

Re: Nginx randomly crashes

Maxim Dounin January 31, 2013 07:20AM

Re: Nginx randomly crashes

rg00 February 01, 2013 04:45AM

Re: Nginx randomly crashes

Valentin V. Bartenev February 01, 2013 05:52AM

Re: Nginx randomly crashes

rg00 February 01, 2013 06:07AM

Re: Nginx randomly crashes

Patrick Lists February 01, 2013 06:14AM

Re: Nginx randomly crashes

Valentin V. Bartenev February 01, 2013 06:32AM

Re: Nginx randomly crashes

Maxim Dounin February 01, 2013 06:36AM

Re: Nginx randomly crashes

rg00 February 01, 2013 09:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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