December 20, 2000 07:20 PM

Changing Passwords over the Web

Rating: (0)
Windows IT Pro
InstantDoc ID #16225
ADSI helps you give users an easy-to-use Web interface for changing their passwords
Locally logged-on users can easily change their password through the Windows interface. When you're using Integrated Windows, Windows NT Challenge/Response, or Digest authentication, a user must log on to a system that supports Microsoft Internet Explorer (IE) and the authentication method. The user can use standard Windows utilities to change a password directly through the Windows interface during the current logon session. Users who are disconnected from the network part of the time can change their passwords during their next logon session.

How...

ARTICLE TOOLS

You must be a paid Professional Member to access this entire article.

Already a Professional Member? Please log in now:

NOT A PROFESSIONAL MEMBER? YOU CHOOSE:

Monthly or Annual

Professional Membership

VIP Membership

Compare Member Benefits

Add a Comment

This works great on my Windows 2000 server with SP2 but as soon as I put SP3 and the critical updates on my server I now get an error 0x8007052F. I can't find any info on this. Would you have any advice?

Jean Loebelenz 4/9/2003 10:57:54 AM


I can't get this error out my page. Can someone help me?

Connect string: LDAP://CN=test,CN=users, DC=*my-server-name*, DC=Com
error '8007202b'

Bart11/4/2002 3:46:15 PM


There is an error in the AD part of the changepassword1.asp file. The line that looks like this:

sConnectString = "LDAP://CN=" &
sUser & ",OU=users, " &
"DC=mycompany, DC=Com"

should look like this:

sConnectString = "LDAP://CN=" &
sUser & ",CN=Users, " &
"DC=mycompany, DC=Com"

since the Users folder in AD is a container and not an OU. Then it will work properly.

Tracy Karjala 2/26/2002 6:41:27 AM


The article lists in TABLE 1: User Properties You Can Set or Change with the IADsUser Interface
However some of the properties are read-only (eg LastLogin, LastLogoff) and can NOT be changed.

The article was reproduced under license by MSDN,but the MSDN editorial team has no ability to make changes to this copyrighted material.
This can confuse many developers.

Michael Freidgeim 1/6/2002 2:54:52 PM


Great article. Very helpful. I have one question:
If the user enters a password that's too short, how do I set it up so that they get a more helpful error message?

Henry Heerschap 9/26/2001 10:00:42 AM


I get the following error (after I changed for my computers settings):

Active Directory (0x80070005)
General access denied error

Any ideas?

Jeff9/13/2001 9:52:06 AM


I havent been able to get this code work on W2K too, I tried almost anything but the only thing I`ve been able to get is "Internal server error"...

Aleksandar Z. 6/26/2001 1:33:22 AM


Has anyone been able to get this to work on a Win2k server with Active Directory enabled? My problem is with the sConnectString statment, or better yet the ldap statment that follows it.



Any help will be much appreciated
Thanks,


Michael Brown 6/12/2001 10:51:24 AM


If the specified user id was not found then it gives an ASP error.how to query SAM to find whether a user exists or not

chndrabhanu 4/21/2001 2:48:53 AM


I keep getting Event Id 627, Change Password Attempt failures on my domain controller, by the Anonymous account, when trying to change passwords using these scripts. I als have tried the IISADMPWD scripts that came with iis. CHanging the accounts local to the web server, work fine. The virtual website has been tried as NTLM and Basic Authentication. I've set ACL's on the .asp files to NO Access for anonymous. Any ideas?

Jim Wilson 4/4/2001 2:24:18 PM


You must log on before posting a comment.

Are you a new visitor? Register Here

windows server 2008 login scripts

I have 2 win2k8 servers one pdc and bdc. The domain is exampledom.com They are connected to 2 iscsi luns which replicate each other. We are running ac...222-96118

advertisement

GOOGLE LINKS
SPONSORED LINKS
FEATURED LINKS

White Papers

Your remote offices contain valuable electronic data – are they adequately protected? Learn how proven technologies can reliably and cost-effectively back up a branch office from a central location, in real time, to disk or tape, and even utilize existing backup solutions.

Downloads

PacketTrap IT is a comprehensive and affordable network management and application monitoring solution that solves problems associated with bandwidth, network and application performance, and connectivity. Gain insight into your network - try PacketTrapIT free for 21 days!

Web Seminars

IT administrators have to solve a myriad of problems. This web seminar outlines the ten most common systems management pains - including managing highly distributed systems and dealing with data theft/loss – and the best practices to address each.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.