Alex Cherniak
2011-Apr-15 16:03 UTC
[Dovecot] LDAP Authentication with multiple independent domains
Is it possible to authenticate users against multiple independent AD domains? In my dovecot-ldap.conf I entered two hosts: hosts = host1 host 2 auth_bind_userdn = %d\%n ldap_version = 3 base = cn=users,dc=%d,dc=net auth_bind = yes but OpenLDAP seems to stop authentication as soon as the first host succeeds or fails. I also tried to configure trust between the two, but it didn't work either. Please help...
Timo Sirainen
2011-Apr-20 15:32 UTC
[Dovecot] LDAP Authentication with multiple independent domains
On Fri, 2011-04-15 at 12:03 -0400, Alex Cherniak wrote:> Is it possible to authenticate users against multiple independent AD domains?Add multiple passdbs and userdbs pointing to different dovecot-ldap.conf files, which contain different hosts.> In my dovecot-ldap.conf I entered two hosts: > > hosts = host1 host 2This causes OpenLDAP to use host2 as a fallback to host1.