[SOLVED] - LDAP Config removes login boxes from main screen

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

[SOLVED] - LDAP Config removes login boxes from main screen

Postby hogmoss » Wed Aug 11, 2010 12:40 am

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?
hogmoss
TestLink user
 
Posts: 2
Joined: Wed Aug 11, 2010 12:33 am

Re: LDAP Configuration removes login boxes from main screen

Postby hogmoss » Wed Aug 11, 2010 12:44 am

Sorry, version 1.8.5
hogmoss
TestLink user
 
Posts: 2
Joined: Wed Aug 11, 2010 12:33 am

Re: LDAP Configuration removes login boxes from main screen

Postby kam2012 » Thu Feb 16, 2012 7:49 am

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
kam2012
Advanced user
 
Posts: 27
Joined: Mon Feb 13, 2012 9:55 pm

Re: LDAP Configuration removes login boxes from main screen

Postby kam2012 » Wed Feb 22, 2012 7:07 am

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
kam2012
Advanced user
 
Posts: 27
Joined: Mon Feb 13, 2012 9:55 pm

Re: [SOLVED] - LDAP Config removes login boxes from main scr

Postby kam2012 » Mon Jul 02, 2012 12:55 pm

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
kam2012
Advanced user
 
Posts: 27
Joined: Mon Feb 13, 2012 9:55 pm

Re: [SOLVED] - LDAP Config removes login boxes from main scr

Postby GunnarD » Tue Jul 03, 2012 8:57 am

Which distribution of Linux are you using?
GunnarD
 

Re: [SOLVED] - LDAP Config removes login boxes from main scr

Postby kam2012 » Mon Jul 09, 2012 9:20 am

I am using Red Hat Linux 5.3
kam2012
Advanced user
 
Posts: 27
Joined: Mon Feb 13, 2012 9:55 pm

Re: [SOLVED] - LDAP Config removes login boxes from main scr

Postby GunnarD » Mon Jul 09, 2012 10:13 am

Then use yum to install php-ldap and restart your webserver

As root:

yum install php-ldap
/etc/init.d/httpd restart
GunnarD
 


Return to Installation and configuration



Who is online

Users browsing this forum: Google [Bot] and 4 guests