Apache, LDAP and PHP_AUTH_USER

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Apache, LDAP and PHP_AUTH_USER

Postby mobarger » Fri Nov 02, 2012 7:50 pm

Hi all - using Apache to control access to site using LDAP. I want to populate the form in login.php and firstlogin.php with info from AD including their username, first and last names. However I am not very familiar with PHP. :(
How can I do this? At the very least I want to grab PHP_AUTH_USER from the header and have that populate the login field in both forms. I can get it to work if I create a new php page but not within the framework of Testlink.
Thanks.
mobarger
TestLink user
 
Posts: 1
Joined: Fri Nov 02, 2012 7:40 pm
Location: upstate NY

Re: Apache, LDAP and PHP_AUTH_USER

Postby areeda » Mon Nov 05, 2012 4:24 pm

I'm just beginning to investigate alternative authentications, so please take this as discussion not a suggestion.

Have you tried using the LDAP method of authentication described in the User's manual?
Is your LDAP server tied to Kerberos and do you have mod_kerb enabled? I'm wondering because if that works it could be a good alternative for me.

Please keep us posted on your success.

Joe
areeda
TestLink user
 
Posts: 5
Joined: Thu Nov 18, 2010 5:36 am


Return to Installation and configuration



Who is online

Users browsing this forum: No registered users and 2 guests