[Dovecot] dovecot: auth: Error: ldap(...) failed: No such object

Bruce Hammond bruce.hammond at contractor.verio.net
Fri Apr 6 01:05:53 EEST 2012


I just installed the 2.1.3 version of dovecot.  When I telnet to my
dovecot linux server on the imap port (143) and try to login I get the
error "No [UNAVAILABLE] Temporary authentication failure" on the telnet
display and 

dovecot: auth: Error:
ldap(bhammond_test at 131.103.212.38,128.121.121.193):
ldap_search(base=uid=bhammond_test at 131.103.212.38,ou=users,dc=aspect
filter=(&(objectClass=posixAccount)(productFeature=mail))) failed: No
such object

in the /var/log/maillog.

 

I am not familiar with ldap and I haven't been able to find anything
using google. Anyone have any ideas with the problem?

 

Thanks.



Here is my configuration:

# 2.1.3: /usr/local/packages/dovecot2/etc/dovecot/dovecot.conf

# OS: Linux 2.6.18-274.3.1.el5.secure i686 Red Hat Enterprise Linux
Server release 5.7 (Tikanga) 

auth_mechanisms = plain login

auth_verbose = yes

default_login_user = dovecot

disable_plaintext_auth = no

listen = *

mail_location = maildir:~/mail

passdb {

  args = /etc/devel/passdb.conf

  driver = ldap

}

pop3_lock_session = yes

protocols = imap pop3

service auth {

  user = dovecot

}

service imap-login {

  process_limit = 128

  process_min_avail = 30

  service_count = 0

  user = dovecot

  vsz_limit = 64 M

}

service pop3-login {

  process_limit = 128

  process_min_avail = 30

  service_count = 0

  user = dovecot

  vsz_limit = 64 M

}

shutdown_clients = no

ssl_cert = </etc/ssl.cert

ssl_cipher_list = ALL:!LOW!SSLv2

ssl_key = </etc/ssl.key

userdb {

  args = /usr/local/packages/dovecot2/etc/userdb.conf

  driver = ldap

}

protocol imap {

  imap_max_line_length = 64 k

}

protocol pop3 {

  pop3_client_workarounds = outlook-no-nuls oe-ns-eoh

  pop3_logout_format = top=%t/%p, retr=%r/%b, del=%d/%m, size=%s

  pop3_uidl_format = %08Xv%08Xu

}



More information about the dovecot mailing list