Skip to Content.
Sympa Menu

en - Re: [sympa-users] Anyone using LDAP based lists?

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün <address@concealed>
  • To: address@concealed
  • Cc: address@concealed, Israel Cárdenas <address@concealed>
  • Subject: Re: [sympa-users] Anyone using LDAP based lists?
  • Date: Thu, 24 Jun 2010 17:56:27 +0200

Hi Rolf,

Maybe you might be interrested in this development plan we have: <http://www.sympa.org/dev/exporting_groups_in_ldap>

Some work of this kind has been started by Junta de Andalucia (Cced is Israel Cardenas).

Le 24/06/2010 17:45, David Verdin a écrit :
address@concealed">I over-answer to myself, sorry: I should have added that we are working on a hook mechanism that will allow listmasters to add customized treatment to any operation performed in Sympa.
In your case, you would be able to execute, at the end of the subscribers synchronizing, a script updating your LDAP directory. But this is for a future version of Sympa.

Please take note that you must be very careful when implementing such a treatment and make sure that you don't create a loop in which Sympa would update a directory that it would also use as a datasource. This would be very dangerous for data consistency.

Regards,

David

Le 24/06/2010 17:09, Rolf E. Sonneveld a écrit :
address@concealed"> Hi, David,

On 06/24/2010 04:59 PM, David Verdin wrote:
address@concealed"> Hi,

I'm not sure I got you right, but if you mean "how is it possible to modify an LDAP directory to add/remove the information stating that a user has subscribed/unsubscribed from a list" then it's not possible.

Sympa can only read external data sources, not modify them.

thanks for your answer. I thought that, as Sympa was able to use LDAP as data source, there also would be some sort of interface between the subscribe/unsubscribe/setnomail routines and LDAP, but my assumptions were wrong, I understand.

What are the routines responsible for subscribing/unsubscribing etc.? Do they provide hooks to implement LDAP modifications?

Regards,
/rolf





Archive powered by MHonArc 2.6.19+.

Top of Page