954,315 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

IIS/ Server variable problem

My company has a IIS server which is hosting a PHP intranet application. The IIS basically authenticates the user by using Windows Integrated Authentication so once the user is logged on his/her machine he doesnt have to provide credentials again. One of the employees is using Remote Desktop to logon to his Office workstation and AUTH_USER and REMOTE_USER server variables are returning the computer name instead of his Windows Login ID. I'm totally confused about this one. I will highly appreciate if anyone can tell what's wrong here.

phpdev13
Newbie Poster
1 post since May 2010
Reputation Points: 10
Solved Threads: 0
 

Take a look at this article:
http://www.codeproject.com/kb/asp/request_server_variables.aspx

AUTH_USER
The name of the user as it is derived from the authorization header sent by the client, before the user name is mapped to a Windows account. This variable is no different from REMOTE_USER. If you have an authentication filter installed on your Web server that maps incoming users to accounts, use LOGON_USER to view the mapped user name.

LOGON_USERThe Windows account that the user is impersonating while connected to your Web server. Use REMOTE_USER or AUTH_USER to view the raw user name that is contained in the request header. The only time LOGON_USER holds a different value than these other variables is if you have an authentication filter installed.

sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: