Skip to Content.
Sympa Menu

en - [sympa-users] Problem with 2-Level LDAP Query

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: "address@concealed" <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Problem with 2-Level LDAP Query
  • Date: Thu, 15 Mar 2012 23:54:56 -0400

Hello everyone,

I am in the process of setting up Sympa on a server, and I am working to integrate it with LDAP. Login works perfectly, but I can't get dynamic lists to work. I've poured over the documentation, but as far as I can tell, I'm doing everything properly. Here is what I have in my config.tt2:

include_ldap_2level_query
host                    localhost:389
suffix1                 ou=Subgroup,ou=Group,dc=example,dc=com
scope1                  sub
filter1                 (&(objectClass=posixGroup)(cn=group-name))
attrs1                  member
select1                 all
suffix2                 ou=People,dc=example,dc=com
scope2                  sub
filter2                 (&(objectClass=inetOrgPerson)(uid=[attrs1]))
attrs2                  mail
select2                 first

When I run sympa.pl, I don't receive any errors, but when I visit the page for the list in WWSympa, I'm told that there are no members.

If I try to just make everyone a member of the list, however, it works fine.

include_ldap_query
host                    localhost:389
timeout                 30
suffix                  ou=People,dc=example,dc=com
filter                  (objectClass=inetOrgPerson)
attrs                   mail
scope                   sub

I feel like this has something to do with the [attrs1] part of the 2-level LDAP query, but it looks right, and matches the documentation ( http://www.sympa.org/manual/parameters-data-sources#include_ldap_2level_query ).

Does anyone have an recommendations?

Thank you,
Cody Mello





Archive powered by MHonArc 2.6.19+.

Top of Page