Subject: The mailing list for listmasters using Sympa
List archive
Re: [sympa-users] Escaping ',' in source_parameters of data_source
- From: David Verdin <address@concealed>
- To: address@concealed
- Subject: Re: [sympa-users] Escaping ',' in source_parameters of data_source
- Date: Fri, 17 Jun 2016 15:33:31 +0200
OK, I'm dumb, I did not realize you were speaking about you parameter.
Plese remember that this functionnality is supposed to be used as a clutch when you need to grant middle-technical people the right to use data sources. For an extensive usage of data sources on a lot of mailing list, we recommend list families.
Best regards, David Le 17/06/16 à 05:36, IKEDA Soji a
écrit :
Hi Felix, On Wed, 15 Jun 2016 16:17:21 +0200 <address@concealed> wrote: Hi, I am trying to set up an lda-query as a data_source. My incl file should look like this: include_ldap_query attrs mail ca_verify none ssl_ciphers ALL filter groupMembership=[% param.0 %] name RBG_Garching2 host XXXXX timeout 30 suffix ou=Campus,ou=Personen,o=physik ssl_version sslv2 use_tls none scope sub select all the parameter would be like this: cn=rbg-gar,ou=ou-rbg,ou=Gruppen,o=physik Unfortunately, it is trucated in the query, so that the the filter ends up like groupMembership=cn=rbg-gar and returns no results. Is there a way to escape the ',' in the parameter? Value of datasource parameter (source_parameters) will be split by "," and parts will be assigned to param.0, param.1, ... At the moment there are no ways to prevent this behavior. Can you work around by writing such as below? filter groupMembership=[% param.0 %],[% param.1 %],[% param.2 %],[% param.3 %] Regards, -- Soji Thanks Felix --
A bug in Sympa? Quick! To the bug tracker!
|
Attachment:
smime.p7s
Description: Signature cryptographique S/MIME
-
[sympa-users] Escaping ',' in source_parameters of data_source,
felix.rauscher, 08/16/2022
-
Re: [sympa-users] Escaping ',' in source_parameters of data_source,
David, 06/15/2016
-
Re: [sympa-users] Escaping ',' in source_parameters of data_source,
Felix Rauscher, 06/15/2016
- Re: [sympa-users] Escaping ',' in source_parameters of data_source, David, 06/15/2016
-
Re: [sympa-users] Escaping ',' in source_parameters of data_source,
Felix Rauscher, 06/15/2016
-
Re: [sympa-users] Escaping ',' in source_parameters of data_source,
IKEDA Soji, 06/17/2016
- Re: [sympa-users] Escaping ',' in source_parameters of data_source, David Verdin, 06/17/2016
-
Re: [sympa-users] Escaping ',' in source_parameters of data_source,
David, 06/15/2016
Archive powered by MHonArc 2.6.19+.