Author |
|
Vasily Newbie
Joined: 18 April 2017 Location: Russian Federation
Online Status: Offline Posts: 4
|
Posted: 18 April 2017 at 8:40am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 18 April 2017 at 8:45am | IP Logged
|
|
|
Hello,
Please make sure that you have LDAP extension enabled in your PHP configuration.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Vasily Newbie
Joined: 18 April 2017 Location: Russian Federation
Online Status: Offline Posts: 4
|
Posted: 20 April 2017 at 2:56am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 20 April 2017 at 3:17am | IP Logged
|
|
|
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 |
|
|
Vasily Newbie
Joined: 18 April 2017 Location: Russian Federation
Online Status: Offline Posts: 4
|
Posted: 21 April 2017 at 1:01am | IP Logged
|
|
|
Yes thank you!
|
Back to Top |
|
|