When I configure LDAP in the custom_config.inc the log in boxes on the main screen disappear making it impossible to log in to the site? Here are my parameters:
$tlCfg->authentication['method'] = 'LDAP';
/** LDAP authentication credentials*/
$tlCfg->authentication['ldap_server'] = 'ldap://mycomp.pnl.gov';
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn'] = 'OU=Test,OU=User,DC=pnl,DC=gov';
$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'] = 'user@pnl.gov'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd'] = 'password'; // Left empty for anonymous LDAP binding
Is there something else that needs configured?
[SOLVED] - LDAP Config removes login boxes from main screen
Moderators: Amaradana, TurboPT, TL Developers
Re: LDAP Configuration removes login boxes from main screen
Sorry, version 1.8.5
Re: LDAP Configuration removes login boxes from main screen
I am also facing similar problem on Testlink version 1.9.
Please let me know if you have any solution to this problem.
Thanks in advance.
Regards,
Kamlesh
Please let me know if you have any solution to this problem.
Thanks in advance.
Regards,
Kamlesh
Re: LDAP Configuration removes login boxes from main screen
I got the solution of this problem, LDAP module for php was not installed on the server.
1. Set php path in env variable
2. Uncomment following line in php.ini
extension=php_ldap.dll
3. Restart the server
1. Set php path in env variable
2. Uncomment following line in php.ini
extension=php_ldap.dll
3. Restart the server
Re: [SOLVED] - LDAP Config removes login boxes from main scr
I am doing LDAP setting on Linux box and facing similar problem ie Login boxes removed from login screen.
I suspect this issue is because of LDAP PHP module is not enabled on Linux but I don't know how to do it.
Can anyone help me resolve this issue?
Thanks in advance.
Regards,
Kamlesh
I suspect this issue is because of LDAP PHP module is not enabled on Linux but I don't know how to do it.
Can anyone help me resolve this issue?
Thanks in advance.
Regards,
Kamlesh
Re: [SOLVED] - LDAP Config removes login boxes from main scr
Which distribution of Linux are you using?
Re: [SOLVED] - LDAP Config removes login boxes from main scr
I am using Red Hat Linux 5.3
Re: [SOLVED] - LDAP Config removes login boxes from main scr
Then use yum to install php-ldap and restart your webserver
As root:
yum install php-ldap
/etc/init.d/httpd restart
As root:
yum install php-ldap
/etc/init.d/httpd restart