Skip to Content.
Sympa Menu

en - Re: [sympa-users] Dynamic Subscribers

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Dynamic Subscribers
  • Date: Wed, 09 Jul 2008 09:06:08 +0200

Hi,

You mix two config paragraphs: user_data_source and include_ldap_query. As there is no blank line between these two paragraphs, both are ignored. This should appear in your logs.

Additionnally, your include_ldap_query paragraph seems to be missing the "attrs" parameter. This parameter indicates which LDAP attribute corresponds to the subscriber email.

Here is an example of a working LDAP subscribers inclusion:

include_ldap_query
attrs mail
ssl_ciphers ALL
filter (uid=*)
name ldap
host my.host
use_ssl no
passwd my_password
timeout 30
suffix ou=foo,dc=bar,dc=baz
user ou=bar,dc=foo,dc=baz
ssl_version sslv2
scope one
select first

Regards,

address@concealed a écrit :
Hi all,

I'm working on getting my mailing list configured for dynamic subscribers
based
on LDAP filters. I've managed to configure it such that admins and moderators
can be dynamically assigned. However I'm struggling to figure it out with
subscribers. From what I understand, dynamic subscribers are defined inside
the "config" file. However, when I access the administration panel in Sympa,
no subscribers are listed. When I update the data sources in the panel, the
"include_ldap_query" paragraph is removed in "config". Am I doing
something
wrong? Right now I have it configured such that I'm the admin and a
subscriber. Here is my config file:

visibility noconceal

subject Dynamic List Test

serial 16

send public

status open

distribution_ttl 20

owner
email address@concealed
profile normal
reception mail
visibility noconceal

owner_include
profile normal
reception mail
source ldapincludefile
visibility noconceal

topics computing

creation

update
email address@concealed
date 08 Jul 2008 at 12:04:43
date_epoch 1215533083

user_data_source include
include_ldap_query
host ldap.myhost.com
suffix ou=people,o=myinst,c=us
filter (mail=me*)

Any help is appreciated.

--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page