[Dovecot] Dovecot 1.0 and ldap; does this combination works?
Hi!
After upgrading from dovecot 0.9.14 to 1.0 crashes immediately after starting when using ldap as userdb and passdb. You can find more information here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=320388
I'm confused with two users: login_user and auth_user. Witch of them has to be in ldap?
If anyone here has a working dovecot+ldap configuration, could he show me his configuration?
Regards
Vedran
On Thu, 2005-08-18 at 12:12 +0200, Vedran Furac wrote:
Hi!
After upgrading from dovecot 0.9.14 to 1.0 crashes immediately after starting when using ldap as userdb and passdb. You can find more information here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=320388
I'm confused with two users: login_user and auth_user. Witch of them has to be in ldap?
If anyone here has a working dovecot+ldap configuration, could he show me his configuration?
I know there are some problems with dovecot-stable + LDAP but I haven't really figured out what exactly they are so I could fix them. Maybe try 1.0alpha release instead? It should have working LDAP.
Timo Sirainen wrote:
On Thu, 2005-08-18 at 12:12 +0200, Vedran Furac wrote:
Hi!
After upgrading from dovecot 0.9.14 to 1.0 crashes immediately after starting when using ldap as userdb and passdb. You can find more information here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=320388
I'm confused with two users: login_user and auth_user. Witch of them has to be in ldap?
If anyone here has a working dovecot+ldap configuration, could he show me his configuration?
I know there are some problems with dovecot-stable + LDAP but I haven't really figured out what exactly they are so I could fix them. Maybe try 1.0alpha release instead? It should have working LDAP.
Thanks for reply. I will try it as soon as debian maintainer creates and uploads the package.
Vedran
Timo Sirainen wrote:
On Thu, 2005-08-18 at 12:12 +0200, Vedran Furac wrote:
Hi!
After upgrading from dovecot 0.9.14 to 1.0 crashes immediately after starting when using ldap as userdb and passdb. You can find more information here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=320388
I'm confused with two users: login_user and auth_user. Witch of them has to be in ldap?
If anyone here has a working dovecot+ldap configuration, could he show me his configuration?
I know there are some problems with dovecot-stable + LDAP but I haven't really figured out what exactly they are so I could fix them. Maybe try 1.0alpha release instead? It should have working LDAP.
I tried 1.0alpha and it works. Thanks!
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.
Regards
Vedran
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..
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.
participants (3)
-
Quentin Garnier
-
Timo Sirainen
-
Vedran Furac