Testlink stop working when configuring it to use LDAP

Posted by YuriAlbuquerque on Server Fault See other posts from Server Fault or by YuriAlbuquerque
Published on 2012-09-21T20:59:54Z Indexed on 2012/09/21 21:42 UTC
Read the original article Hit count: 508

Filed under:
|
|

I have a TestLink webservice running on a server, and OpenLDAP running on other server. There are no firewall problems between them (I managed to configure Redmine, on the same server as TestLink, to use LDAP authentication).

But whenever I place the configuration for LDAP in TestLink, TestLink stops working. I have no clue on what is happening.

This is where I define LDAP's settings on custom_config.inc.php:

$tlCfg->authentication['method'] = 'LDAP';
$tlCfg->authentication['ldap_server'] = 'serverip';
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '2';
$tlCfg->authentication['ldap_root_dn'] = 'dc=mycompany,dc=com,dc=br';
$tlCfg->ldap_organization'] = '';
$tlCfg->authentication['ldap_uid_field'] = 'uid';
$tlCfg->authentication['ldap_bind_dn'] = 'myuser'; //Not actual login name and password, for obvious reasons
$tlCfg->authentication['ldap_bind_passwd'] = 'mypassword';
$tlCfg->authentication['ldap_tls'] = false;
$tlCfg->user_self_signup = true;

I'm certain that OpenLDAP is 2.X. My TestLink version is 1.9.3

What could I be doing wrong?

© Server Fault or respective owner

Related posts about centos

Related posts about ldap