Skip to Content.
Sympa Menu

devel - [sympa-dev] LDAP alias manager update

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Philip Crandall <address@concealed>
  • To: address@concealed
  • Subject: [sympa-dev] LDAP alias manager update
  • Date: Mon, 01 Feb 2010 20:38:07 -0600

Hello,
I've been working on a rewrite of the ldap_alias_manager.pl script that
I intend to post, shortly, for everyone.

The script I've written allows for adding/deleting ldap entries based on
tt2 files (one per each suffix...suffixes are defined in the alias
manager script config). The script passes the entire list object to the
tt2 parser so that any list element can be included in the LDAP entry.

There is, however, one item that I would like to include that involves a
change to the Sympa core and I wonder where that change should be.

I've included in the script the ability to define attributes to update
should a list configuration change occur. The call would be the same as
the call to the script for adds/deletes...

system ("$alias_manager update $self->{'name'}
$self->{'admin'}{'host'}");

Where would be the best place to put the call to this? In the
save_config sub of the List.pm module? Elsewhere? Also, is this
ability something that could be submitted upstream for inclusion in the
Sympa source?

I need the ability to update certain list attributes in LDAP (namely
owners) when they are changed in the list, so I will need to patch this
for myself, regardless of whether it can be pushed upstream. It would
just make life nicer not to have an additional patch during every
upgrade.

Thanks,
Philip Crandall
University of Chicago




  • [sympa-dev] LDAP alias manager update, Philip Crandall, 02/02/2010

Archive powered by MHonArc 2.6.19+.

Top of Page