Escape comma in the LDAP passdb subquery configuration

Giovanni Mancuso giom87 at libero.it
Thu Sep 4 10:01:30 UTC 2014


Hi,

I need the same. Is there a way to do this?

Thanks

Il 01/09/2014 15:27, Francesco Fiore ha scritto:
Hi
> I have to configure the LDAP passdb to execute a subquery defining
> dinamically the new DN to use.
>
> For example:
> pass_attrs =
> @mail=mail=%{login_user},dc=%{login_domain},dc=example,dc=com,\
>            =proxy=y,\
>            =host=%{ldap:mailHost at mail}
>
> In the previous example, the problem is the use of ","  for DN
> representation, which is also the separator for the attribute template
> in the pass_attr parameter value.
> I tried to escape it with '\' or '%' but it doesn't work.
> Dovecot version is 2.2.13.
> How can I resolve this issue?
>
> Thanks in advance



More information about the dovecot mailing list