Hi!!
I have problems with ldap configuration in my Feng Office. I configured ldap.config.php witch this parameters:
<?php
/**
* ldap.config.example.php is sample configuration file for ldap authentication.
* Rename it in ldap.config.php and change the values acconrding to your env.
*
* @author Luca Corbo <luca.corbo@2bopen.org>
*/
// The configuration array:
$config_ldap = array (
'binddn' => 'cn=admin,dc=dd,dc=es',
'bindpw' => 'mypassword',
'basedn' => 'ou=People,dc=dd,dc=es',
'host' => 'localhost',
'uid' => 'uid' //Change in according with your settings to match the userid entry
'starttls' => false,
'password_encoding'=>'MD5',
'port' => 389,
'version' => 3,
);
return true;
?>
php5-ldap, php5-mysql are install.
And I entry on my website and I introduce de user name and password, feng office said me "user or password is not correct". The location of the people information is in ou=People, and the variable for there id is uid. I think it's all correctly but I have problem to connect.
Another things it's when active ldap.config.php I can't entry with user admin... it's very strange.
Thanks for help me and sorry with my bad english