LDAP

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
marli
TestLink user
Posts: 8
Joined: Thu Aug 13, 2009 9:32 am

LDAP

Post by marli »

I want to configure ldap authentification

$tlCfg->authentication['method'] = 'LDAP';
$tlCfg->authentication['ldap_server'] = 'serv.domain.com.ru';
$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_version'] = '3';
$tlCfg->authentication['ldap_root_dn'] = 'DC=domain,DC=com,DC=ru';
$tlCfg->authentication['ldap_organization'] = ''; // e.g. '(organizationname=*Traffic)' */
$tlCfg->authentication['ldap_uid_field'] = 'sAMAccountName';
$tlCfg->authentication['ldap_bind_dn'] = 'CN=user,OU=users,OU=users,DC=domain,DC=com,DC=ru';
$tlCfg->authentication['ldap_bind_passwd'] = 'password';

I can't log in
What's wrong with it?
Help please!!!
marli
TestLink user
Posts: 8
Joined: Thu Aug 13, 2009 9:32 am

Post by marli »

Can anybody help? :(
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

What error you receive in log?
Are you aware double "OU=users" in DN?
marli
TestLink user
Posts: 8
Joined: Thu Aug 13, 2009 9:32 am

Post by marli »

I have nothing in my log
I look at log of my AD and it seem's Ok, the connect is Ok

>Are you aware double "OU=users" in DN?
Mmm, it's a path in AD

May be the groups in Ad should agree with groups in TestLink, like
leader,guest, etc. ?
PrakashC
TestLink user
Posts: 5
Joined: Fri Sep 25, 2009 9:47 am

LDAP

Post by PrakashC »

Even I am facing a same issue. I amnot able to login with LDAP configuration.

Please help!!!
Tom
TestLink user
Posts: 5
Joined: Tue Feb 24, 2009 9:43 pm

Post by Tom »

Is your AD configured to allow anonymous bind?
Just thinking loud, if anonymous works then it might be a user access level issue?

Tools to use is an LDAP browser
Connect to your AD through it (tick Anonymous bind) to see if the user can browse the directory and view other users.
Locked