Solved via environment variable to configure libldap directly. Looks like dict 
uses separate ldap client from auth so not all ldap_* works in dict. Any plans 
to unify codebase for both clients? Would be good to make config parser fail if 
ldap_deref defined inside dict_map and document current behavior (I can help 
with the doc).

T.


On Mon, Sep 21, 2026 at 11:15:18AM +0200, Tomas Habarta via dovecot wrote:
> Hello,
> 
> just been testing sieve extlists against ldap dict in 2.4.5 -- works ok but 
> need to narrow a search base but this would require setting deref other than 
> default none for the ldap client.
> Seems that something like ldap_deref = always in dict_map {} section does not 
> work (is not even documented, but config is parsed ok on the other hand) and 
> value of the global ldap_deref is not picked up either.
> Question is whether the deref parameter is supposed to work and if yes, where 
> to set it up correctly...
> 
> 
> Many thanks,
> Tomas
> _______________________________________________
> dovecot mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
  • dict: ldap deref Tomas Habarta via dovecot via dovecot via dovecot
    • Re: dict: ldap dere... Tomas Habarta via dovecot

Reply via email to