LDAP Login

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
jackey
TestLink user
Posts: 13
Joined: Wed Feb 04, 2009 7:30 pm

LDAP Login

Post by jackey »

Does 1.8 create an external account automatically when user login first tim with his/her AD's username and password?
Timbaland
TestLink user
Posts: 2
Joined: Wed Feb 25, 2009 5:29 pm
Location: California, USA
Contact:

Post by Timbaland »

Hi Jackey, the whole point behind using TL and LDAP is so that you don't need to create additional users, but rather use existing ones with their existing Active Directory passwords.

I haven't migrated to 1.8 yet, but from experience with TL 1.7, all you need to do is configure LDAP in the config.inc file and create the users in TL that will map to the desired users in AD.
jackey
TestLink user
Posts: 13
Joined: Wed Feb 04, 2009 7:30 pm

Post by jackey »

Hi Timbaland,

I also tried 1.7.5 and does not work. So I hacked testlink to make it support both MD5 and LDAP authentication. Here is what I did for make LDAP working on 1.7.5

1. Login with Admin (MD5 from DB)
2. Create LDAP user account, e.g. david.rom
3. Then user can login with LDAP username and password

I found out that 1.7.4 and 1.7.5 both have issues to create account when user login first time via LDAP authentication.

I am trying to fix it myself, but i am too lazy to dig the code. Do you know where i can find out this part of code to be hacked?
Locked