PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Jun 06, 2020 6:32 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Mon Feb 13, 2012 2:40 pm 
Offline
Forum Contributor

Joined: Tue Jun 13, 2006 10:50 am
Posts: 237
I've seen this done with classic ASP, so I know it is possible, but I just cannot seem to get it to work with PHP. Here is the situation.

I have an application I am re-writing into PHP from classic ASP. I can do authentication through form input and ldap_bind, however I would like to somehow capture the username of the LDAP authenticated user automatically via internet explorer with no user input needed. Anonymous access is already turned off as this is an internal site for company employee use only. I'm trying to echo various $_SERVER variables (REMOTE_USER, PHP_AUTH_USER, USER_AUTH) and they are all showing up blank through IE. Here is the server setup:

Windows Server 2008 R2 64-bit
IIS v7.5
PHP 5.3.8 (Fast CGI)

I don't know where else to ask this, but I just have a feeling more support will be shown from an open-source community rather than a closed one. :wink:

Am I missing a piece to this puzzle?

*EDIT*

There were some IIS settings that needed to be tweaked. I got things working now.

http://learn.iis.net/page.aspx/785/enab ... decisions/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group