Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Can’t load LDAP extension Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Vasily
Newbie
Newbie


Joined: 18 April 2017
Location: Russian Federation
Online Status: Offline
Posts: 4
Posted: 18 April 2017 at 8:40am | IP Logged Quote Vasily

Hello!

Products is: WebMail Pro PHP 7.7.1 (Trial)

We would like to test the functionality of the trial version of the program.
But we can not connect to the LDAP server.

We get the error:
[ec6753e7] [POST(12)][ip:127.0.0.1] /?/Ajax/
[ec6753e7] POST > [Action, Offset, Limit, SortField, SortOrder, Search, GroupId, SharedToAll, SharedToAll1, All, AccountID, Token]
[ec6753e7]
[ec6753e7] LDAP: Can't load LDAP extension.

Code ".\data\settings\config.php":
<?php

$aSieveDomains = array('127.0.0.1', 'localhost');

return array(
     'gcontacts.ldap' => true,
     'gcontacts.ldap.host' => 'PDC',
     'gcontacts.ldap.port' => 389,
     'gcontacts.ldap.bind-dn' => 'ldap@domain.com',
     'gcontacts.ldap.bind-password' => '**********',
     'gcontacts.ldap.search-dn' => 'ou=Contacts,dc=domain,dc=com',

     'sieve' => false,
     'sieve.autoresponder' => true,
     'sieve.forward' => true,
     'sieve.filters' => true,
     'sieve.config.host' => '',
     'sieve.config.port' => 2000,
     'sieve.config.filters-folder-charset' => 'utf-8', // [utf7-imap, utf-8]
     'sieve.config.domains' => $aSieveDomains,

     'links.importing-contacts' => 'http://www.afterlogic.com/docs/webmail-pro/frequently-asked-questions/importing-contacts',
     
     'plugins.external-services' => true,
     'plugins.external-services.connectors' => array(
          'google',
          'dropbox',
          'facebook',
          'twitter'
     ),     
);

How to fix it?
Back to Top View Vasily's Profile Search for other posts by Vasily
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 18 April 2017 at 8:45am | IP Logged Quote Igor

Hello,

Please make sure that you have LDAP extension enabled in your PHP configuration.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Vasily
Newbie
Newbie


Joined: 18 April 2017
Location: Russian Federation
Online Status: Offline
Posts: 4
Posted: 20 April 2017 at 2:56am | IP Logged Quote Vasily

Thank you!

[df64fdc6] LDAP: search = "ou=Contacts,dc=domain,dc=com" / (&(objectClass=user)(mail=*@*))

Can we change the email search method by Contacts?
Back to Top View Vasily's Profile Search for other posts by Vasily
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 20 April 2017 at 3:17am | IP Logged Quote Igor

You can control that using the following configuration item:

Code:
'gcontacts.ldap.contact-object-class' => 'user',


Hope this helps.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Vasily
Newbie
Newbie


Joined: 18 April 2017
Location: Russian Federation
Online Status: Offline
Posts: 4
Posted: 21 April 2017 at 1:01am | IP Logged Quote Vasily

Yes thank you!
Back to Top View Vasily's Profile Search for other posts by Vasily
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide