[Dovecot] dovecot/LDAP: Multiple password replies
Hello list,
I'm trying to connect to pop3 using dovecot which authenticates through ldap, but i get the following Multiple password replies when i try to connect to server Apr 2 11:47:50 srv-ath dovecot: auth(default): ldap(a.faragitakis,127.0.0.1): base=ou=email,ou=services,dc=company,dc=com scope=subtree filter=(&(objectClass=qmailUser)(objectClass=uidObject)(uid=a.faragitakis)(accountStatus=active)) fields=uid,userPassword Apr 2 11:47:50 srv-ath dovecot: auth(default): ldap(a.faragitakis,127.0.0.1): uid(user)=a.faragitakis userPassword(password)=******* Apr 2 11:47:50 srv-ath dovecot: auth(default): ldap(a.faragitakis,127.0.0.1): Multiple password replies Apr 2 11:47:51 srv-ath dovecot: auth(default): client out: FAIL 2 user=a.faragitakis temp
my dovecot-ldap.conf is as follows: hosts = localhost
#uris =
dn = cn=Manager,dc=company,dc=com
dnpass = ********
#auth_bind = no
#auth_bind_userdn =
ldap_version = 3
base = ou=email,ou=services,dc=company,dc=com
deref = never
scope = subtree
user_attrs = uid,mailMessageStore,,,,
user_filter = (&(objectClass=qmailUser)(objectClass=uidObject)(uid=%u)(accountStatus=active))
pass_attrs = uid,userPassword
pass_filter = (&(objectClass=qmailUser)(objectClass=uidObject)(uid=%u)(accountStatus=active))
default_pass_scheme = PLAIN
user_global_uid = 2000 user_global_gid = 2000
my ldap objects/attributes is as follows:
| objectClass: inetOrgPerson, qmailUser, uidObject | attributes: cn,mail,sn,uid,accountStatus,mailMessageStore,userPassword | example: |->cn=Antonis Faragitakis | |-> mail=a.faragitakis@company.com | |-> sn=Faragitakis | |-> uid=a.faragitakis | |-> accountStatus=active | |-> mailMessageStore=/home/vmail/a.faragitakis/ | |-> userPassword=secret
thanks in advanced Antonis
On Mon, 2007-04-02 at 12:17 +0300, Antonis Faragitakis wrote:
Apr 2 11:47:50 srv-ath dovecot: auth(default): ldap(a.faragitakis,127.0.0.1): Multiple password replies
I changed this error message now to: "pass_filter matched multiple objects, aborting".
So with the given pass_filter and username it found multiple objects from the LDAP. Maybe there are some duplicate objects?
participants (2)
-
Antonis Faragitakis
-
Timo Sirainen