Re: [Dovecot] Fw: Cannot Authenticate via LDAP

2013-06-04 Thread Alex Crow
Hi Ron, TBH you were doing most things right anyway, I misread your pastebin stuff. But I'm glad the details helped you, and you're welcome! Cheers Alex On 04/06/13 19:04, Ron Scott-Adams wrote: Hi Alex, thanks for your input. As you might have surmised from my doveconf output, I had things

Re: [Dovecot] Fw: Cannot Authenticate via LDAP

2013-06-04 Thread Ron Scott-Adams
Hi Alex, thanks for your input. As you might have surmised from my doveconf output, I had things horribly misconfigured. :) Everything is dandy now, I just had to RTFM and understand userdb/passdb and the ldap settings better. My new configuration follows: BEGIN DOVECONF: # 2.0.19: /etc/dovecot/do

Re: [Dovecot] Fw: Cannot Authenticate via LDAP

2013-06-04 Thread Alex Crow
That'll teach me for looking too quickly: the only things different from mine is the fact you don't look up the email address and you don't use prefetch. Did you try tracing the LDAP server end (eg by upping the log level for your LDAP server or using tcpdump/wireshark?) I'll shut up now bef

Re: [Dovecot] Fw: Cannot Authenticate via LDAP

2013-06-04 Thread Alex Crow
Forgot to say that the lines below would be part of a file included thusly: passdb { driver = ldap # Path for LDAP configuration file, see example-config/dovecot-ldap.conf.ext args = /etc/dovecot/dovecot-ldap.conf.ext } userdb { driver = prefetch } userdb { driver = ldap args = /

Re: [Dovecot] Fw: Cannot Authenticate via LDAP

2013-06-04 Thread Alex Crow
Hi, That can't be the full output of doveconf -n can it? You need to define (examples from my configs using qmail schema; your values will probably be different if you are using AD or openLDAP with a different mail schema) user_attrs = homeDirectory=home,mailMessageStore=mail user_filter = (

[Dovecot] Fw: Cannot Authenticate via LDAP

2013-06-04 Thread Christian Wiese
Hello Christian, I tried what you suggested by adding "REFERALS off" to /etc/ldap/ldap.conf and restarting slapd and dovecot, but the error persists. On Tue, Jun 4, 2013 at 7:56 AM, Christian Wiese < christian.wi...@securepoint.de> wrote: > Hi Ron, > > I didn't had the time to check all logs but