Hey Does nginx support ldap authentication? I have just migrated from apache and would like to move all of my authentications which are based on openldap and mod_auth_ldap to nginx. Let me know if that is possible.

From this page listing all the modules nginx has, i don't see any mention about LDAP. Thanks,

link|improve this question

feedback

3 Answers

up vote 3 down vote accepted

nginx doesn't do LDAP: you have to use xsendfile with a 3rd party script you create to handle LDAP authentication

http://wiki.nginx.org/NginxXSendfile

link|improve this answer
How does that answer my question - I specifically want to talk to ldap directly. – Adam Benayoun Aug 8 '10 at 13:46
2  
nginx doesn't do ldap.. you have to use xsendfile with a 3rd party script you create to handle ldap auth – Mike Aug 8 '10 at 13:47
thanks for the answer. – Adam Benayoun Aug 8 '10 at 14:33
feedback

There is an unofficial LDAP module for nginx : nginx-auth-ldap.

link|improve this answer
feedback

Looks like somebody got answer to your question on http://forum.nginx.org/read.php?2,18552

link|improve this answer
How does that answer my question? – Adam Benayoun Aug 8 '10 at 13:45
Its talking about using Xsendfile and a script .. read replies to the question in above link. If it doesn't may be I got your question wrong. – Zimbabao Aug 10 '10 at 14:23
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.