Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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,

share|improve this question

3 Answers

up vote 5 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

share|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

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

share|improve this answer

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

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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