LDAP Login
Moderators: Amaradana, TurboPT, TL Developers
LDAP Login
Does 1.8 create an external account automatically when user login first tim with his/her AD's username and password?
-
- TestLink user
- Posts: 2
- Joined: Wed Feb 25, 2009 5:29 pm
- Location: California, USA
- Contact:
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.
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.
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?
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?