Re: Using 2 LDAP sources for passdb

Aki Tuomi via dovecot <[email protected]> Wed, 3 Jun 2026 19:49:41 +0300 (EEST)
Newsgroups gmane.mail.imap.dovecot
Message-ID <24109093.10271.1780505381956@appsuite-pro-sync-core-mw-groupware-0.appsuite-pro-sync-core-mw-hazelcast-headless.appsuite-dev.svc.cluster.local>
> On 03/06/2026 17:57 EEST Tom via dovecot <[email protected]> wrote:
> 
>  
> On 2026-06-02 15:08, Aki Tuomi wrote:
> > Can you send doveconf -n
> 

Hi!

Small optimization:

userdb ldap {
   ldap_base = ou=people,dc=example,dc=com
   fields {
     gid = %{ldap:gidNumber}
     home = %{ldap:homeDirectory}
     mail = %{ldap:homeDirectory}/Maildir/%{user|domain}
     uid = %{ldap:uidNumber}
   }
   filter = (&(objectClass=posixAccount)(uid=%{user|username})(memberOf=cn=mail,ou=%{user|domain},ou=groups,dc=example,dc=com))
}

Also I think the problem happens on LDAP connection. Can you set ldap_debug_level=9?

Aki

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]