Apache, LDAP and PHP_AUTH_USER

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
mobarger
TestLink user
Posts: 1
Joined: Fri Nov 02, 2012 7:40 pm
Location: upstate NY

Apache, LDAP and PHP_AUTH_USER

Post by mobarger »

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.
areeda
TestLink user
Posts: 5
Joined: Thu Nov 18, 2010 5:36 am

Re: Apache, LDAP and PHP_AUTH_USER

Post by areeda »

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
Post Reply