Bugs
Search the entire project
This project's trackers
Project
People
Advanced search
Log In  / New Account
Home
My Page
Projects
Sympa
Summary
Activity
Tracker
SCM
Listes Sympa
Bugs: Browse
|
Download .csv
|
Monitor
[#3053] [W. Howard, naturesoft.net] ldap_alias_manager.pl
Date:
2007-04-24 18:05
Priority:
3
State:
Open
Submitted by:
David Verdin (
david.verdin
)
Assigned to:
Nobody (None)
:
None
Category:
LDAP
Group:
None
Resolution:
None
Platform:
Summary:
[W. Howard, naturesoft.net] ldap_alias_manager.pl
Detailed description
I'm using ldap_alias_manager.pl in place of alias_manager.pl. However when it
runs I get
"sympa"
where I expect to see something like
"| /home/sympa/bin/queue
testlist@example.com"
;
Any suggestions as to why?
Also is it possible to do ldaps (i.e. use port 636) for the ldap connection
when using ldap_alias_manager.pl? I tried and it didn't work - TLS negotiation
failed.
Followup
Message
Date: 2007-04-24 18:06
Sender:
David Verdin
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?
Attached Files:
No Files Currently Attached
Changes:
Field
Old Value
Date
By
Category
None
2010-06-10 17:10
olivier.salaun