• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 831
  • Last Modified:

NTML to NTMLv2

Hi,
Our server is going to go from NTMLv1 to NTMLv2.  In my asp page I have the below code for authentication.  Will this need to be updated with NTML upgrade?

username = Request.ServerVariables("LOGON_USER")

If username = "" then
  Response.Buffer = True
  Response.Clear
  Response.Status = "401 Not Authorized"
  Response.AddHeader "WWW-Authenticate", "NTLM"
  Response.End
End If

Server: Windows server 2008 - VMware - IIS 7
Windows Authentication Enabled HTTP 401 Challenge
0
DueFrom
Asked:
DueFrom
1 Solution
 
sammySeltzerCommented:
It is still the only way to use it, - the way you are using.

Your server version handles it based on whether the hash level is ntmlv1 or ntmlv2.

And if I am not mistaken, NTMlv2 has been around since server 2000.
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
I've requested that this question be closed as follows:

Accepted answer: 500 points for sammySeltzer's comment http:/Q_27414387.html#37032640

for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 
DueFromAuthor Commented:
Would like to accept sammyseltzer solution with an A grade.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now