Skip to Content.
Sympa Menu

en - Re: [sympa-users] Error importing users from ldap data-source

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Error importing users from ldap data-source
  • Date: Tue, 06 Oct 2009 17:32:36 +0200

Yes you're right. Sympa should log that the module is missing.
Glad to see you fixed your problem anyway!

Cheers,

David

Stella a écrit :
Thank you for your answer David,
I found the script testldap.pl under sympa's bin directory which helped me understand that the problem was the absence of the NEt::LDAP perl module. As soon as I installed it, sympa imports perfectly users from my LDAP. I thought that such an error should be reported in the apache's error log, or sympa log (I had the highest debug level ).

thank you,
Stella

On Tuesday 06 October 2009 02:12:43 David Verdin wrote:
Hi,

You could increase the Sympa log level. It would probably give you more
details.
The space in your filter is not a problem: The whitespace is not
considered a separator in LDAP.
What you could to is try your query in another tool, such as
PHPLDAPadmin, to have more detailed informations on what couuld be wring
with your query.

Regards,

David

address@concealed a écrit :
Hi everyone,

I'm running sympa 6.0B2 and I'd like to configure a list which imports
users from an ldap server(openldap proxy to an AD). My configuration is
the following:

include_ldap_query
attrs mail
ssl_ciphers ALL
filter (MEMBEROF=CN=Admins,OU=my groups,DC=mydomain,DC=gr) // there's a
space in this dn, could that be an issue?
name ldap-users
host ldap.mydomain.gr
use_ssl no
timeout 30
suffix dc=mydomain,dc=gr
ssl_version sslv3
scope sub
select first

The web interface gives me the error:
'Internal server error(edit_list) - failed to include members'

And every 1 hour I receive the mail:

Sympa could not include subscribers from external data sources ; the
database or LDAP directory might be unreachable.
Check Sympa log files for more precise information

I checked the logs and I didn't found anything related. In my ldap
server's log I see no connection attempt from my sympa server. There's no
firewall between these two machines, if I run ldapsearch works perfectly.
I've also tried to use ip for my ldap server in case it was a dns
problem, but the results were the same. What else should I check?

thank you,
Stella





Archive powered by MHonArc 2.6.19+.

Top of Page