Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-18 Thread Timo Sirainen
On Fri, 2008-04-18 at 08:12 -0500, Jack McKinney wrote: > > BTW: Do you use any sort of firewall, iptables or whatsoever on the mail, > > dns or ldap server? Did you disabled it? > > LDAP and IMAP are on the same server. Since the query and the result > both show up in the LDAP logs, it co

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-18 Thread Jack McKinney
On Fri, 2008-04-18 at 10:10 +0200, Steffen Kaiser wrote: > I got the impression that this is problem, see the Doc: > http://wiki.dovecot.org/AuthDatabase/LDAP > > pass_attrs = uid=user,userPassword=password > > This is the default, please add "mail=user" to your pass_attrs and re-add > auth_b

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 17 Apr 2008, Gavin Henry wrote: So why is dovecot searching for uid? I am not asking it to; in fact, my pass_attrs field is empty. Im' no tsure, I was hoping someone else would know why. Is it a hard coded default? Also,

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-17 Thread Gavin Henry
> So why is dovecot searching for uid? I am not asking it to; in fact, my > pass_attrs field is empty. Im' no tsure, I was hoping someone else would know why. Is it a hard coded default? > Also, I have switched around my setup to not use auth_bind: > > hosts = ldap.lrtz > dn = cn=var

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-17 Thread Jack McKinney
So why is dovecot searching for uid? I am not asking it to; in fact, my pass_attrs field is empty. Also, I have switched around my setup to not use auth_bind: hosts = ldap.lrtz dn = cn=varmail,ou=users,dc=lorentz,dc=com dnpass = *** ldap_version = 3 auth_bind = no pass_attrs =

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Gavin Henry
> No, it isn't. I have verified the connection with "openssl s_client". > Besides, the server is receiving the username "[EMAIL PROTECTED]", so > the connection has already been made by this time. > What is happening every time is that dovecot sends the correct query to > OpenLDAP (as

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Jack McKinney
No, it isn't. I have verified the connection with "openssl s_client". Besides, the server is receiving the username "[EMAIL PROTECTED]", so the connection has already been made by this time. What is happening every time is that dovecot sends the correct query to OpenLDAP (as noted i

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Gavin Henry
> Apr 3 08:13:21 fourier dovecot: auth(default): new auth connection: > pid=15774 > Apr 3 08:13:30 fourier dovecot: auth(default): client in: > AUTH^I1^IPLAIN^Iservice=IMAP^Isecured^Ilip=x.x.x.x^Irip=y.y.y.y^Iresp= > Apr 3 08:13:30 fourier dovecot: auth(default): > ldap([EMAIL PROTECTED],y.y.y.

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Jack McKinney
Apr 3 08:13:21 fourier dovecot: auth(default): new auth connection: pid=15774 Apr 3 08:13:30 fourier dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Isecured^Ilip=x.x.x.x^Irip=y.y.y.y^Iresp= Apr 3 08:13:30 fourier dovecot: auth(default): ldap([EMAIL PROTECTED],y.y.y.y): bind sear

Re: [Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Gavin Henry
> My config is almost exactly the same as yours, except that I use static > userdb and I do not have (nor do I understand the need for; see my > previous post) pass_attrs. I tried putting them in matching yours, but > it still fails the same way: OpenLDAP receives the query and (according >

[Dovecot] Does dovecot work with OpenLDAP? (was Re: Please help: LDAP configuration _almost_ works.)

2008-04-16 Thread Jack McKinney
It seems that Rob and I are doing almost exactly the same thing except: - He uses AD, I use OpenLDAP - His works, mine doesn't. I have: - Red Hat Linux release 7.2 (Enigma) - OpenLDAP 2.3.38 - Dovecot 1.0.12, 1.0.13, and 1.1.rc4 (they all fail the same way). Sigh... Rob,