Skip to Content.
Sympa Menu

en - Re: [sympa-users] LDAP authorization filters

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: Steven Peterson <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] LDAP authorization filters
  • Date: Fri, 03 Nov 2006 12:09:09 +0100

Steven,

The current restriction regarding available parameters does not make sense ; in the end the full scenario context should be made available to search filters. I did a quick hack in the MAIN CVS to allow use of a few basic variables including [listname] but not all of them ([env.xx], etc) because we need to factorize some code.

We will make a tarball of sympa-5.3a.1à on monday ; if you can't wait, then do a "cvs export".

Note that the search() scenario rule now only take a single parameter.

Steven Peterson wrote:
I am setting up Sympa to work with an external application so that the external application decides whether someone is able to subscribe to a list. My plan was to use an LDAP filter in an authorization scenario, but am finding that I can only pass the email address of the sender to the filter. Is there anyway to send parameters other than the email address to the LDAP filter (e.g. the list name)? I am anticipating several hundred lists each with its own criteria for joining and my solution was to have the LDAP directory know about who can join which list. If I cannot pass the list name to the filter, I am afraid I will have to have a different filter for each list. Is there some solution that I am overlooking?




Archive powered by MHonArc 2.6.19+.

Top of Page