LDAP woes and logging

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
josh
TestLink user
Posts: 2
Joined: Wed Aug 12, 2009 1:23 pm

LDAP woes and logging

Post by josh »

I'm tearing my hair out here, my ldap config:
$tlCfg->authentication['method'] = 'LDAP';

/** LDAP authentication credentials */
$tlCfg->authentication['ldap_server'] = 'mimas.greekattic.local';
#$tlCfg->authentication['ldap_port'] = '389';
$tlCfg->authentication['ldap_port'] = '3269';
$tlCfg->authentication['ldap_version'] = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn'] = 'OU=SBSUsers,OU=Users,OU=MyBusiness,DC=greekattic,DC=local';
$tlCfg->authentication['ldap_organization'] = '(objectclass=*)'; // e.g. '(organizationname=*Traffic)'
#$tlCfg->authentication['ldap_uid_field'] = 'uid'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_uid_field'] = 'sAMAccountName'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_bind_dn'] = 'josh@greekattic.local'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd'] = ''; // Left empty for anonymous LDAP binding


The login failes, I get only basic logging in the the logs:
[>>][4a82c11c8f672060126281][DEFAULT][/login.php][09/Aug/12 13:18:20]
[<<][4a82c11c8f672060126281][DEFAULT][/login.php][09/Aug/12 13:18:20][09/Aug/12 13:18:20][took 0.0166 secs]

and nothing in apache's error log.

What's the next step?

Thanks,
Josh.
marli
TestLink user
Posts: 8
Joined: Thu Aug 13, 2009 9:32 am

Post by marli »

I have the same problem and I don't know what to do
Why are you using port 3269?
Have you authentification in someone domain? You server witn Testlink locate in the same domain?
josh
TestLink user
Posts: 2
Joined: Wed Aug 12, 2009 1:23 pm

Post by josh »

port 369 is no better.... As I can't get debug logging out of testlink, I don't know if it's even attempted to authenticate a user let alone weather it was successful......

I see nothing in my Windows log (the LDAP server is SBS 2003 server)
cgarst
TestLink user
Posts: 5
Joined: Thu Aug 13, 2009 5:59 pm

Post by cgarst »

I'm having the same problem.

Code: Select all

/** LDAP authentication credentials */
$tlCfg->authentication['ldap_server']           = 'ldapserver';
$tlCfg->authentication['ldap_port']             = '389';
$tlCfg->authentication['ldap_version']          = '3'; // could be '2' in some cases
$tlCfg->authentication['ldap_root_dn']          = 'dc=columbia,dc=tresys,dc=com';
//$tlCfg->authentication['ldap_organization']   = '';    // e.g. '(organizationname=*Traffic)'
$tlCfg->authentication['ldap_uid_field']        = 'sAMAccountName'; // Use 'sAMAccountName' for Active Directory
$tlCfg->authentication['ldap_bind_dn']          = 'CN=binduser,CN=Service Accounts,DC=mydomain,DC=com'; // Left empty for anonymous LDAP binding
$tlCfg->authentication['ldap_bind_passwd']      = 'password'; // Left empty for anonymous LDAP binding
marli
TestLink user
Posts: 8
Joined: Thu Aug 13, 2009 9:32 am

Post by marli »

Hm...testlink have own groups of users
May be these groups should agree with groups in AD? I have no another ideas.
I have checked the connect to AD- it's Ok! But when I log on I see the message, that password or user is incorrect and I see nothings in logs about this connect
marli
TestLink user
Posts: 8
Joined: Thu Aug 13, 2009 9:32 am

Post by marli »

Can anybody help us!! :(
I saw a lot of problems like this. I have two hypothesis:
-nobody knows what does it meen
-it is sow easy problem, that nobody whant's to help us
8)
Post Reply