[Dovecot] Problems with dual ldap auth

Stian Jordet liste+dovecot at jordet.net
Thu Oct 27 13:18:50 EEST 2005


Hi,

I can't seem to figure this out. Is it impossible to use two different
ldap auth? It works if I use one ldap and one pam, but I do need to use
ldap for both. This is from my config:

auth default {
  mechanisms = plain

  passdb ldap {
    args = /etc/dovecot/ldap-virtual.conf
  }

  passdb ldap {
    args = /etc/dovecot/dovecot-ldap.conf
  }

  userdb ldap {
    args = /etc/dovecot/ldap-virtual.conf
  }

  userdb ldap {
    args = /etc/dovecot/dovecot-ldap.conf
  }

  user = root
  #chroot =
  #count = 1
  #ssl_require_client_cert = no
}


It works well if I only use one of them (so they seem to be correct),
but together, only the last (dovecot-ldap) is used. Anyone see a reason
for that?

Best regards,
Stian



More information about the dovecot mailing list