On Sun, Aug 28, 2005 at 08:38:28PM +0300, Timo Sirainen wrote:
On Sat, 2005-08-27 at 23:27 +0200, Vedran Furac wrote:
But, if I use LDAP with TLS (hosts = localhost:636 in dovecot-ldap.conf) I get in mail.log:
auth(default): LDAP: Can't connect to server: localhost:636
With 0.9.14 it worked OK.
I don't think it really worked with 0.99.14 either since there is no LDAP-TLS code in either version of Dovecot, and they both seem to have hardcoded LDAP port parameters to ldap_init(). Unless there is some internal magic in LDAP library that I don't know about..
You have several solutions. You can allow not setting the host parameter, so that the library will look at ldap.conf, and you can also allow an "uris" statement.
I have the attached patches in my local pkgsrc repository, which I forgot about otherwise I'd have sent them.
-- Quentin Garnier - cube@cubidou.net - cube@NetBSD.org "When I find the controls, I'll go where I like, I'll know where I want to be, but maybe for now I'll stay right here on a silent sea." KT Tunstall, Silent Sea, Eye to the Telescope, 2004.