Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IIS security issue

Status
Not open for further replies.

TonyKhela

Technical User
Joined
May 7, 2002
Messages
157
Location
GB
I run the code below, on two different IIS servers and get different results.

IIS_Server1 gives me :
LOGON_USER: DOMAIN1\tkhela
AUTH_USER: DOMAIN1\tkhela
REMOTE_USER: DOMAIN1\tkhela
UNMAPPED_REMOTE_USER: DOMAIN1\tkhela

IIS_Server2 gives me:
LOGON_USER:
AUTH_USER:
REMOTE_USER:
UNMAPPED_REMOTE_USER:

The IIS security is setup with 'Allow Anonymous Access' and 'Windows NT Challenge/Response'.

Can anyone help?
TK


The ASP code
<html>

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Windows Logon</title>
<link rel="stylesheet" type="text/css" href="_styles/default.css">
</head>

<body>

<p>&nbsp;</p>
<blockquote>

<p><b>LOGON_USER: <%=Request.ServerVariables("LOGON_USER")%></b><br>
<b>AUTH_USER: <%=Request.ServerVariables("AUTH_USER")%></b><br>
<b>REMOTE_USER: <%=Request.ServerVariables("REMOTE_USER")%></b><br>
<b>UNMAPPED_REMOTE_USER: <%=Request.ServerVariables("UNMAPPED_REMOTE_USER")%></b><br>
</p>
<p>Please copy and paste the above
<a href="mailto:me@tkhela.me.uk?subject=Logon ID test results">in an
email addressed to me</a>.</p>

</blockquote>

</body>

</html>
 
anonymous access doesn't require authentication so doesn't get any user info.



Chris.

Indifference will be the downfall of mankind, but who cares?
A website that proves the cobblers kids adage.
Nightclub counting systems

So long, and thanks for all the fish.
 
But both IIS servers are setup the same.
Therefore my confusion!
rgds
TK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top