It works without SSL. However, there was one error I had to correct before it worked. It was 'uid' = 'admin' in the ldap.config.php file. I changed it to 'uid' = 'uid' and also had to change the port to 389 (non-ssl port) and 'password_encoding'=>'MD5',.
$config_ldap = array (
'binddn' => 'cn=Manager,dc=example, dc=com',
'bindpw' => 'passwd',
'basedn' => 'dc=example,dc=com',
'host' => 'localhost',
'starttls' => false,
'password_encoding'=>'MD5',
'port' => 389,
'version' => 3,
'uid' => 'uid' //Change in according with your settings to match the userid entry
);
But this did not work when I use ssl (after changing the port back to 636 and running openLDAP with ssl)
Also, when I run it under non-ssl mode, it authenticates the user on my openLDAP server, but when I create a new user it creates it in my MySQl database. I am not sure if this is because I started fengoffice with mysql and then shifted to LDAP.
Thanks in advance