i'm trying to authenticate phpMyFaq 3.0.9 installation with 2 Different LDAP server
1. Active Directory
2. Zimbra LDAP
So far i can manage to connect phpMyFaq with AD but not with the Zimbra LDAP
everytime i try to login by zimbra account this error always shown :
Code: Select all
phpMyFAQ warning [2]: ldap_bind(): Unable to bind to server: Invalid credentials in /var/www/html/phpmyfaq/src/phpMyFAQ/Ldap.php on line 170
phpMyFAQ warning [2]: ldap_bind(): Unable to bind to server: Invalid credentials in /var/www/html/phpmyfaq/src/phpMyFAQ/Ldap.php on line 170
phpMyFAQ warning [2]: ldap_bind(): Unable to bind to server: Invalid credentials in /var/www/html/phpmyfaq/src/phpMyFAQ/Ldap.php on line 170
here i attach some of my configuration related to this
ldap.php
Code: Select all
$PMF_LDAP['ldap_server'] = '172.x.x.x';
$PMF_LDAP['ldap_port'] = '389';
$PMF_LDAP['ldap_user'] = 'user@domain.com';
$PMF_LDAP['ldap_password'] = 'zxczxczxc;
$PMF_LDAP['ldap_base'] = 'dc=domain,dc=com';
// More LDAP servers
// You can as much as you like, please activate it in the admin configuration panel
// Start with 1
$PMF_LDAP[1]['ldap_server'] = '10.x.x.x';
$PMF_LDAP[1]['ldap_port'] = '389';
$PMF_LDAP[1]['ldap_user'] = 'uid=zimbra,cn=admins,cn=zimbra';
$PMF_LDAP[1]['ldap_password'] = 'zxczxczxc';
$PMF_LDAP[1]['ldap_base'] = 'ou=people,dc=domain,dc=id';
+---------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| config_name | config_value |
+---------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| ldap.ldapSupport | true |
| ldap.ldap_dynamic_login_attribute | uid |
| ldap.ldap_mapping.mail | mail |
| ldap.ldap_mapping.memberOf | |
| ldap.ldap_mapping.name | cn |
| ldap.ldap_mapping.username | samAccountName |
| ldap.ldap_options.LDAP_OPT_PROTOCOL_VERSION | 3 |
| ldap.ldap_options.LDAP_OPT_REFERRALS | 0 |
| ldap.ldap_use_anonymous_login | false |
| ldap.ldap_use_domain_prefix | false |
| ldap.ldap_use_dynamic_login | true |
| ldap.ldap_use_memberOf | false |
| ldap.ldap_use_multiple_servers | true |
| ldap.ldap_use_sasl | false |