Nginx pop imap and ldap

hi

I would like to know if it’s possible to configure Nginx as
Perdition with ldap. Because i have one Webmail IMP/HORDE and two
store with mailbox. I
want to be able to choose a back-end server based on the user’s
identity on the LDAP

For example with perdition in configuration file Perdition.conf
M /usr/lib/libperditiondb_ldap.so
m
“ldap://ldap.domain.fr:389/o=domain,c=fr?uid,mailHost,port?sub?(uid=%s)”

The same with Nginx is it possible??Or an other solution

Thanks in advance

Hello!

On Wed, Jul 23, 2008 at 11:47:40PM +0200, Leveau Stanislas wrote:

m “ldap://ldap.domain.fr:389/o=domain,c=fr?uid,mailHost,port?sub?(uid=%s)”

The same with Nginx is it possible??Or an other solution

The nginx itself doesn’t know anything about your users
database/directory, it just talks to auth script. So you
just have to write auth script that talks to your ldap directory.

Maxim D.

thanks
Maybe that someone has already done it? ;)) a script for ldap??

Stan

Maxim D. [email protected] a ecrit:

On 2008-07-24 at 00:37, Leveau Stanislas wrote:

Maybe that someone has already done it? ;)) a script for ldap??

Hi

Sorry for the late answer, but I’ve attached the perl auth daemon we
use.

You probably want to change IMAPserver to mailHost, and look up the port
as
well, but the changes should be quite straight forward.

In the mail section, add “auth_http localhost:9000/cgi-bin/auth;”

Øyvind Kolbu wrote:

Sorry for the late answer, but I’ve attached the perl auth daemon we
use.

Sorry, but I can not see the attachment.
I know this article has been posted for a long time but the topic is so
interesting for me.

Could you please check and share me the configuration details.

Thanks,
Tuan

On 2010-03-17 at 10:06, Anh tuan Truong wrote:

Sorry, but I can not see the attachment.
I know this article has been posted for a long time but the topic is so
interesting for me.

Could you please check and share me the configuration details.

OK, they are attached again.

Øyvind Kolbu wrote:

OK, they are attached again.

Thank you very much.
I will try and tell you back.

Yours sincerely,
Tuan

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs