Configuring LDAP in Testlink1.9.7 does not show login page

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
ganesanvijay
Advanced user
Posts: 15
Joined: Thu Sep 27, 2012 10:00 pm

Configuring LDAP in Testlink1.9.7 does not show login page

Post by ganesanvijay »

Hello,
I have upgraded our Testlink from version 1.9.4 to 1.9.7. I configured LDAP for Authentication. Once I configured this, the Testlink login screen is not loaded in the broswer as shown below.
Image.
The configuration done to the "config.inc.php" is below

Code: Select all

$tlCfg->authentication['method'] = 'LDAP';

/** LDAP authentication credentials */
$tlCfg->authentication['ldap_server'] = 'servername';
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn'] = 'ou=User, dc=name,dc=local';
$tlCfg->authentication['ldap_organization']	= '(objectClass=person)';    // e.g. '(organizationname=*Traffic)'
$tlCfg->authentication['ldap_uid_field'] = 'sAMAccountName'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_bind_dn'] = 'name\ldap'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd'] = ' '; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_tls'] = false; // true -> use tls
Note: This same configuration worked for Testlink version 1.9.4 but now it gives a problem. Kindly let me know if I need to change any other file for enabling LDAP authentication.

Thanks in Adavance

Regards
ganesanvijay
Advanced user
Posts: 15
Joined: Thu Sep 27, 2012 10:00 pm

Re: Configuring LDAP in Testlink1.9.7 does not show login pa

Post by ganesanvijay »

Please help.

Thanks
jvasa2016
TestLink user
Posts: 1
Joined: Sun Jan 03, 2016 7:25 pm

Re: Configuring LDAP in Testlink1.9.7 does not show login pa

Post by jvasa2016 »

I have the same problem when I have upgraded from 1.9.3 to 1.9.14
Could you help in resolving this issue.
ganesanvijay
Advanced user
Posts: 15
Joined: Thu Sep 27, 2012 10:00 pm

Re: Configuring LDAP in Testlink1.9.7 does not show login pa

Post by ganesanvijay »

Hi,
I did not configure it as LDAP but as
$tlCfg->authentication['method'] = 'MD5';
This worked without issues.

regards
Post Reply