Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 480
  • Last Modified:

Webpage to change NT4 password

I need a webpage that a user can use to change their NT4 password.  It is for users.. must run on W2k/IIS 5.0


Username
"old" password

New password
confirm new

im just dont know how i can do this, any help would be appreciated.  

I have a seperate question open that is asking how to do this so that it can change the NT4 password and the Novell password using the same information.
0
hartnessjr
Asked:
hartnessjr
  • 2
1 Solution
 
rama_krishna580Commented:
0
 
TheBrothaULuv2H8Commented:
USE THE

IISADMPWD  utility which comes with Windows

The utility is located  systemroot%\system32\inetsrv

You can make a viritual directory on your IIS site, and modify it to go with your extranet loock.

DETAILS
==================
By default, the IIS installation creates the iisadmpwd directory in \%systemroot%\system32\inetsrv. This directory contains nine .htr (really just Active Server Pages—ASP) files that let users change their Windows NT passwords. Users must access these files as a secure resource (using HTTP over Secure Sockets Layer—HTTPS) for them to work properly. (In July 1999, Microsoft released a security bulletin about malicious users possibly using .htr files to execute arbitrary code on a server. You can find information about this risk and a patch at http://www.microsoft.com/technet/security/ bulletin/ms99-019.asp.)

Here's a list of each of the nine files and their respective functions:

Aexp.htr —Password has expired. This file forces users to change their passwords and then allows a redirect to the resource the users are attempting to access. The file first checks to see whether the users' browsers are HTTPS capable; if they aren't, it displays a password expired message and then errors out.
Aexp2.htr—User-initiated password change. When users complete the password change, this file redirects them to the resource they're attempting to access. The file uses HTTPS to post the form.
Aexp2b.htr—This file is the same as aexp2.htr, except that it also has a Domain dialog box.
Aexp3.htr—Password has expired. The file forces users to change their passwords before continuing. This file is the same as aexp.htr, except that it doesn't check whether the browsers support HTTPS.
Aexp4.htr—This file is the same as aexp2.htr, except that it doesn't use HTTPS to post the form.
Aexp4b.htr—This file is the same as aexp2b.htr, except that it doesn't use HTTPS to post the form.
Anot.htr—This file alerts users that they have xx days until password expiration, then prompts users to change passwords (if they do, the file sends the users to aexp2.htr).
Anot3.htr—This file is the same as anot.htr, except that it sends users to aexp4.htr.
Achg.htr—This file displays a message if an error occurs while the users are changing their passwords (e.g., the new password and confirmation password don't match; the new password doesn't meet the required password restrictions for your domain).
All these files are plaintext, and you can edit them to make them look cleaner or fit the feel of your intranet, extranet, or whatever they're running on. (Note: Be sure to back up the ASP files before you edit them.) Keep in mind that IIS requires the virtual directory iisadmpwd for this functionality to work. This functionality works well with both NT Challenge/Response authentication and Basic authentication, but if you use Basic authentication on an Internet-accessible server, you really should use Secure Sockets Layer (SSL).

For more information about the iisadmpwd directory and changing passwords, see the following Microsoft articles:

"How to Change Windows NT Account Passwords Using Internet Information Server (IIS) 4.0" (http://support.microsoft.com/support/kb/articles/q184/6/19.asp)
"How to Configure the IISADMPWD Pages for Different Ports" (http://support.microsoft.com/support/kb/articles/q240/6/54.asp)


0
 
hartnessjrAuthor Commented:
Thank you for your answers.. if im using novell 5.0 also would it be possible to change that accounts password using the same info boxes through vb?
0
 
TheBrothaULuv2H8Commented:
That I don't know...I've never been in a Novell enviornment.  Good luck with that one.  Glad I could help with the other.
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

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