[Dovecot] proxy mode and ldap
Hello,
I need to use dovecot as proxy pop and imap with ldap.
in the documentation, there is an example to do this with mysql.
how to do to return (as mysql do) nodelay=y nologin=y proxy=y an idea to do this with ldap ?
Thanks in advance.
Francis
On Sun, 2006-10-08 at 20:16 +0200, Aiko Barz wrote:
There's nothing preventing proxy from working with LDAP, just as long as those 3 fields are returned. The "y" isn't specifically needed, those fields just have to be returned with some non-empty value. So if all users are proxied, I guess something like this should work:
pass_attrs = uid=user,userPassword=password,uid=nodelay,uid=nologin,uid=proxy
ie. just take any field's value as the value for nodelay, nologin and proxy.
On Tue, Oct 10, 2006 at 08:01:20PM +0300, Timo Sirainen wrote:
Hm, I could only find "hosts" in the example dovecot-ldap.conf configuration. So, what do you mean with "host"? Shall I create a SQL database, which uses LDAP as backend to search for the "mailHost" attribute and to parse it to dovecot?
Bye, Aiko
:wq
Hm, I still have to ask: Where do I put my "mailHost" attribut, which contains a fqhn?
Hi,
I tried many wrinting but without succes.
I suppose It wasn't put in the code...
But I have no more time to lookup in the code so I will use perdition.
thanks for the responses.
Francis
----- Original Message ----- From: "Aiko Barz" <aiko@haeckser.de> To: "Timo Sirainen" <tss@iki.fi> Cc: "Francis" <francis@ac-clermont.fr>; <dovecot@dovecot.org> Sent: Tuesday, October 10, 2006 5:59 PM Subject: Re: [Dovecot] proxy mode and ldap
participants (4)
-
Aiko Barz
-
Francis
-
Francis Bouche
-
Timo Sirainen