Same problem = here.
I would like = to set some default value when attribute is not found on =
LDAP.
Luis, did you find out how to solve = it?
Regards,
Ricardo
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send a
Thank you very much Aki! It works!
Maybe there is an error in the documentation at:
https://doc.dovecot.org/main/core/config/auth/databases/ldap.html
where I found:
"It is possible to give default values to nonexistent attributes by using e.g.
%{ldap:userDomain:example.com} where if userDomain
Thanks for pointing this out, we'll fix it.
Aki
> On 18/03/2025 11:14 EET luis.neapolis--- via dovecot
> wrote:
>
>
> Thank you very much Aki! It works!
>
> Maybe there is an error in the documentation at:
>
> https://doc.dovecot.org/main/core/config/auth/databases/ldap.html
>
> where I f
Use default function:
%{ldap:quota_over|default('')}
Aki
> On 18/03/2025 08:26 EET luis.neapolis--- via dovecot
> wrote:
>
>
> Hello,
> I have just upgraded to 2.4 dovecot version from 2.3.x. I converted the
> configurations and now I have the following problem:
>
> I have a userdb with L
Hello,
I have just upgraded to 2.4 dovecot version from 2.3.x. I converted the
configurations and now I have the following problem:
I have a userdb with LDAP:
userdb ldap {
driver = ldap
ldap_filter = (&(objectClass=Emails) (mail=%{user}) )
fields {
quota_rule = %{ldap:quota}
Hello,
I have just upgraded to 2.4 dovecot version from 2.3.x. I converted the
configurations and now I have the following problem:
I have a userdb with LDAP:
userdb ldap {
driver = ldap
ldap_filter = (&(objectClass=Emails) (mail=%{user}) )
fields {
quota_rule = %{ldap:quota}