Skip to Content.
Sympa Menu

en - RE: [sympa-users] Setting up 2 Stage LDAP for dynamic mailinglist subscribers

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Steve Shipway <address@concealed>
  • To: Björn Müller <address@concealed>, "address@concealed" <address@concealed>
  • Subject: RE: [sympa-users] Setting up 2 Stage LDAP for dynamic mailinglist subscribers
  • Date: Mon, 27 Oct 2014 21:40:11 +0000

Oct 27 09:03:17 hih-maillist-test task_manager[3893]: info
List::_load_admin_file() Missing key "filter2" in param
"include_ldap_2level_query" in /var/lib/sympa/list_data/testliste/config

This looks like your problem: you have not completely defined all the
necessary items for 2level_query to work -- 'filter2' is not defined.

Here is an example of an ldap_2level query that does work (this expands a
group membership from an AD LDAP server: replace XXXX with the group name,
and
YYYYY with the auth user, ZZZZZ with the auth password; you will also need to
set an appropriate suffix1 and host but the rest should be OK as is)

include_ldap_2level_query
name ad_group_XXXX
host ldapserver.auckland.ac.nz
port 3269
user YYYYYYYY
passwd ZZZZZZZZZ
use_ssl yes
ssl_version tls
suffix1 DC=UoA,DC=auckland,DC=ac,DC=nz
filter1 (&(cn=XXXX)(objectClass=group))
attrs1 member
select1 all
timeout1 60
scope1 sub
suffix2 [attrs1]
filter2 (objectClass=person)
attrs2 mail
select2 first
scope2 base
timeout2 10

-Steve

Steve Shipway
address@concealed


Attachment: smime.p7s
Description: S/MIME cryptographic signature




Archive powered by MHonArc 2.6.19+.

Top of Page