27 Oct
2005
27 Oct
'05
1:18 p.m.
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