Hie all,
I am new to both Dovecot and this list. I am trying to set up a Dovecot and
Sendmail mail server with OpenLDAP user database for authentication. The
sendmail setup is working fine, but authentication for Dovemail is not
working. When I try to authenticate using POP3, I get an "authentication
failed" error, and the logs show the following:
Sep 19 16:53:21 tempo slapd[6316]: conn=74 op=2 SRCH
base="dc=domain,dc=net" scope=2 deref=0
filter="(&(objectClass=posixAccount)(uid=kondie))"
Sep 19 16:53:21 tempo slapd[6316]: conn=74 op=2 SRCH attr=uid userPassword
Sep 19 16:53:21 tempo slapd[6316]: <= bdb_equality_candidates: (uid)
index_param failed (18)
Sep 19 16:53:21 tempo slapd[6316]: conn=74 op=2 SEARCH RESULT tag=101 err=0
nentries=1 textSep 19 16:53:21 tempo dovecot: auth(default):
ldap(kondie,127.0.0.1):
password mismatch
Sep 19 16:53:25 tempo dovecot: pop3-login: Aborted login [127.0.0.1]
Sep 19 16:53:25 tempo slapd[6313]: conn=72 fd=14 closed
I know the password is correct because I am using the same LDAP database
from a different server using UW Imap and it works.
My dovecot-ldap.conf file below:
hosts = localhost
dn = cn=dovecot,dc=domain,dc=net
ldap_version = 3
base = dc=domain,dc=net
deref = never
scope = subtree
user_attrs = uid,homeDirectory
user_filter = (&(objectClass=posixAccount)(uid=%u))
pass_attrs = uid,userPassword
pass_filter = (&(objectClass=posixAccount)(uid=%u))
default_pass_scheme = CRYPT
And the relevant parts (I think) from dovecot.conf file:
I have googled all over and also the archives of this list for the last few
months but I have not been able to work out what the problem is. As a
matter of fact, I have tried to set it up the way it is described here:
http://wiki.dovecot.org/moin.cgi/DovecotOpenLdap - but no luck.
Could someone please assist in resolving this problem. Any pointers are
welcome.
Regards,
Kondie Masiye
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.1/104 - Release Date: 16/09/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.1/104 - Release Date: 16/09/2005