Subject: The mailing list for listmasters using Sympa
List archive
RE: [sympa-users] Bad filter creating list with 2 level ldap datasource
- From: Steve Shipway <address@concealed>
- To: "address@concealed" <address@concealed>, "address@concealed" <address@concealed>
- Subject: RE: [sympa-users] Bad filter creating list with 2 level ldap datasource
- Date: Wed, 21 Oct 2015 20:13:26 +0000
> suffix1 ou=groups,dc=ufu,dc=br
> filter1 (&(address@concealed) (objectClass=ufuMailDistributionList))
> attrs1 filtermember
> suffix2 dc=ufu,dc=br
> filter2 [attrs1]
Here's your problem, in filter2. This is not a valid filter syntax; an LDAP
filter needs to be surrounded in parenthesis and have fieldname=value in it.
The [attrs1] symbol is replaced by the value of filtermember from the first
stage lookup.
If filtermember is a DN, then you should be using something like:
suffix2 [attrs1]
filter2 (objectClass=*)
This uses suffix2 to select only the required DN, and a dummy filter.
However if filtermember is just a CN, then something like:
suffix2 dc=ufu,dc=br
filter2 (&(objectClass=person)(cn=[attrs1]))
This will search for a CN equal to filtermember, of the appropriate object
type, under the suffix2 container.
Steve
Steve Shipway
T: +64 9 3737 599 ext 86487
E: address@concealed
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
-
[sympa-users] Bad filter creating list with 2 level ldap datasource,
João E . Pereira Jr, 10/20/2015
-
RE: [sympa-users] Bad filter creating list with 2 level ldap datasource,
Steve Shipway, 10/20/2015
-
Re: [sympa-users] Bad filter creating list with 2 level ldap datasource,
joao, 08/16/2022
- RE: [sympa-users] Bad filter creating list with 2 level ldap datasource, Steve Shipway, 10/21/2015
-
Re: [sympa-users] Bad filter creating list with 2 level ldap datasource,
joao, 08/16/2022
-
RE: [sympa-users] Bad filter creating list with 2 level ldap datasource,
Steve Shipway, 10/20/2015
Archive powered by MHonArc 2.6.19+.