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

LDAP Login

Postby jackey » Tue Feb 24, 2009 10:13 pm

Does 1.8 create an external account automatically when user login first tim with his/her AD's username and password?
jackey
TestLink user
 
Posts: 13
Joined: Wed Feb 04, 2009 7:30 pm

Postby Timbaland » Wed Feb 25, 2009 5:37 pm

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.
Timbaland
TestLink user
 
Posts: 2
Joined: Wed Feb 25, 2009 5:29 pm
Location: California, USA

Postby jackey » Thu Feb 26, 2009 3:07 pm

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


Return to TestLink 1.8 (OBSOLETE => EOL)[LOCKED]



Who is online

Users browsing this forum: No registered users and 1 guest