I need help.
Ineed to be able to authenticate my OpenGoo users with my (Mac OS X) LDAP Server. I followed the instructions given by a user in the post "
http://forums.opengoo.org/index.php?topic=2297.0" but I can't get this to work...
Here is what I did so far:
- Downloaded and extracted the patch in my OpenGoo Root directory.
- I placed every file in the patch into the right folders.
- Downloaded PEAR Net_LDAP2 v2.0.6.
- Extracted the content of Net_LDAP2 to the following directories:
* LDAP2.php --> opengoo_root/library/PEAR/
* LDAP2 folder --> opengoo_root/library/PEAR/Net
- Configured opengoo_root/config/ldap.config.php with the following settings:
// The configuration array:
$config_ldap = array (
'basedn' => 'cn=users,dc=serveur1,dc=dct,dc=com',
'starttls' => false,
'port' => 389,
'version' => 3,
'binddn' => '',
'bindpw' => '',
'host' => 'serveur1.dct.com',
'uid' => 'uid' //Change in according with your settings to match the userid entry
);
I was able to connect to my LDAP tree using those settings in ldapbrowser so I think those settings are correct.
*In OpenGoo, I created a user whose id is the thing as its uid in the LDAP tree.
* Restarted my web server.
Now, when I login with any username (local to OpenGoo or LDAP based), I only get a blank white page. And when I try to login with a username that does not exist in OpenGoo nor in LDAP, I get the "Failed to log you in" error message.
What am I doing wrong?
I can I debug this? I don't get any errors in LDAP.
I really hope someone can help me with this... OpenGoo seems to be a great product but we really need a solution that can bind to our LDAP server.