I am trying to configure LDAP auth, but I failed so far.
I changed config in config/ldap.php, adapted config/constants_ldap.php but no luck.
I am trying to authenticate to a Zimbra LDAP server.
The auth strings can be checked here:
http://www.zimbra.com/forums/administra ... post176605
My ldap.conf
Code: Select all
<?php
$PMF_LDAP["ldap_server"] = 'localhost';
$PMF_LDAP["ldap_port"] = '389';
$PMF_LDAP["ldap_user"] = 'uid=zimbra,cn=admins,cn=zimbra';
$PMF_LDAP["ldap_password"] = 'zimbraldappass';
$PMF_LDAP["ldap_base"] = 'ou=people,dc=mydomain,dc=mytld';
Code: Select all
$PMF_LDAP['ldap_mapping'] = array (
'name' => 'cn',
'username' => 'uid',
'mail' => 'mail');
Code: Select all
phpMyFAQ warning [2]: ldap_bind() [function.ldap-bind]: Unable to bind to server: Invalid DN syntax in Ldap.php on line 104
What can be wrong?
Thanks
P.S. phpMyFAQ 2.6.4