Skip to Content.
Sympa Menu

en - [sympa-users] ldap_alias_manager.pl

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Warren Howard <address@concealed>
  • To: address@concealed
  • Cc: address@concealed, address@concealed
  • Subject: [sympa-users] ldap_alias_manager.pl
  • Date: Sat, 01 Jul 2006 19:40:38 +0530

Dear all,

I'm having trouble getting the ldap_alias_manager.pl to work. The
version of Sympa is 5.2 and the steps I'm flowing are:

1. Set up and test with the normal alias_manager.pl. This is working I
can create a new list and the aliases will be written to
/etc/mail/sympa_aliases as expected.

2. Edit ldap_alias_manager.pl to set-up the ldap connection. The
relevant section looks like this:

## LDAP configuration
my $ldap_connection = undef;
my $ldap_host = "test.example.com";
my $ldap_search_base = "dc=example,dc=com";
my $ldap_bind_dn = "uid=operator,dc=example,dc=com";
my $ldap_bind_pw = "*********";
my $ldap_mail_attribute = "mail";
my $ldap_sample_dn = "uid={ALIAS},dc=example,dc=com";
my %ldap_attributes = ("objectClass" => ["top","account",
"CourierMailAlias"],
"uid" => ['{ALIAS}'],
"maildrop" => ['{COMMAND}']
);

and copy ldap_alias_manager.pl to alias_manager.pl

3. Create a new list to test.

The alias creation fails and the system log shows the following:

test.example.com Conf: :_load_auth(/etc/sympa/auth.conf)
test.example.com to parse %s : list_aliases.tt2
test.example.com sympa: Looking for TT2 files in /etc/sympa/example.com,
/etc/sympa, /usr/share/sympa
test.example.com wwsympa[12075]: The parser returned empty aliases

4. I copy /home/sympa/bin/etc/list_aliases.tt2 to /etc/sympa
and create a new test list again.

This time entries are created in the ldap directory. However where I
expect to find "|/home/sympa/bin/queue ... and so on" I only see "sympa".


I very much want to use the ldap_aliases_manager.pl feature of Sympa and
would appreciate any assistance. Also the security model of the
production ldap directory allows only encrypted connections to the
directory, is this (ldaps) something something that
ldap_aliases_manager.pl can support?


Thanks,


Warren.



  • [sympa-users] ldap_alias_manager.pl, Warren Howard, 07/01/2006

Archive powered by MHonArc 2.6.19+.

Top of Page