[Dovecot] Cyrus + ldap

Gert Horne gert at bluetin.co.za
Thu Aug 3 01:58:41 EEST 2006


Hi

I have a brand new problem now.

I have ldap and dovecot working... but my users cant log in.

Maillog:
server dovecot: imap-login: Aborted login: user=<name>, method=PLAIN,
rip=::ffff:127.0.0.1, lip=::ffff:127.0.0.1

dovecot.conf:
protocols = imap
#imap_listen = 127.0.0.1
login_dir = /var/run/dovecot/login
login_chroot = yes
disable_plaintext_auth = no
login_user = dovecot
first_valid_uid = 101
last_valid_uid = 101
first_valid_gid = 101
last_valid_gid = 101
valid_chroot_dirs = /home/vmail/domains
default_mail_env = maildir:/home/vmail/domains/%d/%n
auth_executable = /usr/libexec/dovecot/dovecot-auth

protocol imap {
login_executable = /usr/libexec/dovecot/imap-login
mail_executable = /usr/libexec/dovecot/imap
login_greeting_capability = yes
}
auth_executable = /usr/libexec/dovecot/dovecot-auth
auth_process_size = 256
auth_cache_ttl = 3600

auth default {
  mechanisms = plain
  user = dovecot-auth
  ssl_require_client_cert = no
  userdb ldap {
    args = /etc/dovecot-ldap.conf
  }
  passdb ldap {
    args = /etc/dovecot-ldap.conf
  }
}

dovecot-ldap.conf:
hosts = localhost
dn = cn=dovecot,dc=,dc=,dc=
dnpass = Unl0ckM3
auth_bind = yes
ldap_version = 2
base = o=hosting,dc=,dc=,dc=
deref = never
scope = subtree
user_attrs = mail,homeDirectory,,,,
user_filter = (&(objectClass=JammMailAccount)(mail=%
u)(accountActive=TRUE)(delete=FALSE))
pass_attrs = mail,userPassword
pass_filter = (&(objectClass=JammMailAccount)(mail=%
u)(accountActive=TRUE)(delete=FALSE))
default_pass_scheme = MD5
user_global_uid = 101
user_global_gid = 101


Can you assist me with this please



More information about the dovecot mailing list