Skip to Content.
Sympa Menu

en - Re: [sympa-users] data-source ldap

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Jean-Pierre Weiss <address@concealed>
  • To: Odile Germes <address@concealed>, Sympa Users <address@concealed>
  • Subject: Re: [sympa-users] data-source ldap
  • Date: Tue, 31 Jan 2017 11:39:13 +0100

Hello,

Odile was right, the problem was on my user. You should use the DN, not just the SN to identify.

It works with :

user CN=sympa,CN=Users,DC=domaine,DC=lan (where sympa is a dedicated account)

However, thanks to all people who have answered and suggest to make tests with ldapsearch. That's a good advice.

My connexion works perfectly with this configuration :

include_ldap_query
use_tls ldaps
filter (&(objectClass=person)(address@concealed))
user CN=sympa,CN=Users,DC=domaine,DC=lan
ssl_version tlsv1_2
timeout 30
select first
suffix CN=Mairie,DC=domaine,DC=lan
attrs mail
ca_verify none
host server.domaine-mairie.lan:636
name ad_group_info
scope sub
passwd ######
ssl_ciphers ALL

 

 

Jean-Pierre WEISS
Administrateur systèmes et réseaux
Ville de Pierrefitte sur Seine
 Hôtel de Ville
 2, place de la libération
 93380 Pierrefitte sur Seine
Tel : 01.72.09.34.42
Fax : 01.72.09.34.48

Le 2017-01-31 09:57, Odile Germes a écrit :

Bonjour,

Une config qui fonctionne :

include_ldap_query
attrs mail
ca_verify none
ssl_ciphers ALL
filter (departmentnumber=957)
host myldap.univ-rennes1.fr:389
user cn=sympa,ou=applications,dc=univ-rennes1,dc=fr
passwd ********
timeout 10
suffix ou=people,dc=univ-rennes1,dc=fr
ssl_version tlsv1
use_tls starttls
scope one
select first

Dans votre config,  je pense que c'est la valeur du paramètre user qui 
n'est pas correcte.

O. Germes.


Le 30/01/2017 à 16:54, address@concealeda écrit :
Hi, I'm trying to install a sympa server (V. 6.2.16) with an active directory data source but I always have this message "INTERNAL SERVER ERROR (edit_list) - Failed to include members " Here is my configuration : include_ldap_2level_query timeout1 60 suffix1 OU=Mairie,DC=domaine,DC=lan ca_verify none name ad_group_info scope2 base suffix2 [attrs1] attrs2 mail filter2 (objectClass=person) host server.domaine.lan:389 user weiss-adm scope1 sub ssl_ciphers ALL use_tls none attrs1 member select2 first ssl_version tlsv1_1 filter1 (&(cn=info)(objectClass=group)) timeout2 10 passwd ####### select1 all And that's what i found in the logs : Jan 30 16:28:48 sympa-test wwsympa[1106]: err main::#1662 > main::do_edit_list#12451 > Sympa::List::on_the_fly_sync_include#7252 > Sympa::List::sync_include#6900 > Sympa::List::_load_list_members_from_include#6130 > Sympa::List::_include_users_ldap_2level#5527 Unable to connect to the LDAP server "server.domaine.lan:389" Jan 30 16:28:48 sympa-test wwsympa[1106]: err main::#1662 > main::do_edit_list#12451 > Sympa::List::on_the_fly_sync_include#7252 > Sympa::List::sync_include#6900 > Sympa::List::_load_list_members_from_include#6130 > Sympa::List::_include_users_ldap_2level#5527 Unable to connect to the LDAP server "server.domaine.lan:389" Does anybody has a clue ? Thanks, Jean-Pierre



Archive powered by MHonArc 2.6.19+.

Top of Page